Search Issue Tracker
Fixed
Fixed in 2021.3.45f1, 2022.3.51f1, 6000.0.23f1, 7000.0.0a5
Votes
1
Found in
2021.3.41f1
2022.3.39f1
6000.0.11f1
7000.0.0a1
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
- Inconsistent NullReferenceException while connecting Edges in the Graph
- Output Decals URP link in Learning Templates directs to HDRP Lit Decal Documentation
- Performing Undo Redo for Convert to Property action creates a ghost Node
- Crash on GameObject::IsActiveIgnoreImplicitPrefab when opening a specific project
- Default Input Action Asset creates unsaved changes when clicking on Button actions
Add comment