Help diagnosing error:`numTracks <= (int)sp.tracks.size()' failed

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


  • I'm having issues with a crash to desktop error that gives the following message: `numTracks <= (int)sp.tracks.size()' failed


    The full text from the crashdump is at the bottom of this post.

    • I'm running on a Mac with a large number of mods. In particular, I have custom soundsets and custom wav files for all cars in the game, both vanilla and third-party.
    • I think this error is an issue with audio so I suspect it is an issue with my sound mods.
    • The error is date-dependent. It first occurs in the 1940s, it then occurs frequently in the 1950s and 1960s, before becoming less frequent in the 1970s.
    • The error does not occur when I'm zoomed out and only appears when I zoom in fairly close. It occurs more frequently on busy roads, and much more frequently at road junctions.

    I've been unsuccessfully reviewing soundsets to try to find the bug. There are a lot of them! I'd really appreciate some help narrowing it down.


    If anyone can help with my following questions I'd really appreciate it!

    • Am I correct in interpreting this as an audio issue?
    • What does "Uncaught exception while in N2UI9CSelectorE" mean?
    • Is there anyway to identify which file (eg soundset, wav audio file) is causing this error?
    • Alternatively, is there any way to identify which vehicle is causing this error?


    Thanks in advance, JAB.




    Crashdump text, after last successful save:


    Saving...: 4458.9 ms

    Saving...: 2660.79 ms

    Additional info extracted from the previous state:

    Uncaught exception while in N2UI9CSelectorE

    Thread did not respond to ping. Possible hang detected!

    Exception type: Fatal error


    Details:


    Assertion Failure: Assertion `numTracks <= (int)sp.tracks.size()' failed.


    Minidump: /Users/skylab/Library/Application Support/Steam/userdata/93200996/1066780/local/crash_dump/BDEB7A7F-7B98-446C-9B8A-A3A64481FFDD.dmp (failed)


    In file: urban_games/train_fever/src/Game/audio/AudioEmitterBackend.cpp:193


    In function: void AudioEmitterBackend::Update(const ecs::Entity &, const AudioView &, const CVec3f &, const CVec3f &, const float, const std::unordered_map<std::string, float> &, std::vector<std::pair<std::string, float>> &)



    __CRASHDB_CRASH__ AssertException: urban_games/train_fever/src/Game/audio/AudioEmitterBackend.cpp:193: void AudioEmitterBackend::Update(const ecs::Entity &, const AudioView &, const CVec3f &, const CVec3f &, const float, const std::unordered_map<std::string, float> &, std::vector<std::pair<std::string, float>> &): Assertion `numTracks <= (int)sp.tracks.size()' failed.

  • Jay Bee

    Hat das Label ungelöst hinzugefügt