0 votes

I'm having this error during my game:

E 0:00:21.967   is_shape_set_as_disabled: FATAL: Index p_idx = 0 is out of bounds (shapes.size() = 0).
  <C++ Source>  servers/physics_2d/collision_object_2d_sw.h:153 @ is_shape_set_as_disabled()

I suppose it is something related to the objects in the scene, which are considerable, but I do not understand what the problem would be, the size of any of them, position, collision ...
If anyone can help me I will be very gratefu

in Engine by (12 points)

Weirdly enough recently had that error but sadly can't remember how to fix it.
Might have something to do with setting a property of an item from an array

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.