corey-martin/grid-game-groundwork

Error when clearing/loading a level at runtime

corey-martin opened this issue · 0 comments

  • Enter play mode
  • Clear the level
  • Load a level
  • Move, then press undo

MissingReferenceException: The object of type 'Move' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object.
in line 43 in State.cs