Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0a1
Issue ID
600355
Regression
No
Name of EditorApplication.isPlayingOrWillChangePlaymode is inconsistent with its behaviour
Normally, EditorApplication.isPlayingOrWillChangePlaymode implies that if EditorApplication.isPlaying = true, EditorApplication.isPlayingOrWillChangePlaymode should also be equal to true. However, when exiting play mode, EditorApplication.isPlayingOrWillChangePlaymode is set to false and EditorApplication.isPlaying is set to true.
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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
JohnHacker
Jan 03, 2017 10:50
I hope this is intended behavior. Without this there wouldn't be a way to know when the editor is going to change from play to stop. If someone wants the behavior the OP wants they can just use (UnityEditor.EditorApplication.isPlaying || UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode)
TMPxyz
Oct 20, 2015 03:52
This issue still exists in Unity5.