Battle-Brothers-Legends / Legends-Bugs

Public bug tracker for Legends mod
35 stars 2 forks source link

game crashes after leaving a town [BUG] #177

Open TehemGo opened 3 months ago

TehemGo commented 3 months ago

Versions

Describe the bug I left town. It crashed.

To Reproduce Steps to reproduce the behavior:

  1. Leave a town.

Screenshots Forgot to take a screen. It crashed with an empty error window and the regular way out with a "OK" button .

Additional context The stack is : 13:54:56 SQ Location entered: Himmelstadt 13:54:56 Scene Finished saving scene. 13:55:12 Scene Finished saving scene. 13:55:16 SQ Save campaign: Arm 13:55:16 Core A critical exception occured. 13:55:16 Core Modules & Application Stacktrace: SymInit: Symbol-SearchPath: '.;C:[MY_GAME_FOLDER]\Battle Brothers;C:[MY_GAME_FOLDER]\Battle Brothers\win32;C:\Windows;C:\Windows\system32;SRVC:\websymbolshttp://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: '[MY_USERNAME]' OS-Version: 6.2.9200 () 0x100-0x1 13:55:16 Core Script Stacktrace: Function: saveCampaign -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 1286 Function: autosave -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 329 Function: -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 2628 Function: pop -> scripts/ui/global/menu_stack.nut : 93

I don't know who that alcat user is, but it's not on my computer, nor is the folder bbmodding. A probable cause is that someone forgot to variabilize a path and kept their own path in the code. I've had quite a few crashes since 18.2.4 (20+ hours with it so far), but it's my first time with this particular one.

TehemGo commented 3 months ago

Savegame was corrupt, too. corruptsavegame corruptsavegame2

TehemGo commented 3 months ago

Happened again, on another save, another town. Happens just after leaving.

The error window : towncrash

The stack : 19:25:05 SQ Location entered: Muzil 19:25:05 Scene Finished saving scene. 19:25:19 SQ contract activated: Escort Caravan (id: 98) 19:25:19 Scene Finished saving scene. 19:25:21 SQ Save campaign: Arm 19:25:21 SQ Generating stash list info :22 : 93 19:25:39 SQ Save campaign: Arm 19:25:40 Core A critical exception occured. 19:25:40 Core Modules & Application Stacktrace: SymInit: Symbol-SearchPath: '.;C:[MY_GAME_FOLDER]\Battle Brothers;C:[MY_GAME_FOLDER]\Battle Brothers\win32;C:\Windows;C:\Windows\system32;SRVC:\websymbolshttp://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: '[MY_USERNAME]' OS-Version: 6.2.9200 () 0x100-0x1 19:25:40 Core Script Stacktrace: Function: saveCampaign -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 1286 Function: autosave -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 329 Function: -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 2685 Function: pop -> scripts/ui/global/menu_stack.nut : 93 Function: town_screen_main_dialog_module_onLeaveButtonClicked -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\states\world_state.nut : 2696 Function: onModuleClosed -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\ui\screens\world\camp_screen.nut : 676 Function: onCampButtonPressed -> C:\Users\alcat\Desktop\bbmodding\legends\new_build\scripts\ui\screens\world\modules\camp_screen\camp_main_dialog_module.nut : 37

TehemGo commented 3 months ago

Same crash happens on a regular save, and the savefile is corrupt everytime, making the game unplayable.

TehemGo commented 3 months ago

I can't say it causes the exact same crashes I experienced above, but instability seems linked to v18.2.4.

My procedure was to

This is the same kind of instability I experienced with the games I played entirely under v18.2.4. A workaround is to continue playing on v18.2.3.