Traffic Manager 11 for Cities: Skylines Help

Array Index - Symptom 10

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 GeneratedScrollPanel.IntializeUIAssetFilters

You might notice issues like this in the build menus (particularly healthcare):

Healthcare panel issue

Cause

This error is known to be caused by the Nursing Homes for Senior Citizens mod, which also sometimes causes game-breaking [[System.StackOverflowException]] errors.

debug image
Image taken from dnSpy debugger while tracking down source of array index error

See also: BoostHungry/SeniorCitizenCenterMod/issues/2

Solution

  • Unsubscribe the Nursing Homes for Senior Citizens mod

  • Unsubscribe any assets it uses (retirement homes, nursing homes, hospice, etc.)

  • Exit to desktop then restart the game

Was it Fixed?

If not, see other causes of Simulation error Array index is out of range.

Other issues? See: 👉 Troubleshooting

Last modified: 09 June 2024