Hello,
For some reason, I am getting a null reference exception on the ShowGridPositionList call
private void UpdateGridVisual()
{
HideAllGridPosition();
Unit selectedUnit = UnitActionSystem.Instance.GetSelectedUnit();
BaseAction selectedAction = UnitActionSystem.Instance.GetSelectedAction();
ShowGridPositionList(selectedAction.GetValidActionGridPositionList());
}
It looks like the UnitActionSystem is not running, earlier in the course we had added it to the project settings so it runs first. I am not understanding how it happened or how to fix it.