Cities: Skylines

Cities: Skylines

Loading Screen Mod
Chickerino 2018년 7월 24일 오후 6시 24분
Simulation error
So I haven't changed anything, and this error just randomly started to show up, Argument out of range parameter index. https://old.reddit.com/r/CitiesSkylines/comments/91l1x3/loading_error/ i explain the rest here
< >
전체 댓글 19개 중 1~15개 표시 중
SGeanie 2018년 7월 29일 오전 6시 00분 
Hi, I have this too. It only happens when I exit the game to the main menu and try to reload the game for a second time. For me restarting the game resolves this
thale5  [개발자] 2018년 9월 3일 오전 10시 13분 
Exceptions from the simulation thread mean that you have some obsolete mods or the savegame is corrupted. I cannot be more specific because the error message is completely general.

Loading with different savegames and disabling mods until it works are the standard procedures.

Notice that many mods do not support reloading from the in-game menu (different city) or the main menu (any city). So those kind of problems are expected.

Sorry for the very late reply.
Chickerino 2018년 9월 3일 오후 12시 04분 
Thanks for the reply, turns out my save file got corrupted and I had to start a new one.
NanoGrrl 2018년 10월 23일 오전 11시 56분 
Not sure which mods misbehave, but I've noticed this as well. So, just quit to desktop and reload. Takes a while (with my asset collection), but everything behaves nicely. Thale5, thanks for the info. Much obliged. :)
Kielo 2018년 12월 14일 오후 10시 23분 
Greets from Asia, and I have also come across the same exception says "Simulation failed:Argument is out of range"(sometimes with parameter index?). It seems always appears when I quit from one game and load another, whether loding a save or a new map.

I thought it was mod conflict issue, and then when I disabled the "81 Tiles" mod, the exception doesn't appear anymore. So I think maybe the assets/mod reloading (or sharing?) part is somewhat uncompatible with the 81 Tiles mod.(maybe applied twice or sth)

Forgive my poor English (as I'm non-native speaker at all), and hope my issue can be useful for you. Thanks a lot :)
thale5  [개발자] 2018년 12월 15일 오전 12시 57분 
@Lanture "Argument is out of range" is a generic error message and basically means "something went wrong". In your case, however, the solution is a known one: 81 Tiles does not support reloading another map. Users of 81 Tiles must exit to Desktop before reloading.
Kielo 2018년 12월 15일 오전 3시 07분 
@thale5 although seems to be a little bit inconvenient, thanks for your reply! :)
thale5  [개발자] 2018년 12월 15일 오전 6시 50분 
@Lanture Inconvenient, yes, but hardly my fault.
mirkozp 2019년 1월 8일 오후 2시 47분 
Dear friend, I have no more tears for this game. One upgrade, one city (60K civs and 1 year of work..) destroyed. The error handling is poor. Your mod is useful , but I wish to understand it better (I'm a professional sw developer, but in the wrong language, Abap ;) ). Did you have any suggestion (book, pdf,..) for my training in output log analysis? Now I see the "classic" error (Object reference not set...) followed by:
1. ..at RoadBaseAI.CanEnableTrafficLights (UInt16 nodeID, .NetNode& data) [0x00000] in <filename unknown>:0
2. [LSM] PoliciesPanel not initialized yet. Initializing at 1065917
3. at RadioPanel.AssignStationToButton (ColossalFramework.UI
4. Cannot set relative position without a parent Transform. (repeated)
5. LOD has no base:(repeated)

Maybe the problem is Transport Lines Manager or Procedural Objects.. ?
Thanks you again !
PS: My game is not upgraded, only mandatory patches.
thale5  [개발자] 2019년 1월 8일 오후 11시 13분 
@mirkozp The clues in output_log.txt are usually subtle. The above summary is even harder to analyze. The first serious looking exception is the best starting point. 1. definitely looks like one.

Maybe you already googled RoadBaseAI.CanEnableTrafficLights. It is a tough one. I'll take a look at game codes later today but don't expect too much.
thale5  [개발자] 2019년 1월 9일 오후 1시 54분 
@mirkozp If you get a null pointer exception from RoadBaseAI.CanEnableTrafficLights, then one of your road segments has a null NetInfo. NetInfo is the road model that describes the type of the road. It can be built-in, a road asset, or from Network Extensions 2. But now it is null.

Unfortunately the null check and try-catch is missing in that method. Obviously a dev oversight.

I was thinking I could write a small mod that adds the null check. I cannot guarantee it will solve all problems. Maybe the save is too badly damaged.

Your question about book or pdf: I suppose such short cuts are not possible. It's all about knowing the game codes (and some mod codes, too). Luckily the game is very accessible for mod activities: Visual Studio Community is free, .NET disassemblers are free and good, C# is nice to work with.
mirkozp 2019년 1월 9일 오후 4시 41분 
Thank you for the answer, your help is useful and I'll take a look at the links you mentioned. I still don't understand why a savegame becomes unstable at a certain point without upgrading. Did you think it could be possible a mod that bypasses the null exception, maybe translating the broken asset in a "default" or deleting it from the save (empty space is better than a crash) ? It should be a standard behavior imho..
thale5  [개발자] 2019년 1월 9일 오후 10시 26분 
@mirkozp Why a savegame becomes unstable: sw bugs, I guess. No-one has been able to pinpoint this one to any mod, so it could be a base game bug.

The problem here is the road segment(s) that have null NetInfo. The mod I was thinking about could either:
1. just avoid the null pointer crash, or
2. avoid the crash AND remove the faulty segment.

The problem with 1. is that the faulty segment may crash some later method during city setup.
The problem with 2. is that segment removal may confuse some later method.

As I cannot test the behavior here, I'll probably create a small mod that does 1.
thale5  [개발자] 2019년 1월 10일 오전 10시 10분 
@mirkozp
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1620588636

If you try the mod, let me know what is in your output_log.txt.
mirkozp 2019년 1월 10일 오전 10시 48분 
Thank you! Yes , I have the Crossings mod unfortunately but I'll try the mod anyway..
cout << "I've started my C++ lessons"; ;)
< >
전체 댓글 19개 중 1~15개 표시 중
페이지당 표시 개수: 1530 50