Search Issue Tracker
Fixed in 5.3.6
Votes
1
Found in
5.3.4p6
Issue ID
805240
Regression
Yes
[iOS] App hangs if OnApplicationPause() is called before another OnApplicationPause() instance has finished running
Steps to reproduce:
1) Open the attached project.
2) Build the project for iOS.
3) On the iOS device, have some kind of an app, which can display 'Alert' type notifications (for example Facebook messenger, Slack etc.).
4) On the device go to Settings > Notifications > Select the app you will be using > Set the notification type to 'Alerts'.
5) Deploy the project to the device via Xcode.
6) Run the app.
- There is a rotating cube in the scene along with two GUI buttons, which are used to either enable or disable a 3 second delay during the execution of OnApplicationPause().
7) Press the GUI button 'Delayed Pause' - this enables the 3 second delay.
8) Make a notification show up on the device (send a Facebook/Slack message to it).
9) Dismiss the alert immediately.
- When the application is resumed after dismissing the alarm, the cube rotates for a brief moment after the 3 second delay ends, then the whole app hangs. If the alarm is dismissed after the delay ends, the app proceeds to run normally. If the 'Immediate Pause' button is pressed instead of delayed, the app resumes normally.
- If the app is paused by double-clicking the home button and then resumed, the issue does not reproduce as well.
Reproduced on:
5.5.0a1, 5.4.0b22, 5.3.4p6
Did not reproduce:
5.2.4f1
Devices:
iPhone 6, iOS 9.2
iPad Air, iOS 8.1.1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
- Inspector Asset Bundle section has no indication for Variants, AssetBundle is written without a space, and Variant dropdown menu is available without setting the Asset Bundle first
- Graphics.DrawProceduralIndirect and Graphics.DrawProceduralNow silently dropped on DX12
Add comment