joaofarias / csl-traffic

A WIP mod for Cities: Skylines to improve traffic.
90 stars 30 forks source link

Error editing bus routes in ghost mode #56

Open originalfoo opened 9 years ago

originalfoo commented 9 years ago

https://www.reddit.com/r/CitiesSkylines/comments/385p5o/traffic_causes_trucks_not_to_spawn/crsjuar

When you select the bus stop option, and move over any road, an error comes up. This happens in ghost mode.

I've asked for log files.

originalfoo commented 9 years ago

http://www.reddit.com/r/CitiesSkylines/comments/384zvw/update_traffic_bug_fix_release/crsnoxi

I encountered another bug while in the ghost mode. Tried to add new bus lines and got an error message. Couldn't add any new bus lines anymore. I exited out of the 'add line' interface and everything went back to working just fine. It seems to only be something with adding lines. Idk

originalfoo commented 9 years ago

Of I turn it into ghost mode, and try to place a bus stop, I get a nullreferenceexception. If I disable ghost mode, it works.

https://www.reddit.com/r/CitiesSkylines/comments/39834c/computer_horsepower_issues_traffic/cs1oqje

justjanne commented 9 years ago
Tool error: Object reference not set to an instance of an object
  at NetManager.CreateNode (System.UInt16& node, ColossalFramework.Math.Randomizer& randomizer, .NetInfo info, Vector3 position, UInt32 buildIndex) [0x00000] in <filename unknown>:0 
  at TransportLine.CreateNode (UInt16 lineID, System.UInt16& node, Vector3 position, Boolean fixedPlatform) [0x00000] in <filename unknown>:0 
  at TransportLine.AddStop (UInt16 lineID, Int32 index, Vector3 position, Boolean fixedPlatform) [0x00000] in <filename unknown>:0 
  at TransportTool.EnsureTempLine (.TransportInfo info, UInt16 sourceLine, Int32 moveIndex, Int32 addIndex, Vector3 addPos, Boolean fixedPlatform) [0x00000] in <filename unknown>:0 
  at TransportTool.SimulationStep () [0x00000] in <filename unknown>:0 
  at ToolManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0   [Core]

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)
joaofarias commented 9 years ago

justjanne, can you please give me the whole log?

justjanne commented 9 years ago

Sorry, I can’t reproduce the error currently – as soon as I am able to reproduce it, I’ll post a log, though.

originalfoo commented 9 years ago

Another report of this bug, have asked for log file:

http://steamcommunity.com/app/255710/discussions/0/530646715634045687/

wygu commented 9 years ago

Hi all, I've got same error than justjanne. This happends only when bus lane's edit mode is activated, and when cursor going hover any bus lane.

My log stands at http://pastebin.com/vFv3iYMC. I hope you'll find something usefull.