Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrcdk opened this issue Mar 9, 2025 · 2 comments

Comments

@mrcdk
Copy link
Contributor

mrcdk commented Mar 9, 2025

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

@matheusmdx
Copy link
Contributor

I'll bisect this one.

@matheusmdx
Copy link
Contributor

Indeed a regression from custom debug shape color (pr #90644), CC @BattyBovine

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants