Error "Manifold creation from mesh failed" with CSGMesh3D causing Plane and Quad meshes not to get rendered. #100014
Description
Tested versions
I bisected and can confirm it was introduced by pr: #94321
I suspect issue #99888 was also introduced by the same PR.
Versions of Godot before this PR work fine. Versions of Godot after this PR error ranging from crashing to error messages depending on if you use a commit before the crash fix. The crash fix only fixed the crash though. The meshes still error and do not render which is what this issue is for.
System information
Godot v4.4.dev.mono (01b508724) - Pop!_OS 22.04 LTS on Wayland - X11 display driver, Multi-window, 3 monitors - Vulkan (Forward+) - dedicated Intel(R) Arc(tm) A750 Graphics (DG2) - AMD Ryzen 7 5800X 8-Core Processor (16 threads)
Issue description
Certain CSGMesh3Ds error and do not render. The ones I have discovered so far are planes, quads, and ribbon trail meshes. Here are some screenshots demonstrating.
Before #94321
After #94321
Crash with log:
Manifold creation from mesh failed:2
Manifold creation from mesh failed:2
Manifold creation from mesh failed:2
Master + #99959 that improves error messages
NOTE: Error messages without a crash are in current master. They just aren't as detailed as #99959 improves them to be
As you can see in the third one, the first three meshes do not draw and instead error in the console.
Steps to reproduce
- Download the attached MRP
- Open up
main.tscn
- See the error messages and meshes not being drawn
- I use double precision + mono support. I do not know if this is required.
Minimal reproduction project (MRP)
Metadata
Assignees
Type
Projects
Status
Very Bad
Activity