Why is my file path null? Need help fast!

Godot Version

Godot 4.3.stable

I have a Node2d named meadow that isn’t the root of the scene, but under it is a Node2d called Spawners and another Node2d under that called Spawner1.

I have: @onready var spawner1 = $Spawners/Spawner1

But when I try to use it for anything I get an error telling me it’s null. The path is correct. I even tried print(spawner1), and it printed

I’m doing a game jam and I’m on a time crunch! Please answer fast!

Share the whole script that is throwing you an error and a screenshot of your scene structure.

1 Like

Thanks for your willingness to help! I tried messing around and it’s working now!

1 Like