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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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.