Search Issue Tracker
Fixed
Fixed in 2021.3.21f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a3
Votes
0
Found in
2021.3.16f1
2023.2.0a1
Issue ID
UUM-21915
Regression
Yes
Crash on ModuleMetadataBindings::GetModuleIncludeSettingForObject when enabling GameObject
Reproduction steps:
1. Open the attached “CrashRepro” project
2. In the Hierarchy view, click “Singletons” GameObject
3. In the Inspector view, enable “Singletons” GameObject
Expected result: “Singletons” GameObject is enabled
Actual result: Unity Editor crashes
Reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.1.0a6, 2022.1.0a10
Not reproducible with: 2022.1.0a1, 2022.1.0a5, 2022.2.0a1, 2022.2.0b2, 2023.1.0a1, 2023.1.0a24
Couldn’t test with: 2022.1.0a11 - 2022.1.24f1, 2022.2.0b3 - 2022.2.2f1 (“Singletons” GameObject is removed from Hierarchy with error “SerializedObject target has been destroyed” when enabling the GameObject)
Reproducible on: Ubuntu 20.04, Intel MacOS 13.1, Windows 11 Pro 22H2
First lines of the stack trace:
{noformat}#0 0x0000010775eb4e in ModuleMetadataBindings::GetModuleIncludeSettingForObject(Object*)
#1 0x0000010641ffc1 in ModuleMetadata_CUSTOM_GetModuleIncludeSettingForObject(ScriptingBackendNativeObjectPtrOpaque*)
#2 0x000001cd2bcfa3 in (wrapper managed-to-native) UnityEditor.ModuleMetadata:GetModuleIncludeSettingForObject (UnityEngine.Object) [{0x7feb109820a8} + 0x83] (0x1cd2bcf20 0x1cd2bd055) [0x15d7c2a80 - Unity Child Domain]
#3 0x000001c3bb84d8 in UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool) [{0x7febb6de9c80} + 0x8e8] [/Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs :: 352u] (0x1c3bb7bf0 0x1c3bb948b) [0x15d7c2a80 - Unity Child Domain]
#4 0x000001c3bb763b in UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool) [{0x7febb6de9ea0} + 0x35b] [/Users/bokken/build/output/unity/unity/ModuleOverrides/com.unity.ui/Core/IMGUIContainer.cs :: 695u] (0x1c3bb72e0 0x1c3bb780a) [0x15d7c2a80 - Unity Child Domain]{noformat}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Freeze/crash with multiple StackTraces when opening a specific project
- Crash on TypeContainer<int>::rtti when deleting a Render Texture that is used by the Main Camera
- Multiple ArgumentExceptions are thrown when adding a VisualTreeAsset with Sprite Glyphs to a UIDocument
- Color Node Alpha slider displays incorrect value when viewed in Shader Graph
- Player unresponsive when building a specific project with Autoconnect Profiler enabled
Add comment