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.
Comments (2)
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
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.