Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.54k stars 342 forks source link

Fix Unity crash when performing undo operation on the prefab brush. #364

Closed MaciekOaky closed 1 year ago

MaciekOaky commented 1 year ago

There was an annoying Unity crash when I was undoing some operations on tilemaps. Finally found the repro steps and found the cause of the crash. We need to register Undo.SetTransformParent when modifying the parent of an instantiated object.

unity-cla-assistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

ChuanXin-Unity commented 1 year ago

Thanks for fixing this!