Godot Version
4.3
Question
I have been making a rhythm game for the Pirate Software game jam and came to a stop as I was following a tutorial and
the code stopped working
4.3
I have been making a rhythm game for the Pirate Software game jam and came to a stop as I was following a tutorial and
Its not clear at how falling_key_queue is managed, but your error indicates you are referencing something that has been freed.
My guess is that a falling key is queued_free() from the scene and the queue has not been managed properly and is still referencing the freed scene.
Since the code is related to a missed key, im wondering if the key has been fully removed before the queue has been updated.
You can check if a resource is valid before use with is_instance_valid(<oblect>)