I have an Area2D (item) that when 'picked up' will add itself to an Array.
Then I try to unparent itself with:
item.get_parent().remove_child(item)
Everything works, including the unparenting, but then I get this error:
Condition ' !area_in && !E ' is true. <C Source>
scene/2d/area_2d.cpp:264 @ _area_inout()
Why is this error happening? Should I do something different to achieve this result?