Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.22f1
Issue ID
UUM-31303
Regression
Yes
Errors are thrown after redoing Nested Prefab Variant creation
*Reproduction steps:*
# Create a new project
# Create 2 GameObjects: Cube and Sphere
# Drag both GameObjects to the Project Window to make them Prefabs
# Make the Sphere GameObject a child of the Cube GameObject in the Hierarchy window
# Drag the nested prefab into the Project window
# Click “Prefab Variant” in the pop-up that appears
# Undo (on Windows Ctrl + Z, on macOS CMD + Z)
# Redo (on Windows Ctrl + Y, on macOS CMD + Shift + Z)
{*}Expected result{*}: No errors are thrown
{*}Actual result{*}: The following error is thrown:
{code:java}
Component Transform has PrefabInstance different from its game object 'Sphere'. Fixing by setting PrefabInstance to None
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler () {code}
{*}Platforms tested{*}: macOS Monterey 12.6, Ubuntu 20
{*}Note{*}: Also reproducible by using the Context Options (Edit > Undo/Redo)
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
- Multiple warnings are thrown when importing Terrain URP Demo Scene to the Project
- The Frame value field does not update when using the increment/decrement arrows in the Frame Debugger if the value has been manually inputted
- [Remote Config] PreparePayloadWithConfigType function is looking for camelCase property names, when the JSON objects are using PascalCase naming
- UI Builder Viewport's Tool Gizmo has deadzones
- SpriteShapes are rendered using multiple draw calls when the SRP Batcher determines their nodes are incompatible in a specific project
Resolution Note:
This issue was fixed by the Undo system overhaul which landed in 2022.1 and due to its complexity could not be backported.