This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

i have been getting the following error for a while

E 0:05:31.056 areasetshapedisabled: Can't change this state while flushing queries. Use calldeferred() or setdeferred() to change monitoring state instead.
Condition "area->get
space() && flushingqueries" is true.
2d/physics2dserversw.cpp:362 @ areasetshapedisabled()

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

Godot version 3.5 rc4 , 3.4.4
in Engine by (30 points)

1 Answer

0 votes

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

by (8,188 points)
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.