Transport Fever 2

Transport Fever 2

View Stats:
MrSledge Apr 16, 2021 @ 4:19am
Game keeps crashing
Hi,

I'm sure this is a common observation.

Whenever I am making major changes to my map or adding new mods, I always make a copy of the saved game.

Recently, my game lags with the blue circle and then crashes out.

I have rolled back to much earlier stable saves but now these also seem to crash in the same manner as the recent saves.

My PC runs pretty lean, ie, I only have 2 games I play and nothing else. Nothing in my PC configuration has been changed since this fault has arisen.

Are there log files somewhere I could check?

Thanks,

Rod
< >
Showing 1-15 of 68 comments
Mr.Oz Apr 16, 2021 @ 7:28am 
whats your pc specs? that's part of the lagging problem.

Also depending on what ever mod you added may not be optimized for your computer, most mods affect your video memory/ram, if your using a 8GB ram processor, check the name of your computer, for example it might be a Dell insperon 5000 model, meaning you wanna check sites like dell to get the parts or know the limits of upgrades you need for better game-play. Also what type of graphic card you maybe using can cause lag an or crashing.

few current but limited fixes:
lower settings to the lowest possible limit, most-likely the grass, trees, and shadows are slowing your game, the size of map your playing on the bigger the map the slower your game will be unless its empty, if you are a megalo map lover with a low 8GB processor then it is bound to crash often.

If you are in the middle of building but don't have the game on pause then most-likely your world is upgrading and the most-likely cause is a corrupted road or track, to fix this just read my recent fix to that issue -
https://steamcommunity.com/app/1066780/discussions/0/3167694551632212793/

other fixes to crashes such as memory is to fix the (Video virtual memory) to allow more use from your Ram card, you fix this in your system operation settings if you are on windows, i don't know how to do the same if you are using a mac computer, You can google it for info.

