Closed EarthDLL closed 1 year ago
Meshes made only of vertices (and no UVs, no normals, no indices) are not supported. It must also be triangles. It should not crash though, instead it should show an error. That should be fixed.
Note, please don't post screenshots of code. It prevents me from copying it to try it. Ideally, post a minimal reproduction project.
Added more checks in 67a6f0c65c8754a5b740fc5aef8e511967aa875d so it should no longer crash.
Thanks
Describe the bug A clear and concise description of what the bug is.
To Reproduce Build:https://github.com/EarthDLL/godot_voxel/actions/runs/6836074952
Steps to reproduce the behavior:
Screenshots https://github.com/Zylann/godot_voxel/assets/100025289/b2920f63-52f2-4e48-abca-100ca1555135
https://github.com/Zylann/godot_voxel/assets/100025289/78e9b0a4-85bc-47d1-8893-5f93393c3b83
Environment