Upgraded to 4.4. Now generating errors for 3D static bodies (or mesh instance). How to fix?

Godot Version

4.4

Question

So I upgraded my project to 4.4. Everything works, however, I have these errors in my dev_test_map scene. It’s just 3 staticbody3Ds with Kenny prototype textures.

Does anybody know this issue? (Resources below)

Errors:

  ERROR: modules/godot_physics_3d/godot_shape_3d.cpp:1100 - Failed to build convex hull
  ERROR: servers/rendering_server.cpp:1193 - Condition "array_len == 0" is true. Returning: ERR_INVALID_DATA
  ERROR: scene/resources/mesh.cpp:1810 - Condition "err != OK" is true.
  ERROR: servers/rendering_server.cpp:1193 - Condition "array_len == 0" is true. Returning: ERR_INVALID_DATA
  ERROR: scene/resources/mesh.cpp:1810 - Condition "err != OK" is true.

Scene Tree

The Scene

In-editor Screenshot of Errors

Did you generate them from CSG-Nodes?

I heard those were completely replaced with 4.4’s release, but I don’t recall using CSG. I just selected StaticBody3D when I created the objects a while back.

There’s a lot of things I can troubleshoot, but I’m too tired right now.

Update: No idea what’s causing the issue.

I had no issues with static bodies in any other scene. The textures, mesh instances, and collision shapes weren’t the problem. Deleting and re-adding the scene didn’t help. Overall, it’s a stub on my end.

But since the scene is so small and disposable, I can easily replace it no problem. Lucky me.

It seems to be a bug introduced when they added custom debug color and fill. It’s just a debug thing and you should not worry about it. It should not cause any issue in its functionality.

I’ve opened an issue here Creating a new ConvexCollisionShape3D throws the error "_setup: Failed to build convex hull" · Issue #103852 · godotengine/godot · GitHub

2 Likes

Good to know. I’ll mark your response as the solution. I hope that gets fixed eventually.