-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
CSGPolygon following a path throws errors if adding or removing points in path #30229
Comments
I had the same problem. |
Is there any possible workaround for this? Our logs are full of these errors. It seems to me that |
Getting similar errors when removing a scene tree that has CSG polygons: _make_dirty() is called from NOTIFICATION_EXIT_TREE, which then tries to connect signals, use things that have been removed from the tree, etc. Lots of errors:
Not sure why _make_dirty() is called when it's being removed from the tree. Was tempted tot remove that, but after seeing this issue, there may be some more fundamental issue with the behavior and/or error reporting here. |
Just want to push this issue a bit more. I just encountered this bug, too. Right now, for me this is especially problematic, because I try to use So, for developing reasons my |
fixes godotengine#30229 (cherry picked from commit bab36f1)
Godot 3.1
If you make a CSGPolygon follow Path and add points to the path after _ready() function it keeps throwing the following errors.
Signal 'tree_exited' is already connected to given method '_path_exited' in that object.
core/object.cpp:1488 @ connect()
and
Signal 'curve_changed' is already connected to given method '_path_changed' in that object.
core/object.cpp:1488 @ connect()
Is there any reason for the signal to reconnect on path update?
To reproduce you can create the following scene:
The text was updated successfully, but these errors were encountered: