area_set_shape_disabled not redirecting me to any script

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

i have been getting the following error for a while

E 0:05:31.056 area_set_shape_disabled: Can’t change this state while flushing queries. Use call_deferred() or set_deferred() to change monitoring state instead.
<Erro C++> Condition “area->get_space() && flushing_queries” is true.
<Origem C++> servers/physics_2d/physics_2d_server_sw.cpp:362 @ area_set_shape_disabled()

the thing is that it does not reference any script nor line, i suspect that it may have something to do with a Area2D signal, although i have gone through every scene that could contain a signal like that.

it gives me 5 to 11 errorsenter image description here and them the game crashes

this happens on both godot 3.5 rc4 and godot 3.4.4

screenshot of the error

:bust_in_silhouette: Reply From: Inces

It is automatic signal happening on queue_free() of area or body. Precede freeing with call_deferred, just like error suggests