Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X

Votes

0

Found in

2021.3.47f1

2022.3.55f1

6000.0.32f1

6000.1.0a9

Issue ID

UUM-91927

Regression

No

Crash on EnsureUniqueSiblingName when calling GameObjectUtility.EnsureUniqueNameForSibling() with a null argument

--

-

Reproduction steps:
1. Open the attached “IN-90738.zip” project
2. In the Menu, click on Tools > Spawn and Layout
3. Observe the crash

Reproducible in: 2021.3.47f1, 2022.3.55f1, 6000.0.32f1, 6000.1.0a9

Reproducible on: Windows 11
Not reproducible on: No other environments tested

First few lines of stacktrace:

{noformat}0x00007FFA1EEEA484 (Unity) EnsureUniqueSiblingName
0x00007FFA1D2160D7 (Unity) GameObjectUtility_CUSTOM_EnsureUniqueNameForSibling
0x0000019FAC787EBA (Mono JIT Code) (wrapper managed-to-native) UnityEditor.GameObjectUtility:EnsureUniqueNameForSibling_Injected (intptr)
0x0000019FAC787DF3 (Mono JIT Code) UnityEditor.GameObjectUtility:EnsureUniqueNameForSibling (UnityEngine.GameObject)
0x0000019FAC787D1B (Mono JIT Code) [E:\Projects\Unity\Projects\InstantiatePrefabFromScene\Assets\LayoutPrefabs.cs:32] LayoutPrefabs:SpawnAndLayout () {noformat}

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.