Search Issue Tracker

Fixed in Unity 2017.1



Found in


Issue ID




EditorApplication.playmodeStateChanged is called when scrolling through the Profiler Window

Editor - Other



Priority: 2Necessary for shipping a final release


Severity: 3Secondary functionality broken

1. Open the Scene scene and run it.
2. Open the Profiler Window, enable it and Pause the game. Notice that console has a log of playmodeStateChanged event firing.
3. Now scroll through frames in the Profiler Window. Notice how console is spammed with the same messages from the playmodeStateChanged handler in Script.cs.

This behavior doesn't let the user to differentiate between real "pause" event and fake ones making editor scripting harder.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.