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
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
Add comment