:UnionAsync() stops working, prevents all future union operations from functioning [Update]

I am using :UnionAsync() to create unions for a magic circle/rune generator, this works fine until it simply stops, I have no idea what causes it other than simply repeatedly using :UnionAsync() until it breaks. Once it breaks in studio, studio must be restarted for it to begin working again. I am unsure if it also breaks in the main game as I’m working in a local file.

Here is what happens when it breaks, the code runs :UnionAsync() but just freezes indefinitely


You can see that the union didn’t get created for any of the circles, the code is frozen at :UnionAsync()
No errors are in the logs or anything so I’m not sure what could be going on

Expected behavior

Here is what happens normally when :UnionAsync() functions normally


The code finishes running and creates the union

Edit: using the seeds 56050037 or 59895029 cause the issue to happen, this is reproducible both in studio and in game, I have also created an experience with this, if you type in those seeds it will lock up just as stated before

A private message is associated with this bug report

3 Likes