How to reproduce:
1. Open the attached “IN-139642.zip” project
2. Click on File → New Scene (or CTRL + N)
3. In the New Scene window, select the “Level_1 Scene Template” and click “Create”
4. Observe the crash
Reproducible in: 2023.3.0a2, 6000.0.74f1, 6000.3.14f1, 6000.4.6f1, 6000.5.0b7, 6000.6.0a4
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: “PPtr cast failed when dereferencing!” errors appear in the console before crashing
First few lines of stacktrace:
0x00007FFAFF9D1339 (Unity) GetOriginalSourceOrVariantRoot
0x00007FFAFDEBD035 (Unity) PrefabUtility_CUSTOM_GetOriginalSourceOrVariantRoot
0x000002477F80B382 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.PrefabUtility:GetOriginalSourceOrVariantRoot_Injected (intptr)
0x000002477F80B1DB (Mono JIT Code) UnityEditor.PrefabUtility:GetOriginalSourceOrVariantRoot (UnityEngine.Object)
0x000002477F80AF5B (Mono JIT Code) UnityEditor.PrefabUtility:GetPrefabAssetPathOfNearestInstanceRoot (UnityEngine.Object)
0x000002477FDC7C8B (Mono JIT Code) UnityEditor.PrefabUtility:GetIconForGameObject (UnityEngine.GameObject)