Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chiper spinning of death seems to be triggered by TMPE #1760

Open
pa280 opened this issue Dec 9, 2023 · 3 comments
Open

Chiper spinning of death seems to be triggered by TMPE #1760

pa280 opened this issue Dec 9, 2023 · 3 comments
Labels
BUG Defect detected triage Awaiting issue categorisation

Comments

@pa280
Copy link

pa280 commented Dec 9, 2023

Describe the problem

I try to load my save with Loading Screen Mod, and went the loading gets to Main Thread: Daynight Properties" and "Simulation Thread: Building Manager", chirper starts spinning indefinitely.

I've looked at the output_log and found this:

NullReferenceException: Object reference not set to an instance of an object
at TrafficManager.UI.Textures.RoadUI.OnLevelUnloading () [0x00000] in :0
at TrafficManager.Lifecycle.TMPELifecycle.Unload () [0x00000] in :0

and when I look at the TMPE log, there is this:

Error 160.6584107: System.NullReferenceException: Object reference not set to an instance of an object
at TrafficManager.UI.Textures.RoadUI.OnLevelUnloading () [0x00000] in :0
at TrafficManager.Lifecycle.TMPELifecycle.Unload () [0x00000] in :0
====================
at CSUtil.Commons.Log.LogToFile(System.String log, LogLevel level)
at CSUtil.Commons.Log.Error(System.String s)
at TrafficManager.Util.Shortcuts.LogException(System.Exception ex, Boolean showInPanel)
at TrafficManager.Lifecycle.TMPELifecycle.Unload()
at TrafficManager.Lifecycle.TrafficManagerMod.OnLevelUnloading()
at LoadingWrapper.OnLevelUnloading()
at LoadingManager.QuitApplication()
at LoadingManager.OnApplicationQuit()

I just don't know what to do, and it always happen at a certain point, no matter how many times I start a new city. I would love your help,

Many thanks,

A concerned player.

Steps to reproduce

1.I load my save and when the load is almost done, chirper starts spinning indefinitely

Log files

TMPE log here: https://ufile.io/osqkznp4

Output log: https://ufile.io/zirdcwy9

Savegame?

Save game here: https://ufile.io/2rmc9q1l

Screenshots?

Screenshot here: https://ufile.io/ne3v6uwb

Notes or questions?

@pa280 pa280 added BUG Defect detected triage Awaiting issue categorisation labels Dec 9, 2023
@pa280 pa280 changed the title Hello! Chiper spinning of death seems to be triggered by TMPE Dec 9, 2023
@krzychu124
Copy link
Member

Please check your other mods because log entries make no sense.
Log says that game is closing or returning to main menu while it didn't even finish loading anything yet.
The mod is throwing exception because the order of operations is completely wrong and has nothing to the issue with loading your savegame. Simply: to unload a level (savegame) game needs to load it first which is not happening for some weird reason.

Even better, you can see that something is wrong in the stack trace you've posted.
Notice: at LoadingManager.OnApplicationQuit() at the bottom (stack trace should be read from bottom to the top, so from source "trigger"(parent) to the function which failed).
Are you closing the game? I don't think so.

@pa280
Copy link
Author

pa280 commented Dec 10, 2023

Hello @krzychu124,

thanks for your reply,

My apologies, I have zero experience with coding, so I don't understand much of the code from the output_log.

You are right, I can't close the game or do anything as the game completely freezes with the chiper spinning forever. I just crtl + shift + delete and force quit to get out of there.

How could I check the other mods? So sorry I don't even know where to start to solve my issue. :-(

@krzychu124
Copy link
Member

How long have you wait? I've heard many times that at some point game requires a lot more time to load than before, so I suggest just wait, even 20min, just to check if anything will change. If loading animation is running, game didn't freeze, it's loading/processing things. Since you use a lot of mods which allow more things than vanilla tools do, there is a chance that one of the mod silently broke something and now loading takes 2 or 3x longer than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Defect detected triage Awaiting issue categorisation
Projects
None yet
Development

No branches or pull requests

2 participants