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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment