Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p_elem->root != this ' is true #20085

Closed
ianscottcamp opened this issue Jul 10, 2018 · 1 comment
Closed

p_elem->root != this ' is true #20085

ianscottcamp opened this issue Jul 10, 2018 · 1 comment
Labels

Comments

@ianscottcamp
Copy link

I have been getting this error for a while now, since v2.1 and have since migrated to 3.0 and the problem has worsened. The debug console gets flooded with

ERROR: remove: Condition ' p_elem->_root != this ' is true.
At: core/self_list.h:77"

This seems to happen when I try to add_child or manipulate nodes in the current scene tree from a thread. This was not so much an issue before as the project would continue running despite this error, it would only start to lag as this error piled up on the console which I could completely avoid in the executable version of the project if i turn off debuging window. However lately I get random crashes with an additional error even in the executable as follows,

Nothing read: No such file or directory
ERROR: read: Server disconnected!
At: drivers/windows/stream_peer_tcp_winsock.cpp:203

Godot version: 3.0.3 x64

OS/device including version: windows7

Issue description: flood error "remove:condition ' p_elem->_root != this ' is true. At: core/self_list.h:77"

Steps to reproduce: add_child or manipulate nodes in scene tree from a thread

@ianscottcamp
Copy link
Author

Solved. Using call_deferred on add_child function in the thread fixed this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants