0 votes

I'm using SceneTreeTween from c# to add an effect to a node that gets hit by a game explosion. However what can happen is, the node can sometimes be killed off by a 2nd game explosion causing QueueFree to be called before the tweener actually starts and I get a warning saying the node was freed before the tweening can start. How serious is this warning? Can I safely ignore it? I've tried binding the node, but I think since it gets freed before the tweening starts it has no effect. Since the freeing happens after the tween is created I can't check if the node was "killed" or if the object is valid etc... before adding the tweener, and I see no way to clean up tweeners on a node when freeing it.

Godot version 3.5 stable
in Engine by (16 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.