Game started crashing randomly.

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


  • Hi, this error sadly says nothing about the origin of the error (we had several problems with this error message and it was never clear what caused the problem). So I guess there is no easy solution. In general it says that some data out of the savegame is not ok. The only error I see in you stdout.txt that directs in this direction is this:

    I asume you have seen this as you mentioned you haven't deleted streets. There are also many texture load errors related to streets and stuff. Could it be you accidentally moved some folder (if not deleted)? Could also be a script mod related to streets. If files are missing (that are related to a steam-mod or vanilla files) you can run the steam filecheck, if you haven't done this yet.

  • I thought it might've been because of low-ish storage on the ssd it's on, but when I checked I had just under a 100gb. The only mods I could think it's referring to is eis_os road pack, murs maybe street fine tuning. I also have couple of tram related road mods, but I don't think it's from any of those. It only happens when the year/day go to 1975 dec 27 then all of a sudden ctd. If I keep the game paused it's fine, when the day changes instants ctd. Guess I'll just wait for ug to finally update in hopes that ordering mods isn't such a pain. I refuse to reorganize 150 mods, until then I'll just wait to make a new map

    Einmal editiert, zuletzt von GrumpyZade ()

  • My road pack doesn't have such names, all streets use my name as prefix, and additional have a base folder of eis_os_streetpackage in config.


    Please look into a mod eis_os_streetpackage_1/res/config/street/eis_os_streetpackage/ before making wild guesses, thanks.

  • The only mods I could think it's referring to is eis_os road pack, murs maybe street fine tuning.

    These -0001100000000000.lua streets are generated by Street fine tuning from lollus .

    This can affect also other streets, for example eis Rasen tram tracks, which can be confusing.

    I wrote that also on steam, including an option to disable it, unfortunately it seems not to be there anymore.

  • Uncaught exception while in class UI::CSelector

    Error message: Assertion `it != components.end()' failed.

    is a vague indication that, somewhere, an array is missing some elements. The game fails to give more hints. I had a similar error a while back (with the street fine tuning, by the way) and I patched it. It might be that one, or a ton of any other mods. Make sure you get the latest version of your mods.


    VacuumTube It's quite clear if you read the docu. I regularly delete comments that add unnecessary confusion.

    Einmal editiert, zuletzt von lollus ()

  • Not an array. it's an broken Entity. TPF2 searches an Entity Component, if something is missing it is a fatal error Exception. Technical it's a c++ macro and a such each and every code piece in TPF2 may produce this. The UI:CSelector has a catch block for Exceptions.


    If it is a regular result of a mod, then this mod creates or changes an Entity in a way it shouldn't.


    A general note to all mod creators:
    Please add a clear marker who changes something.
    So instead adding only some internal postfix, add the modname to the auto generated modified streets.

  • If you want to pick nits, it looks like a specialised collection with UI:CSelector as an iterator (ie a smarter array). It does not matter; the crux is, it does not throw useful error messages and they have not fixed it yet.

    Important: if anybody is going to rearrange their street types now, so that they are in a dedicated directory or they have a new file name, that will break existing savegames. Don't do it with released mods!

    3 Mal editiert, zuletzt von lollus ()

  • Yes, changing post release street names won't work. It is an advise for new mods.


    And I only want to emphasize that seeing the string error it != it->components.end is a clear indicator for Entity related problems. It is simply possible that non related code (non ecs entity code) throw an error and you see UI::CSelector as well.


    -edit-

    For the technical inner workings I opened a thread here: https://www.transportfever.net/index.php?thread/18395

  • No you didn't write the same as eis_os. I wouldn't call it irrelevant details. I always prefer more details rather than less. He is more in the code than anyone of us.


    Also, as the ECS system is working, there is no general fix. It is an open problem. Many different causes can lead to this broken entity error, which would need to be fixed all seperatly. Updating the mods won't help, if a mod itself, a certain combination of mods, or rare circumstances lead to this problem.


    However, the game could give more error information in this case indeed.

  • VT, details such as something being an array or a collection are irrelevant, to those of us who understand these things, and guess someone else's code without seeing it - such as myself. You should devote your pointedness to worthier causes.

    Thanks eis_os for your new thread.

    Einmal editiert, zuletzt von lollus ()

  • So that save is fucked then is what I'm taking from this lol. Guess I'll wait for the next game update to come out before I bother making a new one. I just hope they figured out that letting us type the number for the mod order is way better than only being able to go up or down with arrows..

BlueBrixx