Search Issue Tracker
Fixed in 2023.1.5f1
Fixed in 2023.2.0a23
Votes
6
Found in
2023.1.2f1
2023.2.0a21
Issue ID
UUM-41295
Regression
Yes
Editor crashes when using PrefabUtility.SaveAsPrefabAsset() for GameObject with >= 22 child GameObjects
How to reproduce:
1. Open the user-attached project “PrefabUtilityCrash-2023.2”
2. In the toolbar click My Test > Run
3. Observe the Editor
Expected result: The Editor doesn't crash
Actual result: The Editor crashes
Reproducible with: 2023.1.0b14, 2023.1.2f1, 2023.2.0a10, 2023.2.0a21
Not reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.0b13, 2023.2.0a9
Reproducible on: Windows 11 Pro
First stacktrace lines:
0x00007FFCA585CF47 (Unity) FindSimilarComponent
0x00007FFCA586862A (Unity) MatchComponents
0x00007FFCA58539D4 (Unity) BuildReplaceMapByGameObjectName
0x00007FFCA5876185 (Unity) SetupFileIDsFromExistingPrefabAssetNameBased
0x00007FFCA5873877 (Unity) SavePrefab_Internal
Comments (1)
-
Vagabond_
Jul 11, 2023 07:38
Hi, for me this happens if there were a prefab already created in the target folder. If no prefab was present in the folder, it doesn't crash ( Unity 2023.1.3f1, Windows 10 64bit )
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2023.1.5f1):
Fixed by another internal issue: UUM-41195: Usd package 'Import as Prefab' will crash the editor for certain files
Resolution Note (fix version 2023.2.0a23):
Fixed by another internal issue: UUM-41195: Usd package 'Import as Prefab' will crash the editor for certain files