Search Issue Tracker
Fixed in 5.6.0
Votes
25
Found in
5.5.0p2
Issue ID
862754
Regression
Yes
[iOS] Crash in UnityRepaint() when resuming the app with different landscape orientation if running at 60 FPS on iOS 10
When the orientation of the device is changed after the phone has been locked and before resuming the app, a crash occurs in UnityRepaint() if the app is running @ 60 FPS.
Steps to reproduce:
1) Open the attached project.
2) Build for iOS.
3) Run on a device.
4) Lock the screen.
5) Flip the device by 180 degrees.
6) Resume the app.
A crash occurs in UnityRepaint(); the view is rotated incorrectly and cropped. This does not occur if the 'Set 30 fps' button is pressed before locking the screen.
Note: the crash occurs in main() on Unity versions prior to 5.5.
Reproduced on:
5.6.0b2, 5.5.0p3, 5.4.4f1
Did not reproduce:
5.2.4f1
Devices:
iPhone 7 iOS 10.2 - repro
iPhone 6 iOS 10.0.2 - repro
iPhone 7 iOS 10.0.2 - no repro
iPhone 5S iOS 9.1 - no repro
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
GuyTidhar
Jan 12, 2017 09:52
Any news regarding this crash?
While we did wrap around this bug and at least reduced the reoccurrence of it greatly, we do get some UnityRepaint() crashes which might or might not have to do with this bug.
Jonu
Jan 09, 2017 14:18
Happens also on 5.4.3p3