[Edit: Deleted MapNav and reinstalled and the error was gone]
I’m not sure why this is happening, but I’m getting this error when clicking any tile.
NullReferenceException: Object reference not set to an instance of an object
which is pointing to this line:
Sample4Tile n = map.NodeAtWorldPosition(hit.point);
When using Debug it’s clicking the correct tile, however it’s like the Sample4Tile isn’t present. I’ve even tried re-generating a new grid.
I’m curious if anyone has encountered this before and what they did?