joaofarias / csl-traffic

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

Pre-patch pathfinder error #72

Open originalfoo opened 9 years ago

originalfoo commented 9 years ago

Posted on main T++ workshop description tab:

2006.mib 30 Jun @ 5:39pm Recently game crashed with theese strings in output.log:

Path find error: Argument cannot be null.

Parameter name: obj
at System.Threading.Monitor.TryEnter (System.Object obj, Int32 millisecondsTimeout) [0x00000] in <filename unknown>:0 
at CSL_Traffic.RoadManager+Lane.GetConnectionsAsArray () [0x00000] in <filename unknown>:0 
at CSL_Traffic.RoadManager+Lane.VerifyConnections ()
.....
at CSL_Traffic.CustomPathFind.PathFindImplementation (UInt32 unit, .PathUnit& data) [0x00000] in <filename unknown>:0 
at CSL_Traffic.CustomPathFind.PathFindThread () [0x00000] in <filename unknown>:0 [Core]

Unfortunately, comments longer than 1000 symbols are not allowed, so I cannot provide full stacktrace here. I'm not shure, but looks like this mode caused crash.

originalfoo commented 9 years ago

This is likely what causes #56