Skip to content

Creating a new ConvexCollisionShape3D throws the error "_setup: Failed to build convex hull" #103852

Open
@mrcdk

Description

@mrcdk

Tested versions

  • Reproducible in: 4.4.dev6 and later
  • NOT reproducible in: 4.4.dev5 and earlier

System information

Godot v4.4.stable - Manjaro Linux #1 SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 13:04:33 +0000 on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4080 SUPER (nvidia; 550.144.03) - AMD Ryzen 9 7950X3D 16-Core Processor (32 threads)

Issue description

Adding a new ConvexCollisionShape3D resource to a CollisionShape3D node throws the error:

E 0:00:09:624   _setup: Failed to build convex hull
  <C++ Source>  modules/godot_physics_3d/godot_shape_3d.cpp:1100 @ _setup()

The same error happens when creating a new ConvexCollisionShape3D object via script.

I think the issue was introduced when the CollisionShape3D custom debug color and fill was added.

As far as I can tell, it does not produce any problem at runtime. The collision shape works as expected.

Steps to reproduce

  • Create a CollisionShape3D node
  • Add a ConvexCollisionShape3D to its shape
  • Check the output

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions