Cities: Skylines

Cities: Skylines

81 Tiles 2
antoleo 2022 年 12 月 31 日 上午 4:44
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
< >
正在显示第 1 - 7 条,共 7 条留言
MarzEz 2022 年 12 月 31 日 下午 11:02 
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 2023 年 1 月 1 日 上午 7:05 
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  [开发者] 2023 年 1 月 2 日 下午 8:16 
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 2023 年 1 月 13 日 上午 9:09 
I've seen the same bug in my game:
Division by zero [System.DivideByZeroException]
最后由 Offka 编辑于; 2023 年 1 月 13 日 上午 9:10
algernon  [开发者] 2023 年 1 月 13 日 下午 2:48 
Same answer.
antoleo 2023 年 1 月 15 日 上午 12:53 
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  [开发者] 2023 年 1 月 15 日 上午 2:29 
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.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50