Changing nullable reference to array types to remove warning
Removing unsafe arrays
Renaming core_id -> tile_id