OK, I got the solution. It wasn’t in the context, but with the help of this forum post, I was able to understand what I was doing wrong :
First : to understand the solution, I changed the disposition to this
Alright. You see “Main” ? It uses a script called Map.cs. Here’s what was causing an issue :
public partial class Map : TileMapLayer{
...
public ArrowPath ArrowSet = new();
...
}
Don’t see it ?
It’s precisely the “new();” that was messing everything. Because if it creates a C# instance, it doesn’t create a node, nor call the one already present
How to fix it ? Simple.
public partial class Map : TileMapLayer
{
public ArrowPath ArrowSet;
// Called when the node enters the scene tree for the first time.
public override void _Ready()
{
// OnReady :
ArrowSet = GetNode<ArrowPath>("ArrowPath");
}
}
This way, I am sure that I get the node
Still, thank you for your help
