Search Issue Tracker

Fixed

Fixed in 2021.3.32f1, 2022.3.12f1, 2023.1.20f1, 2023.2.0b15, 2023.3.0a7

Votes

73

Found in

2020.3.37f1

2021.3.6f1

2022.1.10f1

2022.2.0b2

2023.1.0a4

2023.2.0a1

Issue ID

UUM-9480

Regression

No

[iOS] Rendering freezes when the orientation is changed

--

-

How to reproduce:
1. Open the attached project "orientationChange.zip"
2. Build and Run the Project on an iOS device
3. In the Build, repeatedly press the "Portrait" button

Expected result: The orientation keeps changing with no freezing
Actual result: After a couple of presses, the rendering freezes

Reproducible with: 2020.3.37f1, 2021.3.6f1, 2022.1.10f1, 2022.2.0b2, 2023.1.0a4

Reproduced on:
- iPad Air (4th Generation) (iOS 15.2.1)

Did not reproduce on:
- iPhone 12 mini (iOS 14.1)
- iPhone 13 (iOS 15.0)
- iPhone 12 (iOS 14.1)
- iPad Pro 12.9" (iOS 13.4.1)
- iPad (9th generation) (iOS 15.0)

Notes:
- The issue sometimes happens after a single button press, sometimes takes up to 10 presses
- The freeze can disappear on its own after a while or has a small chance of disappearing after receiving some input on the device
- As evident from the Xcode logs, hand gestures are still recognized and can be used to put the App in the background and even open other apps, while the screen is stuck showing the app

Comments (9)

  1. tomashined

    Aug 14, 2024 13:15

    So what is the solution to the problem in the end? The issue still persists!

  2. AbeGellis

    Jun 16, 2024 18:52

    Reproduced on iPad Air 4th generation, iOS 17.0.22, in 2021.3.39f1. Downgrading to 2021.3.32f1 fixed it.

  3. mentalup

    Nov 27, 2023 14:28

    We are getting user reports as this problem is not fixed on 2022.3.10f1 and we see the same results on the test at 2023.2.1f1. We test on iPad Air 4 and when we change the screen orientation manually the device freezes.

  4. MaskedMouse

    Nov 02, 2023 08:10

    Unity, how many times does this have to be broken? Please make this a scheduled test on mobile devices. Throughout the 10 years of using Unity this issue has popped up multiple times. You'd expect that this would be tested with the release of new iOS / iPad OS versions

  5. vTrotta_Ulu

    Aug 22, 2023 15:21

    This is a quite significant and easily reproed crash affecting some quite common devices. It should be taken very seriously.

    Also, because the rendering freeze until the device eventually restart without the app itself crashing in a way that can be captured, it is very hard to gather analytics about this. We relied mostly on numerous user complaints, and on imperfect analytic ways to detect what seems to be improper app closures.

    Every time this issue was reported to us it was from a iPad 10th Generation and from a iPad Air 4th Generation. I am able to repro myself fairly easily from iPad Air 4th Generation.

    Our users are mostly on iPads, but from this, it also seems to happens to the iPhone 12:
    https://issuetracker.unity3d.com/issues/ios-crash-when-setting-screen-dot-orientation-at-app-launch

    The thing that is tying these devices together is their common GPU, the "Apple A14 Bionic"

    From user complaints and imperfect analytics, we *think* this issue started when we've updated Unity from 2019.4.35 to 2021.3.8 in late 2022. We eventually updated to 2021.3.18 and that did not fix the issue. It did repro today on iPad Air 4th gen using a Testflight build with Unity 2021.3.29 (latest).

  6. bnmguy

    May 20, 2023 04:17

    The fact these bugs take the amount of time they do to even consider getting fixed is unacceptable.

  7. skatamatic_scopear

    Apr 24, 2023 19:17

    Here's a terrible workaround I was forced to use. Overwrite the trampoline output files on ios builds before building in xcode.

    https://gist.github.com/skatamatic/9bbafb6eee88520d1437c1e7bad3fc7b

    I hope someone finds a better solution. 300ms worked, 200ms didn't. Set to 500ms to be "safe".

  8. KrisNicholsonCF

    Jan 10, 2023 02:16

    Reproduced with an iPad (10th generation) (iOS 16.0)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.