"get_node: Node not found: relative to" but scene still plays and works

Godot Version



Everything works in the scene but I don’t understand how this error occurs.

Setup: 2 scenes, player and weapon

The weapon scene and its animationplayer is a child of the player scene that plays a animation keyed from player scenes nodes and triggered from weapon scene’s script. The pathways are set in the weapons script and the scene works but I feel like the weapon scene has to instantiate in the players onready script?

Solved: Go to the weapon scenes editor and assign parent skeleton.