Hope this helps :lunar2020confidentrooster:
Last edited by Mr.Oz; Apr 16, 2021 @ 7:31am
Zardoz Apr 16, 2021 @ 7:31am 
You can find the crash log here:
{installdrive}:\Steam\userdata\{steamID#}\1066780\local\crash_dump\

Should give you an idea if you have an issue with a mod or something
MrSledge Apr 16, 2021 @ 7:58am 
Thank you both,

My spec is a

Ryzen 3700
RX 580 8Gb
32Gb RAM
1Tb SSD
(so my Games Drive has its own SSD)

As I mentioned, I run backups for my save files and I only load new mods 5 at a time, in case I need to roll back. I have games that were working fine a few days ago that are now crashing. I have also switched from Vulkan to Open GL
Mr.Oz Apr 16, 2021 @ 1:15pm 
You have a beast for a computer so you shouldn't have any issues running it, try checking the crash_dump file call stdout in this file way at the bottom should be information about your crash. copy what it said from the bottom of the list and you will know if it's a mod or not, some cases it might not tell you, just have to take a guess at what might be causing it.

you also mention you have games working fine a few days ago that are now crashing, you mean as in other games are crashing besides TF2 and is causing the same issue?

if that's the case this sounds like a steam issue or a virtual memory issue, won't know till we get the crash report from TF2. located in

C:\Program Files
or
C:\Program Files (x86)\Steam\userdata\{steamID#}\1066780\local\crash_dump\stdout
Last edited by Mr.Oz; Apr 16, 2021 @ 1:17pm
theSeb Apr 16, 2021 @ 2:52pm 
Have you tried running the game on a brand new map without any mods? If it works, then you know it's a mod issue.
Fuzz01Head Apr 16, 2021 @ 7:25pm 
Version 2 is now crashing for about last 3 weeks, only can get in about 5 to 10 minutes before it crashes.. Very annoying. Version 1 of Transport Fever working without any issues. I too have disabled all mods, heck tonight just earned another badge by saving every 2 minutes or so. This is nuts.
Mr.Oz Apr 16, 2021 @ 8:50pm 
Strange but this sounds like a virtual memory issue. I just remembered I had the same issue a few days ago. TF2 kept crashing at certain points an I'm running a megalo map with over 1000 mods running. An my computer is basically a low grade potato. I just recently added more ram because I got sick of the game crashing.

That didn't fix the issue till I realized I needed to fix the virtual memory settings manually.

Note: you need a minimum of 16gb of ram to do this.

Watch this video to get started: https://youtu.be/gx6ffIMSy28

Note this will not work on anything less than 16gb of ram...

Set your minimum memory to 8000 and your max memory to at least 15500. If you have more ram then set it close to allow your game to function. This should fix the issue.
Last edited by Mr.Oz; Apr 16, 2021 @ 8:51pm
MrSledge Apr 17, 2021 @ 4:43am 
ok,

This is frustrating, it appears to be getting worse, ie, if I roll back to earlier (Working) saved games, they are also corrupt.

I now get a Fatal Error that quits back to Windows.

Dump File says:

Error message: Assertion `count == 1' failed.

Minidump: G:/Steam Engine/userdata/993463787/1066780/local/crash_dump/9cdcb782-aef9-4a0f-8cb6-8c44b7896b5a.dmp

In file: ..\..\src\Game\ecs\SimPersonSystem.cpp:105

In function: void __cdecl `anonymous-namespace'::RemoveFromDestination(const class ecs::Entity &,const class std::vector<class ecs::Entity,class std::allocator<class ecs::Entity> > &,class std::unordered_map<class ecs::Entity,class std::unordered_set<class ecs::Entity,struct std::hash<class ecs::Entity>,struct std::equal_to<class ecs::Entity>,class std::allocator<class ecs::Entity> >,struct std::hash<class ecs::Entity>,struct std::equal_to<class ecs::Entity>,class std::allocator<struct std::pair<class ecs::Entity const ,class std::unordered_set<class ecs::Entity,struct std::hash<class ecs::Entity>,struct std::equal_to<class ecs::Entity>,class std::allocator<class ecs::Entity> > > > > &)

Mr.Oz Apr 17, 2021 @ 8:30am 
Ok it's a mod. It may have been removed the indication was 'anonymous-namespace'::RemoveFromDestination' could have been an asset or a building that had a coded name which given the reason. For the crash. The mod or part of the code is missing so we don't know which mod is causing the crash.

You'll have to start a new map sadly.

Try that see if the new map crashes too without mods installed.
MrSledge Apr 17, 2021 @ 9:15pm 
Thanks,

I really appreciate your explanation.

Rod :-(
Mr.Oz Apr 18, 2021 @ 8:31pm 
You're not done yet we're testing to find the problem on your end, reason why I ask to start a new map is to find the bad mod, here's what you need.

Look at the list of mods you used on the map that's crashing your game, if I'm not mistaken you can still load your map but it crashes when you do any activity on the map, so it's likely that the crash could be caused by anything moving, like trains crossing a bugged track, you are going to activate those same mods on the new map to test if it crashes an we'll narrow it down till you find the guilty mod.

also make sure you turn off auto saves in options before you start, once you on the new map try doing some of the things you think was causing your crashes such as placing items or roads, if it doesn't crash, try using the terrain tool see if it crashes then, if not then it maybe a road or track on your old map that may need to be deleted that might also be causing the crash, so after testing on the new map, go back to your old map and make sure you pause the game.

It's best to pause the game when doing this, since having buildings and AI do things such as upgrading, or having your routes be use on a bugged track or road can also cause crashing so pause the game on your old map till you identify the problem.

I'm trying to save your map so it's best to look around your old map with the bulldozer and hover over roads, tracks and buildings, don't delete them. You're looking for a notification that said (you can't build here) in red. if you find that on your old map then we found the source of your problem.

Last edited by Mr.Oz; Apr 18, 2021 @ 8:38pm
Mr.Oz Apr 18, 2021 @ 9:01pm 
Also to help narrow it down, your issue has something to do with SimPersonSystem.cpp:105
in the older game TF1 the same cod would say
SimPersonSystem::NoteSimEntityAtVehicleChanged

So this has something do with a building such as bus stops on corrupted roads so look around your old map see if you get the (construction not possible) notification and let me know.

Transport Fever error site listing
https://www.transportfever2.com/wiki/doku.php?id=gamemanual:errors
MrSledge Apr 19, 2021 @ 11:45pm 
Hi Oz,

Thank you for all that information.

The crash dump is like a bomb that went off, it's total carnage. I've tried different map templates and then everything crashes. In fact, sometimes I can't even run the file, everything freezes before it crashes.

I can have the game paused and it will still crash

Sometimes I get a warning on my desktop that there has been an internal error.

Most of the crash log is missing textures. Some say "Wagon" but which wagon. some mention roads, but which?

So thanks for your help, but it's just overwhelming my patience.

Am I able to post the dump file here or should I send the dump file to tech support?

Anyway, thank you for sharing your knowledge. :-)

Rod
MrSledge Apr 20, 2021 @ 6:43am 
Well, it looks like I don't understand how this game works WRT mods.

I've gone back to an early map, I've pulled out about 50 mods. The game seems to be ok then suddenly it freezes up.

When I check the dump file it's referencing mods I don't use and have never used (for example, I only use 2 aircraft types, not the half dozen I could select from different mods)

If I run the game again, when I go to the mods, the mods I have already removed are back in the enabled list.

I thought when I opened a game and removed mods and saved it before it crashes, those mods should be delisted.

As I said it seems to be a corrupted system, there are just far too many errors to be one or two mods.

But I think my patience is done, I might just park the game for a while.

Again, thanks to those who provided advice.

Rod :-)
Mr.Oz Apr 20, 2021 @ 11:21am 
tech support might be of help with that or you can email me the error report if you like, i'll inbox you my email so i can take a look, the missing texture thing is nothing to really worry about, however you may need to clean out your texture_cache file as that can get full overtime, also if its mod related, some mods may or may not require other mods to function, if one mod gets removed, other mods crash as a result, but that only happens when you're loading the game and it crashes on the loading screen, so there's something more internal causing this and it may have something to do with memory allocation.

But like you said you need to take a break because this can get frustrating, best to send that crash report to the TF2 devs.
Last edited by Mr.Oz; Apr 20, 2021 @ 11:24am
< >
Showing 1-15 of 68 comments
Per page: 1530 50

Date Posted: Apr 16, 2021 @ 4:19am
Posts: 68