Coder Social home page Coder Social logo

Comments (6)

VictorPhilipp avatar VictorPhilipp commented on July 2, 2024

I would strongly assume that this is caused by another mod. Could you please post your TMPE.log and output_log.txt in here right after you encountered these issues?

from cities-skylines-traffic-manager-president-edition.

CRCinAU avatar CRCinAU commented on July 2, 2024

In other news, after the 1.8.9 update, the 'set defaults' button doesn't even bring up a window.... Before I go hunting, does it matter if this is on Linux instead of Windows?

from cities-skylines-traffic-manager-president-edition.

CRCinAU avatar CRCinAU commented on July 2, 2024

TMPE.log.txt

Looks like one culprit:

[Info] @ 1380858 OnBeforeLoadData: SpeedLimitManager
[Error] @ 2291669 OnLoadData: Error while initializing SpeedLimitManager: System.NullReferenceException: Object reference not set to an instance of an object
  at TrafficManager.Manager.SpeedLimitManager.OnBeforeLoadData () [0x00000] in <filename unknown>:0 
  at TrafficManager.State.SerializableDataExtension.OnLoadData () [0x00000] in <filename unknown>:0 
   at TrafficManager.Log.LogToFile(System.String log, LogLevel level)
   at TrafficManager.Log.Error(System.String s)
   at TrafficManager.State.SerializableDataExtension.OnLoadData()
   at SerializableDataWrapper.OnLoadData()
   at SimulationManager.LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at SimulationManager.Managers_LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at LoadingManager+<LoadSimulationData>c__Iterator7B.MoveNext()
   at AsyncTask.Execute()
   at SimulationManager.SimulationStep()
   at SimulationManager.SimulationThread()

and maybe another:

[Info] @ 3273057 Loading State from Config
[Warning] @ 3276450 Priority segments data structure (old) undefined!
   at TrafficManager.Log.LogToFile(System.String log, LogLevel level)
   at TrafficManager.Log.Warning(System.String s)
   at TrafficManager.State.SerializableDataExtension.LoadDataState(Boolean ByRef error)
   at TrafficManager.State.SerializableDataExtension.DeserializeData(System.Byte[] data)
   at TrafficManager.State.SerializableDataExtension.OnLoadData()
   at SerializableDataWrapper.OnLoadData()
   at SimulationManager.LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at SimulationManager.Managers_LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at LoadingManager+<LoadSimulationData>c__Iterator7B.MoveNext()
   at AsyncTask.Execute()
   at SimulationManager.SimulationStep()
   at SimulationManager.SimulationThread()

in fact, there's a couple more like that too

Can't seem to find an output_log.txt present.

from cities-skylines-traffic-manager-president-edition.

VictorPhilipp avatar VictorPhilipp commented on July 2, 2024

Many thanks for your logfile! It seems that one of your mods (maybe Network Extensions) adds an erroneous road type to the game but I am not 100% sure.

Although I have been unable to reproduce your issue (I enabled the exact same mods you are using) I have checked the relevant parts of TMPE and implemented additional checks. I would claim that the error should be fixed by now. Let me know if it still occurs for you.

In any case, I would be happy if you could send me your TMPE.log file again (after trying again, of course). I am interested in which condition caused the problem (I added some new debugging info that tells me what goes wrong).

The other warnings you see are absolutely harmless.

from cities-skylines-traffic-manager-president-edition.

CRCinAU avatar CRCinAU commented on July 2, 2024

I can confirm that 1.8.11 fixes the issues.

TMPE.log.txt

There's still a couple of warnings, but the speed limits were loaded correctly as soon as I loaded the game.

I guess the good part is:
[Info] @ 4615193 Loading lane speed limit data. 3393 elements

from cities-skylines-traffic-manager-president-edition.

VictorPhilipp avatar VictorPhilipp commented on July 2, 2024

Yeah! Thanks for your time and for helping me fixing this issue! :-)

from cities-skylines-traffic-manager-president-edition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.