I got an error after following the lecture: NullReferenceException: Object reference not set to an instance of an object
Pathfinder.Awake () (at Assets/Pathfinding/Pathfinder.cs:24)
my Awake method:
void Awake()
{
{
grid = gridManager.Grid;
}
startNode = new Node(startCoordinates, true);
destinationNode = new Node(destinateCoordinates, true);
}