Array Index - Symptom 2
Symptom
You will see this error:
Simulation error: Array index is out of range.
In the log file, you'll see one of the following below the error:
at PassengerTrainAI.SimulationStep ...
or
at PassengerTrainAI.StartPathFind ...
or something similar starting with
at PassengerTrainAI
or
at MetroOverhaul.Detours.PassengerTrainAIDetour.StartPathFind
Cause
This appears to be caused by the Metro Overhaul Mod.
It appears that MOM is not correctly handling deletion of metro assets or routes (we don't know enough about MOM to say for sure). For background information, see Issue #82, also see Steam discussion.
Solution
First, try this:
Subscribe and enable Loading Screen Mod (LSM)
In LSM mod options, enable the Safe Mode settings
Load your save
If it works, save under new name, exit game to desktop, then relaunch, and it should be fine after that (until MOM breaks again)
If that doesn't work, however:
Enable Ghost Mode in MOM mod options
Load the save that has the problem
All MOM stuff will be disabled due to Ghost Mode
Save the game under new name
Exit to desktop
Re-launch the game and load the newly created save
If that doesn't work:
Exit to desktop
Launch Cities: Skylines again
Load a saved game that was created before you encountered the error
If it still doesn't work, you'll have to ask the developers of MOM mod for help.
Was it Fixed?
If not, see other causes of Simulation error Array index is out of range.
Other issues? See: 👉 Troubleshooting