Am I doing something wrong with yield or is there a bug with the engine?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By antoniodev

Can someone help, I really don’t think I have anything wrong, but still I get this error message.

Thanks for any help.

:bust_in_silhouette: Reply From: exuin

You are missing a closing parenthesis on create_timer().

yield(get_tree().create_timer(spawnRate), "timeout")

Thank you for your help.

antoniodev | 2021-06-24 17:26