Search Issue Tracker
Fixed in 5.2.0
Votes
0
Found in
5.1.0p1
Issue ID
704902
Regression
Yes
OnApplicationPause doesn’t get called when switching from Editor to another application
In Unity 4, OnApplicationPause gets called with the argument pauseStatus=true when switching from Editor to another application.
On the other hand, in Unity 5, OnApplicationPause doesn’t get called when switching from Editor. It gets called only when switching back to Editor, with the argument pauseStatus=false.
Comments (7)
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
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
waken
Aug 29, 2016 03:00
Unity 5.4.0f3 OSX still exists
Andrey-Postelzhuk
Mar 24, 2016 09:08
Found a solution for me. It was 'run in background' checkbox enabled. http://answers.unity3d.com/questions/9899/how-do-you-keep-your-game-running-even-when-you-sw.html
Andrey-Postelzhuk
Mar 24, 2016 08:56
Unity 5.3.4 OSX still here
ZDestructor
Aug 04, 2015 00:03
5.1.2, still here..
BenouKat
Jul 15, 2015 16:06
Still here on 5.1.1p3
Chris-HG
Jun 30, 2015 18:33
I take that back. Behavior is only observed as the original issue states. I did not realize that player settings control the editor as well.
Chris-HG
Jun 30, 2015 18:25
I am noticing this on OSX 5.1.1f1 as well. I don't even get a call when returning to Editor. Same effect if I press the pause button in editor, nothing.