Search Issue Tracker
Active
Fixed in 2022.1.12f1
Under Consideration for 2021.3.X
Votes
0
Found in
2021.3.0f1
2022.1.1f1
Issue ID
UUM-877
Regression
Yes
[Backport] Redo drag action creates duplicates of Prefabs, disconnects from Prefab instance and makes them unable to delete or u
How to reproduce:
1. Create new project
2. Add Cube to scene
3. Make prefab of Cube by dragging to to Project view
4. Spawn multiple instances of the Prefab by dragging it from Project view to Hierarchy
5. Delete the Prefab, in prompt select Delete
6. Drag starting Cube from Hierarchy to Project view
7. \[Issue 1] Notice how all previous instances of Cube changed their names
8. Undo a few times past Drag action
9. Redo those Drag actions
10. \[Issue 2] Notice how Cube instances in Hierarchy have duplicates now.
11. \[Issue 3] Try deleting some of the old instances and error pops up (Children of prefab instance cannot be deleted or moved, needs to be unpacked first) - Unpack option is not available for those instances
12. \[Issue 4] Some instances also throw (the Prefab asset is missing. You have to unpack the Prefab instance to be able to create a new Prafab) window, unable to delete them in any way
13. \[Issue 5] Repeat step 5-9 and try deleting some Cube instances, error will be thrown (Cannot destroy GameObject that is part of a prefab instance)
14. \[Issue 6] Enter Play Mode and observe console (Can't destroy Transform component of 'Cube'. If you want to destroy the game object, please call 'Destroy' on the game object instead. Destroying the transform component is not allowed.)
15. \[Issue 7] Repeat step 13 by hold-redoing these changes and Editor crashes
Reproduced with: 2021.2.0b10, 2022.1.0a7
Does not reproduce with: 2021.1.20f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sahder errors in Player when "Strict shader variant matching" is enabled and the rendering path is set to "Deferred"
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
Add comment