Duplicating a UI element in studio does not preserve properties of the new instance or its descendants

Clone any UI element in explorer with Ctrl+D. The AnchorPoint property of the new instance is not preserved, and descendants are also not preserved. Happens with Ctrl+C/Ctrl+V as well (and any other form of copying.)

Notice in this video that at first the element pastes properly, then the AnchorPoints are messed up.

Edit: Size/Position properties are sometimes affected as well.

Edit: Pretty much any property can be affected.

Edit: It also happens when dragging UI to a new parent… not just on clone.

Edit:
I’d like to emphasize that this is a critical bug. Working on UI is a nightmare right now.

Cannot reproduce this whatsoever. Have you tried disabling plugins?

Hi @ForeverDev I’m also unable to reproduce this on both Mac/Win using Roblox Studio v676. Are you able to provide any additional information?

I am seeing a strange behavior where copy paste on both platforms is pasting the pasted element into the workspace instead of within the ScreenGui. However, the anchor points appear to be preserved in all the cases.

Do you happen to be enrolled in the Styling Beta and are working under a tree of elements with a Style Link applied? It’s possible that maybe there is a bug with styling and anchor point.

1 Like

I was experiencing this as well but I was able to determine that is was coming from the AutoScale Plus plugin.

In the Plus Menu, there’s an option to have the AnchorPoint centered by default. This will apply to any new GUI elements that are copy and pasted or duplicated while enabled.

If you’re also using this plugin, you may want to try disabling this option.

2 Likes

We’ve determined it’s not from plugins. Maybe it’s because we have a ton of gui (184 screen guis) in PS99?
Here’s what it looks like to copy a gui. Does not occur in a blank baseplate with the same plugins running. I do not have the Styling Beta enabled.

Running Windows, most up-to-date Studio version.

Here is a video demo of the bug happening in our dev place. When I paste the UI it bugs out.

https://streamable.com/7inxoj

  • When I paste it on a fresh baseplate it is fine
  • When I open a backup of dev place and paste it is fine
  • When I open our production place and paste it is fine

So its related to team create I guess? But our production place has team create on, but less people on the session. Not sure.

As is, we cannot paste, move, or duplicate. It ruins all the properties on the UI objects. Makes it nearly impossible to make UI for this weeks update.

Windows 11

One of our artists was lingering in TeamCreate and had this plugin. This was the problem. Thanks for the suggestion :slight_smile:

2 Likes