Search Issue Tracker

Fixed

Fixed in 2022.2.9f1, 2023.1.0b10, 2023.2.0a3

Votes

0

Found in

2022.2.5f1

2023.1.0b2

2023.2.0a8

Issue ID

UUM-29375

Regression

Yes

Crash on ActiveEditorTracker_CUSTOM_Internal_GetActiveEditors when clicking on the Entities hierarchy during domain reload

--

-

Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open any script in “Assets/Scripts“
3. Add a comment in the script
4. Go back to Unity and during script recompilation spam left click in the Entities Hierarchy
5. If the crash does not happen, repeat from step 3

Expected result: Scripts are recompiled
Actual result: Editor crashes

Reproducible with: 2022.2.4f1, 2022.2.5f1, 2023.1.0b1
Not Reproducible with: 2022.2.3f1
Couldn't test with: 2020.3.44f1 (No Entities Hierarchy window), 2021.3.18f1 (No Entities Hierarchy window), 2023.2.0a3 (crashes when opening {{"Trying to allocate: 18446744012484526720B"}})

Reproducible on: Windows 10 22H2

First few lines of Stack trace:

{noformat}Obtained 32 stack frames
0x00007ff644560c99 (Unity) ActiveEditorTracker_CUSTOM_Internal_GetActiveEditors
0x000001652530b79a (Mono JIT Code) (wrapper managed-to-native) UnityEditor.ActiveEditorTracker:Internal_GetActiveEditors (UnityEditor.ActiveEditorTracker)
0x000001652530b663 (Mono JIT Code) UnityEditor.ActiveEditorTracker:get_activeEditors ()
0x00000165dedc2fbb (Mono JIT Code) UnityEditor.InspectorWindow:GetInspectedObject ()
0x000001665d2af007 (Mono JIT Code) UnityEditor.PropertyEditor:OnDisable ()
0x000001665d2aeb3b (Mono JIT Code) UnityEditor.InspectorWindow:OnDisable ()
0x00000164b8ddfe68 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffe48c90394 (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445){noformat}

Note: Reproduces about 30% of the time

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.