Game will crash on startup if using "|" for keybinds.

Moderator: Panzer Corps 2 Moderators

Post Reply
simsen
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 1
Joined: Thu Feb 23, 2023 6:40 pm

Game will crash on startup if using "|" for keybinds.

Post by simsen »

Hi,
I found a very interesting bug in the game, causing it to crash instantly after startup.
After looking at the error log, it looked like it came from trying to read hotkeys, which made me remember that i rebound a function to use the "|" key (On Norwegian keyboards, that's next to the "1" key, so can be quiet convenient to use)

After digging some, i found out the settings were saved in the "appdata/local" folder. I deleted it from there, and the game would let me launch again. I tried to rebind it again to confirm it, and the crash returned on next startup.

Even a delete and reinstall + verify file integrity from steam did not fix this, so i can imagine for someone not able to read/understand the crashlog, this would be very hard to figure out.

Code: Select all

LoginId:4c9ada7d4482e7b14d40e6a0e9e879fb
EpicAccountId:8ffb1ea445fa41938146b9d9516e63c8

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xfffffffffffffff8

PanzerCorps2_Win64_Shipping!UEGameInstance::InitializeHotkeys() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\UEGameInstance.cpp:576]
PanzerCorps2_Win64_Shipping!UEGameInstance::Init() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\UEGameInstance.cpp:106]
PanzerCorps2_Win64_Shipping!UGameEngine::Init()
PanzerCorps2_Win64_Shipping!FEngineLoop::Init()
PanzerCorps2_Win64_Shipping!GuardedMain()
PanzerCorps2_Win64_Shipping!GuardedMainWrapper()
PanzerCorps2_Win64_Shipping!WinMain()
PanzerCorps2_Win64_Shipping!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
Post Reply

Return to “Panzer Corps 2: Tech Support”