Hi.
https://www.dropbox.com/s/rdzewts23g750o8/testTilemap.capx?dl=0
In this example:
1 - The tileset of the tilemap object is changed.
2 - The state of the tilemap object is saved in JSON
3 - The tileset of the tilemap object is changed again
4 - Retrieve tilemap object status with JSON
5 - The tileset that now has the tilemap object does not correspond to the one that was in the moment in which its state was saved.
To take the test:
1 - Press the space bar to change the tileet of the tilemap object
2 - Press the "S" key to save the state of the tilemap object in JSON
3 - Press the "M" key to change the tileset of the tilemap again, this is so that when the status is restored in the next step, the correct tileset that the object was in the moment of saving its state is visible.
4 - Press "L" to load the state of the tilemap object in JSON format
It is observed that the tileset of the tilemap object has not changed and the one that it has does not correspond with the one that was in the moment of saving its state in JSON
Summary
The tilemap object does not correctly store its state in JSON.
The tilemap object does not retrieve its JSON state correctly.