Transport Fever 2

Transport Fever 2

Advanced Statistics
wellover-50 Apr 20, 2021 @ 4:54am
Hang when quitting to desktop.
Hi Vacuumtube thanks for this mod, this is not a complaint as the statistics are very useful.

I have noticed that when your mod is activated, even when the script is not running, that I get a "hang" & the program will not return to desktop.
If I select "return to main menu" it's fine, but if I then select "exit" it hangs.
I'm ok with this, but I thought that you may like to be informed about this possible bug!

Thank you for both reading this and your great creative mods, I do use a lot of them.
< >
Showing 1-3 of 3 comments
GordonDry Apr 24, 2021 @ 2:23pm 
I also had that more before updating to 1.3 - now it's less often but not totally gone.
When it happens the log says in the last line:
..\..\src\Lib\UI\Core.cpp:449: __cdecl UI::CCore::~CCore(void): Assertion `CComponent::NumInstances() == 0' failed.
VacuumTube  [developer] Apr 27, 2021 @ 5:14am 
Thank you, I just saw this (got no notification for some reason).

I remember seeing this error message in different random cases before (not related to adv statistics). It seems like a more deep game problem, eventually sth with multi-threading. I don't know why and when it occurs. Bug priority for UG is probably low.

As you mentioned the script on/off here https://steamcommunity.com/app/1066780/discussions/0/3127163422369064424/
I just tried, deactivated script and closed to desktop without hang
VacuumTube  [developer] May 21, 2021 @ 4:36am 
I added a "Free Data" button that reduces state size.
Could you try this at exit:
-Deactivate Script
-Press Free Data
Maybe this helps in avoiding that irregular game hang.

(Otherwise one could of course exit quickly with the crash buttons in debug window)
< >
Showing 1-3 of 3 comments
Per page: 1530 50