Data is serialized in JSON when it's saved.
When you save the $gameActors, and then you load them from the save file, they are still Game_Actor objects.
However, for my custom objects such as grid data, etc, they just get turned into Object and lose all the functions and stuff.
So it crashes when it tries to access it like a specific instance of a class, because it lost all that information when it was serialized.
Example: Game_Map has an array of Game_Vehicle objects stored as $gameMap._vehicles. When the map is saved and loaded, they're still Game_Vehicle objects.

Whereas for me, my objects get wiped out

When you save the $gameActors, and then you load them from the save file, they are still Game_Actor objects.
However, for my custom objects such as grid data, etc, they just get turned into Object and lose all the functions and stuff.
So it crashes when it tries to access it like a specific instance of a class, because it lost all that information when it was serialized.
Example: Game_Map has an array of Game_Vehicle objects stored as $gameMap._vehicles. When the map is saved and loaded, they're still Game_Vehicle objects.

Whereas for me, my objects get wiped out

Last edited: