: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

Hi, I just looked into this issue. I’m able to reproduce it with the place file you supplied in a DM earlier. We actually have a fix ready for this issue and we’re deploying it right away for some platforms. You should see it fixed in studio within about an hour, and I’ve tested it in your place.

One caveat, if you don’t have the Studio Solid Modeling Improvements beta feature on, then you’ll need to switch your UnionAsync over to using the new GeometryService API: GeometryService | Documentation - Roblox Creator Hub. (Or just turn the beta feature on, but be aware there are still a few bugs in it.)

Thanks for reporting this! I’ll close this ticket, but let us know if this resolution doesn’t work.

1 Like