Duplicate in UI Builder

This is a small one, but I figured I’d shoot it.

We spent literal years nagging Unity to fix how duplicate works in the scene hierarchy. For ages and ages, the duplicated object was put on the bottom of the hierarchy, which meant that related objects ended up interspersed with each other, and everything became a mess.

This was especially a problem in UGUI, where hierarchy order has implications for layout. So you always ended up duplicating, then dragging the object up to next to the original object, which was annoying.

Finally there happened some internal resuffling, and the hierarchy now places duplicates next to the duplicated object, instead of at the bottom. This was great! And then the UI builder shipped at around the same time and copied the old, bad behaviour of the hierarchy. Womp womp.

Any chance you can fix this?
Here’s the hierarchy behavior (great and good):
Unity_MVqbcx1gYJ

Here’s the UI Builder behavior (bad and wrong):
Unity_MeBSQhIZu2

We started to look at using the Hierarchy components in the UI Builder for future versions. It will make adhering to this behaviour, and any future behaviour change, a lot easier. That being said, the fix will be different for older versions. It’s a totally fair ask. Can you file a bug report? This will help us addressing it in a patch release.

4 Likes

I’ll try to get it done!

1 Like