If a unit is executing movement called via the unitPlay function, it will fail upon loading a saved game and the unit will resume it's previous behaviour. I am not sure if this will cause mission breaking problems in official content, but it does prevent the function from being used at any point where the player can save their game.
I don't know when this crept in, but it probably needs a look :)