Sunsetting the Legacy Computational Solid Geometry (CSG) Engine

Will CSG be performant as meshes some day? It’s common knowledge that high use of unions or even moderate use is terrible for your game. I don’t really care to learn blender so I would hope CSG is my fallback.

2 Likes

Update:
As of September 18th 2023 (today), CSGv1 and CSGv2 are now sunset. The two Studio setting checkboxes that were available during the grace period are now no longer available.

Thank you to all those that reported issues during the grace period. We have addressed all reported issues in this forum post thread.

Please keep an eye out for a whole slew of new CSGv3 features and performance improvements that will be announced soon!

Happy CSG-ing,
@meshadapt, @syntezoid and @FGmm_r2 (on behalf of the entire Roblox Geometry Team)

2 Likes

hello, idk what yall have touched, im having this big issue regarding this.

I want to union as i usually do, but after the latest update from 29/09/2023 i’ve been having some issues with Roblox. in the first place it didn’t want to open and started crashing some seconds away from finishing installing, so i had to go to any place from the website and press “edit” for it to finally open. it was the only way to get it to open, because it would be crashing when installing forever if i didn’t try that. After that, i tried to continue on solid modelling with Unions, Negative Parts & Intersections, BUT the unions started deforming and not showing how they have to.
A video of what i say:

I’ve also noticed in this update, the old CSG v2 Union settings in roblox aren’t available in the Rendering section of the settings anymore.
Reproduction

  • Insert any of the given parts by roblox to start unionating
  • Union or Intersect two parts or doesn’t necessary have to be two, u can try with one, for example an sphere.
  • Watch it’s geometry deform anormally.

Expected (Bottom) vs Deformed (Top)
image
Here i can show you some examples i did.
I asked my friend about this and they don’t seem to be having this problem as for now.
I have tried Reinstalling studio , deleting all files , restarting computer , restarting Studio , checking settings , checking plugins , but nothing seemed to work. I suppose my friends haven’t got this “update” yet.

deformed unions.rbxm (192.3 KB)
Im aware that unioning vast amounts of pieces can deform them but these are the starter unions you usually use to start solid modelling. This feature has to work properly ASAP since is the main method i use for 3d modelling on my game.
Stopping me from developing.
image
you can notice the deformed geometry (left) and normal expected (right)

All the unions i wanna do get deformed ODDLY. i don’t know what to do ATP, no solution was found in the forum.

Hello @TimTsuki, the deformed geometry (left) in your screenshot is actually the LOD (Level of Detail) representation, not the original geometry. Please verify the Mesh Detail Level in the Rendering page of Studio settings. We were able to reproduce the issue after adjusting this setting to Level03.

Please reach out to us if switching the setting to DistanceBased does not resolve your problem.

MeshLevelOFDetail



Hello. Sometime in the spring, I made models and put them all in one place. Now I decided to get them out and work with them, but I found that I could not disassemble them. Any buttons in Solid Modeling do not work properly because of this, there are problems with loading models into the toolbox.

report_fire.rbxl (77.9 KB)
I just have over a hundred of these models and they all don’t work properly.

Hi @dan1107001 Thank you for sharing your place file. We will look into that and let you know if there is a fix.

CSGv3 is giving me issues with cylinders, when they are turned into a union the geometry of the cylinders just get entirely messed up making them impossible to work with.

Hello @jonathanduy, could you share the place file that could help us reproduce the issue?

CSGv3 has more issues with errors than v2 did. I tried to edit one of my Unions made in v2 and the thing would not stop giving me error code -11 whenever I unioned pieces of them together (FYI, everything in this post isn’t just limited to editing old Unions, this even happens to Unions made in v3). I find the workaround to this is by moving the entire Union and its associated NegativeParts to a completely different position that does not line up with the original X, Y, or Z coordinate. Separating Unions sometimes results in the Union only separating a piece of itself but then leaving the original Union completely intact. I have to circumvent that using the same “move to different position” workaround. Sometimes it doesn’t even work and the Union continuously does the same behavior upon separation without spitting out any NegativeParts or other Unions (similar to one of my older posts Union is duplicating itself, and separating only a part of itself when separating. Potential bug?). Not to mention that I can’t turn off the NegativePart color inheritance on my Unions, and I have to color every NegativePart relative to what I’m cutting out, slowing down my workflow immensely. I feel as if CSGv2 was sunset too soon. While it may have had many errors, it was significantly less than the amount of errors I have in v3. I’ve halted five projects already due to my frustration with v3.

Hi @godtrek102playz, thanks for reporting these issues. Could you share the place files or models that would help us reproduce them?

Sure, here are some completed cab stripes that gave me trouble. Try separating the Union multiple times and attempt to make cutouts with the separations. FYI, the stripes were originally made in v2 but then were edited in v3.
csgv3errorrepro.rbxm (2.4 MB)

We’ve attempted to separate both StripeLower and StripeUpper multiple times and make cutouts with the separations using Studio version 605 on Windows. However, we haven’t been able to reproduce your issue yet. Could you please provide the exact steps to reproduce it and specify the platform you’re using?

I am also using Studio version 605.


Here are my computer specs:
image
image
I hate to inform you, but there is no exact procedure to this glitch. It happens completely at random. I don’t think its a RAM/memory issue either because this laptop has easily handled way more complex unions while the engine was still on CSGv2. I was however, in a Team Create session while editing this Union, but from what I’ve found, whether it’s a local file or a published place, it makes no difference in the chance where the error will occur.

Okay, I’ve just encountered it again. Here’s the repro file, try Unioning the NegativePart with either one of the stripes.
csgv3errorrepro2.rbxm (2.3 MB)

We’d like to inform you that the issue has been successfully reproduced using the upper striper on our end. An internal tracking ticket has been created. Once we have a solution, we will communicate it to you.

@godtrek102playz,This bug has already been fixed internally, and we are in the process of releasing the fix. Will update you once it is released.

@godtrek102playz The fix has been released in our latest version. Could you please check and let us know if everything is working as expected now?

It seems to be working fine. Thanks for the fix.

Thank you, @VGVC2 and @focasds, for bringing the unnecessary triangle issue to our attention. We’re pleased to share that we’ve activated a feature to address this concern. Please retest, and for CSG models involving spheres, anticipate up to a 60% reduction in triangle count. As an example, unioning a sphere now generates approximately 432 triangles.

2 Likes

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.