klyte45 / WriteEverywhere

Write Everywhere mod for Cities Skylines. https://steamcommunity.com/sharedfiles/filedetails/?id=2887458944
4 stars 1 forks source link

[BUG] Extremely long (nearly tripled) loading time, slow to hang/freeze in loading screen #7

Open Kovoschiz opened 1 year ago

Kovoschiz commented 1 year ago

Describe the bug I can reproduce #2 partially in this update. Loading time lengthened by 3.5+ minutes from 2.5min to more than 6min. Stuck at main thread Update Render Group. But now gameplay seems fine. No frame rate issue yet.

Unsubscribing returns to normal loading speed.

To Reproduce Steps to reproduce the behavior:

  1. Try to load a game

Game Logs See the "Report-a-bug Helper" button at mod options menu to get instructions about how to get it. There are two important logs: the game main log and also the mod log under <CS User appdata folder>\Klyte45Mods\_LOGS\WE.log.txt IMPORTANT: Get this files right after having the issue and before reopening the game!

With: https://github.com/Kovoschiz/kovoschiz.github.io/blob/main/1/_LOGS/WE.log.txt https://raw.githubusercontent.com/Kovoschiz/kovoschiz.github.io/main/1/output_log.txt https://kovoschiz.github.io/1/CompatibilityReport.html

Without: https://raw.githubusercontent.com/Kovoschiz/kovoschiz.github.io/main/0/output_log.txt https://kovoschiz.github.io/0/CompatibilityReport.html

Screenshots If applicable, add screenshots to help explain your problem. You can copy (or use the printscreen key while in game) them paste here to get the image automatically uploaded.

Additional context Add any other context about the problem here.

Please ignore the missing assets. They are not subscribed, or not-included with LOT. There are quite many assets with "Invalid LOD texture size" (one "Extremely large LOD mesh") errors, or "Very large LOD mesh" and "Very large LOD texture", but they are loaded in both cases,

For incompatibilities, I have Network Tiling. Needed for the roads I use.

There is a large gap of 200000ms ~= 3min here:


211,527ms | Unknown prefab: 1778734451.JP 1L station track KT21ER_Data  [Serialization]

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

211,527ms | Unknown prefab: 1778734451.JP 1L station track KT21NCER_Data  [Serialization]

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

211,555ms | [Metro Replacer] [StationTrackSelection] Loading ended.
211,592ms | GameSettings: 'MetroReplacer' is not found or cannot be loaded. Make sure to call GameSettings.AddSettingsFile() to register a settings file before using SavedValue().  [Settings - Internal]

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

211,856ms | [Metro Replacer] [ReplacementProps] Loading ended.
211,885ms | [Metro Replacer] [ThinWires] Loading ended.
425,114ms | [BuildingUsage.UsagePanel.GetWorkersUniqueUsageType] Error:
Unhandled building category [LandscapingWaterStructures] when determining usage type for building [2810017934.BIG Piers Small Pier 75m_Data].

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

425,335ms | [BuildingUsage.UsagePanel.GetVisitorsUniqueUsageType] Error:
Unhandled building category [LandscapingWaterStructures] when determining usage type for building [2810017934.BIG Piers Small Pier 75m_Data].

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

428,623ms |  LoadOrder | [Info]   428,626ms | gap=1,044ms | LoadLevelComplete() finalized.
428,636ms | Loading Screen Mod Revisited: status: milliseconds: 379066
 Game RAM use: 22.03
 System RAM use: 26.03
 Game page use: 29.48
 System page use: 36.01
.
[LSM] Saving stats to R:\Users\KL1\AppData\Local\Colossal Order\Cities_Skylines\Report\LoadingScreenMod\HKInMet1_1_1_Nov - Assets Report-2022-11-21_00-42-54.htm
428,638ms | Loading Screen Mod Revisited: loading completed at 379067.
428,683ms | [PrecisionEngineering] Loading NetTool
428,687ms | [PrecisionEngineering] Looking for NetTool of type `NetTool`
428,721ms | [PrecisionEngineering] Found Tools (1): Tool Controller (52486)
431,135ms | AdaptiveRoads | [Warning] 431,135ms | neither has track for this lane index

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

431,135ms | AdaptiveRoads | [Warning] 431,135ms | neither has track for this lane index

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

431,136ms | AdaptiveRoads | [Warning] 431,136ms | neither has track for this lane index

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

My Loading Order Tool profile (Write Everywhere is subscribed and added as "1000" without reordering) https://github.com/Kovoschiz/kovoschiz.github.io/blob/main/0/0.xml

klyte45 commented 1 year ago

I bet Metro Replacer is forcing reloading all vehicle assets, chaining a lot of unnecessary layouts reload. I will need to test these mods together to see if the problem is here or there. I'll be back when I finish it

klyte45 commented 1 year ago

Also, as a test, I suggest disabling that mod once to check if the loading time get back to normal with WE alone