When removing a child node and then re-adding it, I get 3 errors:
area_enter_tree: Condition "!E" is true.
connect: Signal 'tree_entered' is already connected to given method '_area_exit_tree' in that object.
connect: Signal 'tree_exiting' is already connected to given method '_area_exit_tree' in that object.
I've isolated the cause of these errors as best I could. They only occur when I am removing and re-adding a node with two Area
s with accompanying CollisionShape
s.
I made a very basic project that only requires running test.tscn. Press 1 to remove and add a test node with 2 Area
children. Press 2 to remove and add a test node with 1 Area
child. Errors only appear in the first case and they appear every time the node is re-added.
Here is the test project: https://gofile.io/d/XkGQIw