Whops it looks like I forgot to add some checks to the switching code where it will switch the ramp but then also check for other objects after swapping out the original, which is what causes the crash. I'm not sure why it would mess up the save file though, but you can try with the fix on v2.1.1 to see if it helps.
This fixed the magnet ramp switching mode, BIG FIX! Many thanks! But the entire save is still permanently desync'd and is unplayable in multiplayer. I'm going through all the manual work now to see which mod is actually creating the desync issue, but all I know as of now is the entire save for the last 20 hours of gameplay has been flawless until I ran into that bug the first time.
EDIT: After the first batch of assessing the issues with desync on the server, I have came to the conclusion that the mods causing the desync is kuxynator's Zooming Reinvented Running Mod and/or their required library.