Search Issue Tracker
Fixed in 2021.3.45f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 7000.0.0a5, future release
Votes
1
Found in
2021.3.41f1
2022.3.39f1
6000.0.11f1
Issue ID
UUM-76157
Regression
No
[Linux] Crash on CreateVariant when a Prefab Variant is created in the Packages folder
Reproduction steps:
1. Create a new “3D (URP)” project
2. Open “Packages/Core RP Library/Runtime/Debugging/Prefabs/Resources” folder in the Project window
3. Right-click on any Prefab in the folder and select “Create/Prefab Variant” option in the context menu
4. Press the “Enter” key to save the name
Expected result: The “Create” option is disabled in the Context menu or a warning is shown regarding .meta file
Actual result: The Editor crashes
Reproducible with: 2021.3.41f1, 2022.3.39f1, 6000.0.11f1
Reproducible on: Ubuntu 24.02, Ubuntu 22.04 (user)
Not reproducible on: Windows 10
First lines of the stack trace:
#2 0x00561c47cfbedf in CreateVariant(PPtr<GameObject> const&, core::basic_string<char, core::StringStorageDefault<char> > const&)
#3 0x00561c460a13ee in PrefabUtility_CUSTOM_CreateVariant_Internal(void, BindingsManagedSpan)
#4 0x00000042070061 in (wrapper managed-to-native) UnityEditor.PrefabUtility:CreateVariant_Internal_Injected (intptr,UnityEngine.Bindings.ManagedSpanWrapper&)
#5 0x0000004206fec7 in UnityEditor.PrefabUtility:CreateVariant_Internal (UnityEngine.GameObject,string)
#6 0x0000004206ddd3 in UnityEditor.PrefabUtility:CreateVariant (UnityEngine.GameObject,string)
#7 0x0000004206d79b in UnityEditor.ProjectWindowCallback.DoCreatePrefabVariant:Action (int,string,string)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment