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.