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
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
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