How to reproduce:
1. Open the user-attached project “TestNonRecursiveBuild”
2. Click Window -> Asset Management -> Addressables -> Groups
3. Click Build -> Clear Build Cache -> All
4. Click Build -> New Build -> Default Build Script
5. Select Assets/Cube.prefab
6. Uncheck Adressable in the Prefab inspector
7. Rebuild the Addressables (Step 4)
8. Open the “SampleScene” scene and enter the Play Mode
9. Click on the button in the Game View, then select “GameObject” in the Hierarchy and double-click “Cube” in the Inspector
Expected result: The Editor didn’t crash
Actual result: The Editor crashed
Reproducible with: 2020.3.41f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a19
Reproducible on: Windows 11 Pro
First few frames of the stack frames:
0x000001e3de8f1d31 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GameObject:get_transform (UnityEngine.GameObject)
0x000001e3de8f0d73 (Mono JIT Code) UnityEditor.GameObjectInspector:CalculatePrefabStatus ()
0x000001e3de8f064b (Mono JIT Code) UnityEditor.GameObjectInspector:OnEnable ()
0x000001e46a1d6428 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void_this_ (object,intptr,intptr,intptr)