CSG parts invisible in-game but not in studio

In my game i have a random room generator. What is happening is some parts being cut with live CSG are left invisible, but it never happens in studio. Parts generated are only invisible in real play testing and not in studio. My map generator works 100% of the time and doesnt have any issues… in studio that is.

This is from play testing in studio, the black part is a cut and it is properly generated.

This is from play testing the actual game. The part says in console that it cut correctly.

I dont really know if this is something that i can fix or if its simply a roblox bug.

1 Like

Unions have always had an issue with disappearing. I haven’t ever heard of someone doing it live in game before though.
Why not just make black Parts that are the size of each grey wall minus 1 stud in the X and Z directions, and plus about .01 studs in the Y direction so you get the look of the walls in the top picture? You’d likely have way less issues with Unions disappearing as well as the false Collision issues that convex Unions sometimes create. Using just Parts would probably create less lag too.

Yeah im just going to reprogram my whole map generation program now.

Its a pain but as long as it makes it more reliable im down. It just took forever the first time…