Getting a error when i add coordinates of a blocked tile

Hi verse,

We generate the keys for the dictionary in the CreateGrid method. There is a for-loop which generates coordinates starting from 0 to some value. Maybe that value is not high enough, so (2, 3) was not generated and added to the dictionary.

Please use Debug.Log to see what’s going on at runtime.


See also: