Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.4.2f1
Issue ID
843103
Regression
No
[iOS] OnApplicationPause() gets called twice in a row with the same pauseStatus
When quickly minimizing and restoring an app, OnApplicationPause() gets called twice in a row, followed by two resume calls.
Steps to reproduce:
1) Open the latest attached project.
2) Build for iOS.
3) Run on a device via Xcode.
4) Press the lock button on the device.
5) Quickly unlock the device and return to app.
- The issue might show up already (background turns red in the app), if not, proceed.
6) Minimize the app with the 'Home' button.
7) Tap the app icon to bring it back.
- Repeat 4-7 until the background in the app turns red.
In Xcode's console, notice the 'PAUSE CALLED TWICE' messages, they indicate that OnApplicationPause() gets called twice in a row and has the same pauseStatus (true).
Reproduced on:
5.5.0b8, 5.4.2f1, 5.3.6p7, 5.2.4f1
Devices tested:
iPhone 7 iOS 10.1
iPhone SE iOS 9.3
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
wechat_os_Qy0xl-okdVOC72OxcomEpDlf4
Mar 26, 2019 16:46
Please backport to 5.6.6
hzn403
May 28, 2017 04:45
Please backport to 5.5.3
pako
Nov 21, 2016 15:06
Please disregard my previous comment. No problem on Android and in the Editor.
pako
Nov 17, 2016 19:18
Same issue on Android and in the Editor.