Unions break when copy-pasting them from a running game

When copying a union from a running game and pasting it when the game is no longer running, it seems to become corrupted. When attempting to perform any actions on it, the union will either disappear or CSG errors with code -6. However, the union still displays properly even across restarts, which leads me to believe it may be recoverable. Here is a link to an affected model, which has become completely uneditable as a result of this:
brokenModel.rbxm (79.5 KB)
Also, if there are currently any other ways to recover the unions, please let me know!
Thanks.

EDIT: I managed to find another copy of the unions so I was able to recover them, so recovering the unions at least isn’t a problem anymore.

Hey! Thanks for reporting this issue. We are aware of this problem and will address it before moving the API out of open beta. Once we have addressed this issue we will also enable plugin use for this API. For now I would recommend not relying on the behavior of copying Unions from studio play sessions into studio.

2 Likes