Join Nostr
2025-10-28 15:35:47 UTC
in reply to

Yuri :godot: on Nostr: nprofile1q…wzjcm You see, when you instantiate the scene, `_init` is too early to ...

You see, when you instantiate the scene, `_init` is too early to access child nodes, since it is called before the packed scene's tree is reconstructed.

But `_ready` is pretty late, because nodes are available by the time you receive `NOTIFICATION_SCENE_INSTANTIATED`, which happens way sooner. In fact, in code it is just one line — it all happens within the `.instantiate()` call.

By the time you call

inst.some_text = "Hi"

you can already update the label, if you fetch the reference.