Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2020.2.7f1

2020.3

2020.3.15f2

2021.2.0a9

2022.1.0a13

Issue ID

1372736

Regression

Yes

Freeze/Crash on HierarchicalSceneData::Remove when opening scene

Scene/Game View

-

Reproduction steps:
1. Open the user's attached project
2. Open AddOns/MgLEGO Ninjago/Scenes/Ninjago Master Wus Training Course

Expected result: Scene opens
Actual result: Editor crashes

Reproducible with: 2020.2.7f1, 2020.3.21f1, 2021.1.0b10, 2021.1.28f1, 2021.2.0a9, 2021.2.1f1, 2022.1.0a13
Not reproducible with: 2019.4.32f1, 2020.2.6f1, 2021.1.0a1, 2021.1.0b9, 2021.2.0a1, 2021.2.0a8

Stack trace:
#0 0x00000106df25e0 in HierarchicalSceneData::Remove(GameObject const&)
#1 0x00000106df423b in SceneDataContainer::ResetFlagInChildren(Transform const&)
#2 0x00000106df3e16 in SceneDataContainer::SetFlag(Transform const&, bool, bool)
#3 0x00000106df6c66 in SceneVisibilityState::SetGameObjectPickingDisabled(GameObject const&, bool, bool)
#4 0x0000010741a90b in SceneVisibilityState_CUSTOM_SetGameObjectPickingDisabled(ScriptingBackendNativeObjectPtrOpaque*, unsigned char, unsigned char)
#5 0x0000017b890ebb in (wrapper managed-to-native) UnityEditor.SceneVisibilityState:SetGameObjectPickingDisabled (UnityEngine.GameObject,bool,bool) {0x7fc0f00a29b8} + 0x6b (0x17b890e50 0x17b890f3d) [0x14be48960 - Unity Child Domain]
#6 0x0000017b89037b in LEGOModelImporter.LEGOAsset:OnValidate () {0x7fc0ed4e1db0} + 0x2b (0x17b890350 0x17b890384) [0x14be48960 - Unity Child Domain]

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.