Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.2.X, 2022.1.X
Votes
0
Found in
2020.1.0a15
2020.2
2020.3
2020.3.22f1
2021.2
2022.1
Issue ID
1381563
Regression
Yes
Crash when calling hideFlags after removing missing nested prefab
Reproduction steps:
1. Open the "OnWillSaveAssetsCrash" project
2. Open the 'Test' prefab
3. Delete missing nested 'Quad' prefab
4. Observe the crash
Reproducible with: 2020.1.0a15, 2020.1.24f1, 2020.2.7f1, 2020.3.0f1, 2020.3.23f1, 2021.2.2f3, 2022.1.0a15
Not reproducible with: 2019.4.32f1, 2020.1.0a9
Could not test with: from 2020.1.0a11 to 2020.1.0a14 (this issue appears: https://issuetracker.unity3d.com/issues/uielements-trying-to-read-value-of-type-color-while-reading-a-value-of-type-function)
First lines of crashed thread stacktrace:
0 com.unity3d.UnityEditor5.x 0x00000001069f4c97 PrefabInstance::SetHideFlags(Object::HideFlags) + 215
1 com.unity3d.UnityEditor5.x 0x0000000105853f4d Object_Set_Custom_PropHideFlags(ScriptingBackendNativeObjectPtrOpaque*, Object::HideFlags) + 189
2 ??? 0x0000000185fcba0e 0 + 6542899726
3 libmonobdwgc-2.0.dylib 0x000000014c0d0271 mono_jit_runtime_invoke + 1380
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0b5
Resolution Note (fix version 2021.2):
Fixed in 2021.2.10f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.27f1