Search Issue Tracker
Fixed in 4.5.3
Votes
12
Found in
4.3.4f1
Issue ID
598467
Regression
Yes
On Android, OnApplicationFocus(false) is not called before an app enters the background
With Unity 4.2.2 the onApplicationFocus with a value "false" was called when the application was sent to the background and then once the app was returned from the background, the onApplicationFocus with a value "true" was called. However since Unity 4.3 both calls are made after the application is returned from the background.
Reproduced on:
Google Nexus 5 with Android 4.4.2
Reproduced with:
Unity Version 4.3.0f4 (e01000627d60)
Unity Version 4.3.4f1 (e444f76e01cd)
According to the user, this issue is reproducible on the following devices:
- Nexus 7, 32 GB, Android 4.4.2
- Galaxy S III, Android 4.3
- Nexus 5, Android 4.4.2
- Galaxy S III LTE (9305), AromaRom with Android 4.3
- Galaxy S III LTE (9305), Android 4.3
- Galaxy S II, Android 4.1.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
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
- [Linux] Player crash on Shader::SRPBatcherInfoSetup when opening player build
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
eezSZI
May 19, 2014 12:21
Seeing the same here.
pravusjif
Apr 28, 2014 08:29
I had this same problem on a Motorola Razr HD (XT925) with android 4.1.2 !
franciscotufro
Apr 27, 2014 01:01
I can add LG G2 with Android 4.2.2 having the same issue.