Search Issue Tracker
Fixed
Fixed in 2021.3.13f1
Votes
9
Found in
2021.3.11f1
Issue ID
UUM-15454
Regression
No
Crash on UI::Canvas::GetRenderMode() const when changing levels
Reproduction steps:
1. Open the user’s attached project
2. Go to File → Build Settings and make sure that the selected Platform is iOS
3. Open Assets/Games/tripeaks/Build/levels/tri_peaks scene
4. Enter Play mode
5. In the Game view click the “V” button
6. In the pop-up window click the “Tripeaks” button
7. Click on “Game”
8. Click on “Unlock All Available Levels”
9. Click on “Unlock Up To Last Track”
10. Click on “Win Game Now”
11. Skip the win dialog
12. Click on the “Islands” button
13. Select any level
Expected result: Level is changed
Actual result: Unity crashes
Reproducible with: 2021.3.11f1
Couldn’t test with 2020.3.40f1, 2022.1.18f1, 2022.2.0b9, 2023.1.0a12 - errors in user’s custom packages
Reproducible on: macOS 12.6
Stacktrace:
#0 0x000001062e47f3 in UI::Canvas::GetRenderMode() const
#1 0x000001062d4295 in UI::CanvasManager::AddCanvas(UI::Canvas)
#2 0x000001062e5427 in UI::Canvas::AddToManager()
#3 0x000001062e4848 in UI::Canvas::AwakeFromLoad(AwakeFromLoadMode)
#4 0x00000105e3712d in AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item, unsigned int, AwakeFromLoadMode)
#5 0x00000105e36ece in AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)
#6 0x000001056180e1 in GameObject::ActivateAwakeRecursively(DeactivateOperation)
#7 0x00000105b26b2b in Transform::SetParent(Transform*, Transform::SetParentOption)
Note: Steps from 4 to 10 are only needed when launching for the first time.
Comments (3)
-
Joppers
Nov 08, 2022 15:29
Hi, did this get fixed in Unity 2021.3.13 in the end? UUM-15454 is not listed on the release notes page for the release (https://unity3d.com/unity/whats-new/2021.3.13)
-
pistoleta
Oct 26, 2022 09:07
Affecting us too, when we enable a GO that has a canvas overriding the sorting... unity, and device, crash.
-
MartinRhino
Oct 11, 2022 08:38
I have same issue.
Reproducible with: 2021.3.11f1
#0 0x0000010ee4a7f3 in UI::Canvas::GetRenderMode() const
#1 0x0000010ee3a295 in UI::CanvasManager::AddCanvas(UI::Canvas*)
#2 0x0000010ee4b427 in UI::Canvas::AddToManager()
#3 0x0000010ee4a848 in UI::Canvas::AwakeFromLoad(AwakeFromLoadMode)
#4 0x0000010e99d12d in AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)
#5 0x0000010e99cece in AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)
#6 0x0000010e17e0e1 in GameObject::ActivateAwakeRecursively(DeactivateOperation)
#7 0x0000010e17f08a in GameObject::Activate()
#8 0x0000010dc4623f in GameObject_CUSTOM_SetActive(ScriptingBackendNativeObjectPtrOpaque*, unsigned char)
#9 0x000001d0956654 in (wrapper managed-to-native) UnityEngine.GameObject:SetActive (UnityEngine.GameObject,bool) [{0x7f8f0331aae0} + 0x104] (0x1d0956550 0x1d095672f) [0x161542a80 - Unity Child Domain]Crashes when I try to open popups
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2021.3.13f1):
Fixed various issues with Canvas.