"recover_from_penetraton" error when a KinematicBody has a CollisionShape

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By pattlebass

Hi! Yesterday I migrated my project from 3.1 to 3.2 and an error started popping up in the console.

When I click on it, it redirects me to the move_and_collide method in the code. It only happens if a KinematicBody has a CollisionShape.

Any help is appreciated!

Here’s the error:

recover_from_penetration: Condition "shape_idx < 0 || shape_idx >= cs->getNumChildShapes()" is true. Returned: false

<C++ Source> modules/bullet/space_bullet.cpp:1241 @ recover_from_penetration()

<Stack Trace> car.gd:8 @ _physics_process()

having the same issue… did you ever find the source of the problem?

Macryc | 2020-04-09 17:06

Unfortunately no.

pattlebass | 2020-04-10 11:17