CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
575 stars 85 forks source link

UI only loads every other time #877

Closed cnolson closed 4 years ago

cnolson commented 4 years ago

Describe the problem

Since Sunset Harbor, when I click the TM:PE button in-game, the UI will only load every other time I run the game. The first time I run, I click the button, the button turns blue, but no UI box appears. If I quit and relaunch the game, the UI displays as usual.

Since downloading Sunset Harbor, I have unsubscribed all mods, uninstalled the game, reinstalled, and subscribed to fewer mods, but I get the same result. It happens regardless of the save game I open.

Steps to reproduce

  1. Open game, open save
  2. Click TM:PE button. No UI
  3. Quit, relaunch, reload
  4. Click TM:PE button, opens as usual.

Log files

Player.log

Savegame?

https://steamcommunity.com/sharedfiles/filedetails/?id=2079899613

Screenshots?

Notes or questions?

krzychu124 commented 4 years ago

Could you post TMPE.log from game when UI doesn't load?

cnolson commented 4 years ago

The log I posted was taken immediately after I opened the game and did not have the UI load.

On Thu, Apr 30, 2020 at 8:13 PM Krzysztof notifications@github.com wrote:

Could you post TMPE.log from game when UI doesn't load?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CitiesSkylinesMods/TMPE/issues/877#issuecomment-622214812, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNBEEOBL2LEZYER4IWIVVTRPIV3JANCNFSM4MWZJXJQ .

krzychu124 commented 4 years ago

Ok, but we need also a log from the mod which is named TMPE.log (https://github.com/CitiesSkylinesMods/TMPE/wiki/Share-your-Cities-Skylines-log-file)

cnolson commented 4 years ago

My apologies, I misread your email.

TMPE.log

cnolson commented 4 years ago

I had been playing the game, quit the game. quit Steam. relaunched Steam, and relaunched the game. The issue occurred again, and that is the log file I have sent.

krzychu124 commented 4 years ago

Ok, no errors but I suspect menu is somehow out of your screen. Try resetting global config - when you load saved game go to mod options Maintenance tab and click 'reset global config'. That should revert position of menu to default values

AllegedlyLuca commented 4 years ago
NullReferenceException: Object reference not set to an instance of an object
  at TrafficManager.LoadingExtension.OnReleased () [0x00000] in <filename unknown>:0 
  at LoadingWrapper.OnLoadingExtensionsReleased () [0x00000] in <filename unknown>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
LoadingWrapper:OnLoadingExtensionsReleased()
LoadingWrapper:Release()
LoadingManager:ReleaseRelay()
LoadingManager:OnDestroy()

Not quite sure on the no-errors thing, though it looks unrelated. This from the Player.log.

kianzarrin commented 4 years ago

Useful thinngs to test:

cnolson commented 4 years ago

Ok, no errors but I suspect menu is somehow out of your screen. Try resetting global config - when you load saved game go to mod options Maintenance tab and click 'reset global config'. That should revert position of menu to default values

Resetting the global config brought the menu back! I will try the other options if it stops solving the issue in the future. Thank you for your help.

originalfoo commented 4 years ago

That sounds like an v11.4.x issue that we hope to have fixed in v11.5.0.

Related steam discussion with similar issue: https://steamcommunity.com/workshop/filedetails/discussion/1637663252/3581993464541317414/

Tagging PRs #849 and #868

krzychu124 commented 4 years ago

Yeah I thought about that at first but he is using 11.3.2 Stable, which doesn't have new menu (or maybe it does?)