Cities: Skylines

Cities: Skylines

View Stats:
ccRichecat Jul 6, 2021 @ 4:26am
How to fix "Array index is out of range"?
My game doesn't work because of that and I have know idea whats happened.
It shows:
"A Mod caused an error [ModException]

Details:
System.IndexOutOfRangeException: Array index is out of range.
at OptionsMainPanel.AddUserMods () [0x00000] in <filename unknown>:0 "

I tried to understand what is "OptionsMainPanel.AddUserMods", is that one of my subscribed mod or something. :Tinymosad:

Output_log.txt: https://drive.google.com/file/d/1kLpnygP-7TV-b4R3oOuRHNfSFRI7Lz1X/view?usp=sharing

The mods I subscribed: https://steamcommunity.com/workshop/filedetails/?id=2540948362

Thank you very much.

Update 1/20/2023
Here's a list might be useful to you, about the broken mods:
https://docs.google.com/spreadsheets/d/1mVFkj_7ij4FLzKs2QJaONNmb9Z-SRqUeG6xFGqEX1ew/edit#gid=0
Last edited by ccRichecat; Jan 20, 2023 @ 2:31pm
< >
Showing 1-15 of 18 comments
MaxFX Jul 6, 2021 @ 5:56am 
If you use mods, ckeck this list: https://docs.google.com/spreadsheets/d/1mVFkj_7ij4FLzKs2QJaONNmb9Z-SRqUeG6xFGqEX1ew/edit#gid=0

Maybe you're useing an outdated mod. In the list are possible alternatives listed as well.
ccRichecat Jul 6, 2021 @ 6:11am 
Thank you very much, I'll check it.
ccRichecat Jul 8, 2021 @ 4:26am 
I checked it and looks like it's not this problem...
If you can post the output_log.txt (called player.log on Mac and Linux) from a fresh load, someone might be able to analyze it.
Here's where to find the log depending on your operating system. To easily find the local files for the game, right click your game in the Steam library, select Properties, go to the Local Files tab and select Browse local files.

Windows
<SteamFolder>\SteamApps\common\Cities_Skylines\Cities_Data\output_log.txt

Mac OS X
Users/<username>/Library/Logs/Unity/Player.log

Linux
~/.config/unity3d/Colossal Order/Cities: Skylines/Player.log
BucketBrain Jul 8, 2021 @ 5:35am 
Suggestion
Put all your mods (no assets) into 1 collection , set it to public and share the link here
ccRichecat Jul 8, 2021 @ 5:38am 
Originally posted by Verullus Forgefire:
If you can post the output_log.txt (called player.log on Mac and Linux) from a fresh load, someone might be able to analyze it.
Here's where to find the log depending on your operating system. To easily find the local files for the game, right click your game in the Steam library, select Properties, go to the Local Files tab and select Browse local files.

Windows
<SteamFolder>\SteamApps\common\Cities_Skylines\Cities_Data\output_log.txt

Mac OS X
Users/<username>/Library/Logs/Unity/Player.log

Linux
~/.config/unity3d/Colossal Order/Cities: Skylines/Player.log
Got it, thank you very much.
ccRichecat Jul 8, 2021 @ 5:39am 
Originally posted by BucketBrain:
Suggestion
Put all your mods (no assets) into 1 collection , set it to public and share the link here
Thank you!!!
ccRichecat Jul 8, 2021 @ 6:33am 
Ok, I just posted it. Thank you again.
Vrcdie Oct 23, 2021 @ 12:55pm 
解决了吗?是什么问题
nemesis Oct 23, 2021 @ 2:37pm 
I had this issue and it came from the mod hide it. Once removed and replaced with hide it bobby no longer have that error
ccRichecat Oct 23, 2021 @ 6:45pm 
Originally posted by Vrcdie:
解决了吗?是什么问题
解决了 我把所有mod一个个筛选 找出了有问题的 禁用就解决了
ccRichecat Oct 23, 2021 @ 6:46pm 
Originally posted by nemesis:
I had this issue and it came from the mod hide it. Once removed and replaced with hide it bobby no longer have that error
Yes, I found it out and fixed it, thank you.
Decimation Oct 23, 2021 @ 9:14pm 
I currently have a save that , probably because of "Move It" and monorail tracks being adjusted, has deleted my city, eg,,it loads but doesnt render, its a a node out of place im guessing,, help?
nemesis Oct 23, 2021 @ 9:18pm 
@Decimation try using loading screen mod and loading your save in safe mode found in the loading screen mod options before you load your save
zhd89110 Jan 20, 2023 @ 10:38am 
Originally posted by ccRichecat:
Originally posted by Vrcdie:
解决了吗?是什么问题
解决了 我把所有mod一个个筛选 找出了有问题的 禁用就解决了

版主您好 請問該如何具體一個個篩選MOD呢?? 遊戲加載時間很長... 沒辦法一個個打開測試...
謝謝
< >
Showing 1-15 of 18 comments
Per page: 1530 50

Date Posted: Jul 6, 2021 @ 4:26am
Posts: 18