-
Notifications
You must be signed in to change notification settings - Fork 85
Array Index Symptom 4
Article verified: January 2020
This is one cause of the Simulation error Array index is out of range error.
You will see this error on screen or in log file:
Simulation error: Array index is out of range.
In the log file, find that error and beneath it you should see:
at WaterSimulation.LockWaterSource ...
Known causes of this error:
-
Immersive Water
- The log file will probably contain:
at WaterFacilityAI.HandleWaterSource ...
- The log file will probably contain:
-
Climate Control conflicts with IPT2
- The log file might contain:
at ImprovedPublicTransport2.Detour.VehicleManagerMod.ReleaseWaterSource ...
- For background information, see this topic or this topic.
- The log file might contain:
-
More Vehicles conflicts with IPT2
- The log file might contain:
at ImprovedPublicTransport2.Detour.VehicleManagerMod.ReleaseWaterSource ...
- For background information, see Issue #450
- The log file might contain:
Note: Your log file might also include something like this:
at TrafficManager.Custom.AI.CustomCommonBuildingAI.CustomSimulationStep ...
While
TrafficManager
is mentioned in the extended error message, it's not the cause of the error, just affected by it.
If you were using Immersive Water mod:
- Unsubscribe Immersive Water mod
- Exit to desktop, then relaunch the game
If you were using Climate Control mod:
- Unsubscribe Climate Control mod
- Exit to desktop, then relaunch the game
If you were using More Vehicles mod:
- The save will not work without More Vehicles mod as it has already changed to the new vehicle limit
- You'll have to unsubscribe IPT2 and any other mods that can't handle larger vehicle limit
- I'm not currently aware of any way to revert back to the vanilla vehicle limit (although you could try LSM Safe Mode described below)
If problems persist, try using LSM Safe Mode options :
- Subscribe and enable Loading Screen Mod (LSM)
- In LSM mod options, enable the "Safe Mode" options then load your save game
- This tries to avoid and ignore errors, and will also try clearing lists of vehicles and cims, fix broken roads, etc.
- If it works, save the game under a new file name, then exit to desktop - next time you load it up it should work fine
If not, see other causes of Simulation error Array index is out of range.
Other issues? See: Troubleshooting
Red links are broken; this wiki is a work in progress
Getting Started (click to open)
Troubleshooting / Bugs (click to open)
- Hints Panel
- Road & Rail:
- Junctions:
- Despawning:
- Info Views:
- Roads/Tracks:
- Nodes, Segments, Lanes
- Collector Roads
- Dedicated Turning Lanes
- Enter Blocked Junctions
- High Priority Roads
- Highway Junction Rules
- Lane Changes
- Pedestrian Crossings
- Priority Routes
- Road Conditions
- Roundabouts
- Roundabout Policies
- Stay in Lane
- Turn on Red
- U-Turns
- Unprotected Turns
- Vehicle Restriction Aggression
- Public Transport:
- Vehicles:
Todo: