Search Issue Tracker
Won't Fix
Votes
0
Found in
4.3.0a4
Issue ID
557206
Regression
No
[ExecuteInEditMode] gets superfluous calls to OnEnable/OnDisable when entering / exiting play mode
1) What happened
[ExecuteInEditMode] gets superfluous calls to OnEnable/OnDisable when entering / exiting play mode
2) How can we reproduce it using the example you attached.
Open bugdemo.unity.
Look at the console. this tracks calls to OnEnable / OnDisable.
When entering play mode the script should get disabled, then enabled - but this happens twice.
The resulting error message from the RenderTexture system is an example of how this bug makes it very hard to work with system resources because of this bug.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Add comment