Maybe this is a more easily understandable message of my situation:

I am able to save my game using game_save(). I can even successfully load the game I saved using game_load. However, if I saved a game while the player was in the same level as an entity that uses ent_movepath() to move along a certain path by default, I get errors when I try to load the game I saved, as shown:

Code:
Malfunction W1508
Can't load test7.SAV
OK          Cancel



Once I click OK on this pop-up bug, another pop-up bug immediately comes up saying:

Code:
Error E1515
Invalid function arguments in ent_placefloor
OK                   Cancel



When I press OK on this bug, I get another bug that immediately pops up as shown:

Code:
Error E1515
Invalid function arguments in ent_movepath
OK               Cancel



The two bugs above repeat themselves back and forth infinitely, every time I click their OK buttons.

When I comment out the ent_movepath() function calls for the entities in the level, I do not get the above bugs anymore when saving and loading the game in that level. I am able to save and load the game just fine.

Has anyone else come across this situation? Can the game be saved in a level containing an entity that uses the ent_movepath() function to move along a certain route by default?