Search Issue Tracker
By Design
Votes
1
Found in
4.3.1f1
Issue ID
588579
Regression
No
OnApplicationPause(false) is called before Start() on WP8
Initial launch of application calls OnApplicationPause(false) even though it could not have been on pause.
Steps to reproduce:
1. Create a script which prints out log messages on Start() and OnApplicationPause(bool)
2. Attach created script to any gameObject of project initial scene
3. Build and run it on WP8 device
4. See player log - OnApplicationPause(false) message will be logged before Start() message.
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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
shubhamswaraj2021
Aug 18, 2020 11:49
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
adamt
Jan 14, 2015 18:56
If this is by design, you might want to make a note of it in http://docs.unity3d.com/Manual/ExecutionOrder.html. The flowchart on that page makes it seem as though OnApplicationPause will occur very late in the lifecycle.
In practice, OnApplicationPause(false) fires when I first start my game (after Awake, but before Start).