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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.