Search Issue Tracker
Duplicate
Votes
0
Found in
4.3.3f1
Issue ID
593691
Regression
No
[ExecuteInEditMode], OnDisable is called twice on startup
Duplicate of case 557206
Steps to reproduce:
- Load the scene "test"
- Press play
- Observe the log messages.
There are two log messages which are both printed from OnDisable, demonstrating that it is called twice (both time when Application.isPlaying == false).
Also, the second message shows that the static string "asd" is set from the static initializer, so the game state has been cleared already.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #557206