Godot Version
4.4
Question
After upgrading from Godot 4.3 to Godot 4.4 I am receiving this error:
E 0:00:09:624 _setup: Failed to build convex hull
<C++ Source> modules/godot_physics_3d/godot_shape_3d.cpp:1100 @ _setup()
I also had a similar error on the player:
E 0:00:20:762 player.gd:169 @ _physics_process(): Failed to build convex hull
<C++ Source> modules/godot_physics_3d/godot_shape_3d.cpp:1100 @ _setup()
<Stack Trace> player.gd:169 @ _physics_process()
I tried to fix the last error on player.gd
by changing this collision shape:
To this:
But the _physics_process(): Failed to build convex hull
error keeps showing up.
The other error is likely caused by this shape:
I did some investigation, but not much is known about Failed to build convex hull
. I did see this topic: Upgraded to 4.4. Now generating errors for 3D static bodies (or mesh instance). How to fix? and related it to the annotation about CSG in Upgrading from Godot 4.3 to Godot 4.4 — Godot Engine (stable) documentation in English.
I have traced the error back to here, but it doesn’t tell me much:
The error does not show up when I run my game without the slopes
in the level. I narrowed it down further, and only when the _create_slope_collider
function runs does the error show up (and slopes are present in the level)
My question is: Does the error come from the slope
and if so, what do I need to change to fix it?