Cities: Skylines

Cities: Skylines

81 Tiles 2
antoleo 31 Dec, 2022 @ 4:44am
Divide by zero & Array index errors
Hi all.
I would report about an issue which appeared after the last mod update, that is: this two error messages are appearing continously while running the game:

>>
Division by zero [System.DivideByZeroException]

Details:
No details"
<<

>>
Array index is out of range. [System.IndexOutOfRangeException]

Details:
No details
<<

Is anyone else experiencing the same problem?
Any idea about a possible solution?
I have to mention that the problem appears only if 81 tiles 2 is active. Otherwise, the simulation runs smoothly.

If needed, here it is my latest output_log file: https://drive.google.com/file/d/1QiCzcZpeB8HGwo-Pf71VCWAQpDZPjia3/view?usp=share_link
< >
Showing 1-7 of 7 comments
MarzEz 31 Dec, 2022 @ 11:02pm 
I've seen the same issue with the original 81 tiles mod. Cities:Skylines have obviously changed something that these extra tiles mods reference.
occulti 1 Jan, 2023 @ 7:05am 
I confirm it happened to me too. I personally got this message :(

"Array index is out of range. [System.IndexOutOfRangeException]"

I started a city with the mod on, then saved it, next time I wanted to play, I get this error. When I disabled the mod, I still get the error, and now I cannot access that city because I get a popup with that error message forever... :(
algernon  [developer] 2 Jan, 2023 @ 8:16pm 
The original 81 tiles mod hasn't worked since the 1.15 game update (which is why this one was developed as a functional replacement).

Your log shows multiple broken mods throwing errors: Compass mod, Trees Respiration, etc. Also Real Time is showing isses, too (known: it needs updating).

Unusb (not just disable) those mods and see if the issue persists. If it does, post an updated log without those mods and I'll take a look (at the moment there's too much error spam from those mods for me to be able to pick out anything else).
Offka 13 Jan, 2023 @ 9:09am 
I've seen the same bug in my game:
Division by zero [System.DivideByZeroException]
Last edited by Offka; 13 Jan, 2023 @ 9:10am
algernon  [developer] 13 Jan, 2023 @ 2:48pm 
Same answer.
antoleo 15 Jan, 2023 @ 12:53am 
Hi algernon.
Thank you for your answer and for your work.
After a careful check, I could say that:
1. The "division by zero" error was related to some districts which were broken. I had to cancel them from one corner of the map where they were "moved" and after redrawing everything was fine.
2. The problem was not on the mods you mentioned, since it was still present after unsubscribing them. Anyway, the problem disappeared by itself just after few days. Maybe it was some other mod conflicting which has been then updated and fixed.
Thus, I think I can not help understand which was the source of the error.
algernon  [developer] 15 Jan, 2023 @ 2:29am 
That does indeed sound like old corrupted district data. Note that incompatible mods can still cause that if the save was saved when they were still active, even if they're later unsubscribed.
< >
Showing 1-7 of 7 comments
Per page: 1530 50