Transport Fever 2

Transport Fever 2

Bulldozer++
Ims Dec 28, 2023 @ 5:41am
Crash log
I may have been clicking the bulldozer buttons in fairly quick succession upon trying to bulldoze some stuff. Just a bit of highway really, but roads from various sources/mods, so they were grouped separately. On doing this, the game crashed.

stdout.txt excerpt containing all the error info below. Let me know if you need any other info that I can provide.

Exception type: Fatal error Details: Assertion Failure: Assertion `ctx.size() >= 2' failed. In file: urban_games/train_fever/src/Lib/Geometry/Streets/Transitions/transition_util.cpp:41 In function: void __cdecl StreetGeometry::TransitionUtil::`anonymous-namespace'::GetNodeShapeAttributes(const class std::vector<struct StreetGeometry::ConnectorContext,class std::allocator<struct StreetGeometry::ConnectorContext> > &,class std::vector<int,class std::allocator<int> > &,class std::vector<int,class std::allocator<int> > &,class std::vector<int,class std::allocator<int> > &,class std::vector<int,class std::allocator<int> > &) __CRASHDB_DUMP__ 0dce28b9-fee5-4b7a-b6bb-e40019d44e38 Attempting to write crash save to "crash_Lane mathematics_2023-12-28_11-36-05" available disk space: 76244 MB [2023-12-28 11:36:05] Saving to file c:/program files (x86)/steam/userdata/36265997/1066780/local/save/crash_Lane mathematics_2023-12-28_11-36-05.sav Saving...: 773.134 ms Additional info extracted from the previous state: GC Called Destroying failback ui done Uncaught exception while in class UI::CSelector End of redirect Buffer to StdOutBuffer Restoring as we are still responsible for stdout End of redirect Buffer to StdOutBuffer: done Exception type: Lua exception This error is usually caused by modding. Some game resources contain incorrect data. Details: Error message: [string "S:/SteamLibrary/steamapps/workshop/content/1066780/2857104286/res/config/game_script/bulldozer_plus_plus.lua"]:92: attempt to index global 'util' (a nil value) Minidump: c:/program files (x86)/steam/userdata/36265997/1066780/local/crash_dump/0dce28b9-fee5-4b7a-b6bb-e40019d44e38.dmp UI Component Hierarchy: type: class UI::CGameUI, id = "", name = "CGameUI", styleClasses = {"top-gamebar-visible"} type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {} type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"} In file: urban_games/train_fever/src/Game/scripting/error_handling.h:14 In function: void __cdecl scripting::CheckResult<void>(struct sol::protected_function_result) __CRASHDB_CRASH__ struct lua::LuaException: urban_games/train_fever/src/Game/scripting/error_handling.h:14: void __cdecl scripting::CheckResult<void>(struct sol::protected_function_result): [string "*2857104286_1::res/config/game_script/bulldozer_plus_plus.lua"]:92: attempt to index global 'util' (a nil value) Exception type: Lua exception This error is usually caused by modding. Some game resources contain incorrect data. Details: Error message: [string "S:/SteamLibrary/steamapps/workshop/content/1066780/2857104286/res/config/game_script/bulldozer_plus_plus.lua"]:92: attempt to index global 'util' (a nil value) Minidump: c:/program files (x86)/steam/userdata/36265997/1066780/local/crash_dump/0dce28b9-fee5-4b7a-b6bb-e40019d44e38.dmp UI Component Hierarchy: type: class UI::CGameUI, id = "", name = "CGameUI", styleClasses = {"top-gamebar-visible"} type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {} type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"} In file: urban_games/train_fever/src/Game/scripting/error_handling.h:14 In function: void __cdecl scripting::CheckResult<void>(struct sol::protected_function_result) Goodbye.
Last edited by Ims; Dec 28, 2023 @ 5:43am
< >
Showing 1-2 of 2 comments
Ims Dec 29, 2023 @ 5:42am 
Another crash, this time different. I was bulldozing some stuff including roads that had some vehicles still running on them. More out of curiosity to see if this would be handled well. It wasn't. x)

Yes, at this point I'm basically prodding and poking it to see if it will break. Don't you love it when people break your stuff.

So yeah, it crashed when I tried to bulldoze the final set of roads with vehicles: https://imgur.com/fV6cHi8

Crashing seems consistent at that point, as you might expect. The mod is obviously circumventing the game's own (higher level) vehicle checks, because if you try to do this manually, the game won't let you, and it doesn't crash.

Since the game is clever and automatically creates a save prior to the crash trigger, I can provide this save if you need it. Ditto for the previous I guess, though that might be a bit trickier to reproduce. Maybe. I haven't tried.

No mention of the mod in the crash info, but it's abundantly obvious that it is the mod (by my actions) that's trying to do something the game really doesn't like. Reproduced once with ease after the initial crash.


__CRASHDB_DUMP__ a0ddaa3f-4f5a-4ce2-8b30-1aef7a1e57cb Attempting to write crash save to "crash_New Alresford_2023-12-29_14-27-18" available disk space: 76206 MB [2023-12-29 14:27:18] Saving to file c:/program files (x86)/steam/userdata/36265997/1066780/local/save/crash_New Alresford_2023-12-29_14-27-18.sav Saving...: 190.024 ms Additional info extracted from the previous state: GC Called Destroying failback ui done Uncaught exception while in class UI::CSelector End of redirect Buffer to StdOutBuffer Restoring as we are still responsible for stdout End of redirect Buffer to StdOutBuffer: done Exception type: Fatal error Details: Assertion Failure: Assertion `!m_unparkTnEntities.empty()' failed. Minidump: c:/program files (x86)/steam/userdata/36265997/1066780/local/crash_dump/a0ddaa3f-4f5a-4ce2-8b30-1aef7a1e57cb.dmp UI Component Hierarchy: type: class UI::CGameUI, id = "", name = "CGameUI", styleClasses = {"top-gamebar-visible"} type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {} type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"} In file: urban_games/train_fever/src/Game/transport/VehicleUpdateHelper.cpp:461 In function: __cdecl VehicleUpdateHelper::~VehicleUpdateHelper(void) noexcept(false) __CRASHDB_CRASH__ struct AssertException: urban_games/train_fever/src/Game/transport/VehicleUpdateHelper.cpp:461: __cdecl VehicleUpdateHelper::~VehicleUpdateHelper(void) noexcept(false): Assertion `!m_unparkTnEntities.empty()' failed. Exception type: Fatal error Details: Assertion Failure: Assertion `!m_unparkTnEntities.empty()' failed. Minidump: c:/program files (x86)/steam/userdata/36265997/1066780/local/crash_dump/a0ddaa3f-4f5a-4ce2-8b30-1aef7a1e57cb.dmp UI Component Hierarchy: type: class UI::CGameUI, id = "", name = "CGameUI", styleClasses = {"top-gamebar-visible"} type: class UI::CMenuUI, id = "", name = "MenuUI", styleClasses = {} type: class UI::CComponent, id = "", name = "wrap", styleClasses = {"platform-desktop", "ui-classic", "input-mouse", "gamepad-type-xbox"} In file: urban_games/train_fever/src/Game/transport/VehicleUpdateHelper.cpp:461 In function: __cdecl VehicleUpdateHelper::~VehicleUpdateHelper(void) noexcept(false) Goodbye.
okeating  [developer] Apr 27, 2024 @ 4:27am 
Thanks for this, i have pushed a fix for the first issue, the second is a bit more complicated and I am looking into....
< >
Showing 1-2 of 2 comments
Per page: 1530 50