#Can't change this state while flushing queries. Use call_deferred() or set_deferred() to change[...]

1 messages · Page 1 of 1 (latest)

pliant pine
#

I suppose my biggest question is why this is happening to begin with and why deferring it would even fix it. It sounds to me like the parent is trying to be destroyed but can't because the child (OnHitEffect) is running so many things that the queue_free call ends up taking longer than it should, but that's just a blind theory.

pliant pine
#

Okay, scrap all of that. If I remove all related freeing, it still complains that it can't change a state while flushing queries.