Geometry/Raycasting Incorrect on Some Unions

Some unions, while appearing normal (including when exported as an OBJ and viewed in another program like Blender) have incorrect geometry when using raycasting which results in a number of weird things occurring. Here’s an example of a grid of raycasts from the camera’s POV to the baseplate:


Green dots are raycasts that hit something other than the baseplate. There are a number of green dots on areas where no parts exist, and mousing over these areas in studio shows that the engine thinks the parts are actually in those locations:

As shown in the video above, one of the side effects is the inability to select those unions easily, but it appears whether or not a part is rendered is also based on this incorrect data. Moving the camera can sometimes cause unions to disappear (I think this bug report is caused by this issue) when the engine thinks they have gone off screen based on the false data:



The shadows still render but not the unions themselves.

Separating and re-doing the union doesn’t have any effect. Changing the union size doesn’t fix the issue either. The unions display correctly (minus the disappearing), textures/decals on the unions render correctly, and exporting the union to an OBJ works fine.

A private message is associated with this bug report

4 Likes

Hello can you please provide the test file to help us debug this issue. Thank you

I included it in the message associated with this report: https://devforum.roblox.com/t/2854259

3 Likes

When was the last time you set the collision fidelity or imported this mesh?

The unions were created in-studio with the solid modeling tools in 2022. I never changed the collision fidelity to anything other than default. However, I just tried setting the collision fidelity to anything but the default and everything now seems to work correctly. It seems like this issue might only apply to unions created sometime in the past (before the new CSG engine was available, maybe) that are using the default collision fidelity.

1 Like

Yes, this seems to be connected to the same issue that I reported if you are experiencing the issue with unions.

Hi, just to follow up: this issue with Default collision fidelity should be fixed as of version 616.

1 Like