Search Issue Tracker
Fixed
Fixed in 2021.3.49f1, 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2, 7000.0.0a22
Votes
0
Found in
2021.3.47f1
2022.3.55f1
6000.0.32f1
6000.1.0a9
6000.2.0a1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 7000.0.0a22):
added null check
Resolution Note (fix version 6000.0.37f1):
Fixed editor crash when null parameter passed in to EnsureUniqueSiblingName