Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X

Votes

0

Found in

2022.3.52f1

6000.0.28f1

6000.1.0a5

Issue ID

UUM-87752

Regression

No

[UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework

--

-

Reproduction steps:
1. Open [https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md|https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md|smart-link]
2. Follow the instructions to set up the UaaL project
3. In the running app on the mobile device, press “init”
4. Once Unity player loads up, press “unload”
5. Rotate the mobile device screen

Expected result: The screen rotates
Actual result: The application freezes

Reproducible with: 2022.3.52f1, 6000.0.28f1, 6000.1.0a5
Couldn't test with: 2021.3.46f1 (Undefined symbol errors when building in Xcode)

Reproducible on: macOS 15.1 (M1 Max)
Not reproducible on: No other environments tested

Reproducible with these devices:
VLNQA00543, iPad mini 4 (WiFi), 15.8.3
VLNQA00359, iPhone 12 Pro, 17.6.1
VLNQA00394, iPhone 13 mini, 17.6.1

First few lines of stack trace:
frame #0: 0x000000010c9b0664 UnityFramework`::GetLightingSettingsOrDefaultsFallback() [inlined] GetInstanceID at PPtr.h:90:61 [opt]
frame #1: 0x000000010c9b0664 UnityFramework`::GetLightingSettingsOrDefaultsFallback() [inlined] operator LightingSettings * at PPtr.h:221:9 [opt]
frame #2: 0x000000010c9b0664 UnityFramework`::GetLightingSettingsOrDefaultsFallback() at LightmapSettings.cpp:565:34 [opt]
frame #3: 0x000000010c6a2e30 UnityFramework`::Update() at EnlightenRuntimeManager.cpp:2426:10 [opt]
frame #4: 0x000000010c4e3af8 UnityFramework`::ExecutePlayerLoop() at PlayerLoop.cpp:409:21 [opt]
frame #5: 0x000000010c4e3b38 UnityFramework`::ExecutePlayerLoop() at PlayerLoop.cpp:430:21 [opt]
frame #6: 0x000000010c4e3e2c UnityFramework`::PlayerLoop() at PlayerLoop.cpp:537:5 [opt]
frame #7: 0x000000010caf4e58 UnityFramework`UnityPlayerLoopImpl at LibEntryPoint.mm:341:5 [opt]
frame #8: 0x000000010c1df2c8 UnityFramework`UnityRepaint at UnityAppController+Rendering.mm:197:13
frame #9: 0x000000010c1dda00 UnityFramework`-[UnityView recreateRenderingSurface](self=0x00000001016a4ce0, _cmd="recreateRenderingSurface") at UnityView.mm:183:13

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.