Kamikaze94 / WolfHUD

Payday 2 HUD
480 stars 238 forks source link

WolfHUD causes CTD on startup on VR #644

Closed GreenGhost21 closed 6 years ago

GreenGhost21 commented 6 years ago

Expected Behavior

Payday 2 should start up in VR with some components of WolfHUD

Current Behavior

Payday 2 crashes when starting in VR with WolfHUD installed

Failure Information (for bugs)

I start up the game with WolfHUD installed, and the game beginning to run in my Oculus Rift, and the game crashes outright before even getting to the loading scene.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Install WolfHUD
  2. Launch Payday 2 in VR mode

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

BLT log

Please include the contents of your BLT log around the time the bug appeared.
You can find the BLT log inside your games "/mods/logs/" folder.

BLT Log (I believe this is from the crash, the timing seems about correct) 02:57:06 PM Log: (..\src\debug\blt_debug.cpp:113) Command line: "D:\SteamLibrary\steamapps\common\PAYDAY 2\payday2_win32_release_vr.exe" 02:57:07 PM Log: (..\platform_src\signatures\signatures.cpp:225) Scanning for signatures in payday2_win32_release_vr.exe 02:57:08 PM WARNING: (..\platform_src\signatures\signatures.cpp:189) Failed to locate function node_from_xml 02:57:09 PM WARNING: (..\platform_src\signatures\signatures.cpp:189) Failed to locate function try_open_base 02:57:09 PM WARNING: (..\platform_src\signatures\signatures.cpp:189) Failed to locate function luaL_newstate 02:57:09 PM Log: (..\platform_src\signatures\signatures.cpp:256) Scanned for 46 signatures in 2297 milliseconds with 0 cache misses 02:57:09 PM Log: (..\platform_src\vr\vr.cpp:25) Hooking SteamVR 02:57:10 PM Log: (..\src\InitiateState.cpp:748) Initiating Hook 02:57:15 PM Log: (..\src\InitiateState.cpp:748) Initiating Hook 02:57:16 PM Lua: [BLT] Setup... 02:57:16 PM Lua: [BLT] Loading module: BLTLogs 02:57:16 PM Lua: [BLT] Loading module: BLTModManager 02:57:16 PM Lua: [BLT] Loading module: BLTKeybindsManager 02:57:16 PM Lua: [BLT] Loading module: BLTPersistScripts 02:57:16 PM Lua: [BLT] Loading module: BLTLocalization 02:57:16 PM Lua: [BLT] Cleaning logs folder, lifetime 1 day(s) 02:57:16 PM Lua: [BLT] Loading mods for state: table: 0x001d89a0 02:57:16 PM Lua: [BLT] Loading mod: AFSF2 02:57:16 PM Lua: [BLT] Loading mod: Ain't sharing it 02:57:16 PM Lua: [BLT] Loading mod: Bag Contour 02:57:16 PM Lua: [BLT] Loading mod: base 02:57:16 PM Lua: [BLT] Loading mod: Better Bots 02:57:16 PM Lua: [BLT] Loading mod: Bot Weapons 02:57:16 PM Lua: [BLT] Loading mod: Clear Descriptions 02:57:16 PM Lua: [BLT] Loading mod: Drag and Drop Inventory 02:57:16 PM Lua: [BLT] Loading mod: More Weapon Stats 02:57:16 PM Lua: [BLT] Loading mod: Scope Standardisation 02:57:16 PM Lua: [BLT] Loading mod: Stop the crimespree loss on crash 02:57:16 PM Lua: [BLT] Loading mod: Super Skin Swapper 02:57:16 PM Lua: [BLT] Loading mod: vrplus 02:57:16 PM Lua: [BLT] Loading mod: WolfHUD-master 02:57:16 PM Lua: [BLT] Setting up mod: base 02:57:16 PM Lua: [BLT] Setting up mod: Super Skin Swapper 02:57:16 PM Lua: [BLT] Setting up mod: AFSF2 02:57:16 PM Lua: [BLT] Setting up mod: Stop the crimespree loss on crash 02:57:16 PM Lua: [BLT] Setting up mod: WolfHUD-master 02:57:16 PM Lua: [BLT] Setting up mod: Bot Weapons 02:57:16 PM Lua: [BLT] Setting up mod: Bag Contour 02:57:16 PM Lua: [BLT] Setting up mod: Ain't sharing it 02:57:16 PM Lua: [BLT] Setting up mod: Better Bots 02:57:16 PM Lua: [BLT] Setting up mod: Scope Standardisation 02:57:16 PM Lua: [BLT] Setting up mod: Drag and Drop Inventory 02:57:16 PM Lua: [BLT] Setting up mod: More Weapon Stats 02:57:16 PM Lua: [BLT] Setting up mod: vrplus 02:57:16 PM Lua: [BLT] Setting up mod: Clear Descriptions 02:57:16 PM Log: (..\src\InitiateState.cpp:748) Initiating Hook 02:57:16 PM Lua: [BLT] Setup... 02:57:16 PM Lua: [BLT] Loading module: BLTLogs 02:57:16 PM Lua: [BLT] Loading module: BLTModManager 02:57:16 PM Lua: [BLT] Loading module: BLTKeybindsManager 02:57:16 PM Lua: [BLT] Loading module: BLTPersistScripts 02:57:16 PM Lua: [BLT] Loading module: BLTLocalization 02:57:16 PM Lua: [BLT] Cleaning logs folder, lifetime 1 day(s) 02:57:16 PM Lua: [BLT] Loading mods for state: table: 0x001d8980 02:57:16 PM Lua: [BLT] Loading mod: AFSF2 02:57:16 PM Lua: [BLT] Loading mod: Ain't sharing it 02:57:16 PM Lua: [BLT] Loading mod: Bag Contour 02:57:16 PM Lua: [BLT] Loading mod: base 02:57:16 PM Lua: [BLT] Loading mod: Better Bots 02:57:16 PM Lua: [BLT] Loading mod: Bot Weapons 02:57:16 PM Lua: [BLT] Loading mod: Clear Descriptions 02:57:16 PM Lua: [BLT] Loading mod: Drag and Drop Inventory 02:57:16 PM Lua: [BLT] Loading mod: More Weapon Stats 02:57:16 PM Lua: [BLT] Loading mod: Scope Standardisation 02:57:16 PM Lua: [BLT] Loading mod: Stop the crimespree loss on crash 02:57:16 PM Lua: [BLT] Loading mod: Super Skin Swapper 02:57:16 PM Lua: [BLT] Loading mod: vrplus 02:57:16 PM Lua: [BLT] Loading mod: WolfHUD-master 02:57:16 PM Lua: [BLT] Setting up mod: base 02:57:16 PM Lua: [BLT] Setting up mod: Super Skin Swapper 02:57:16 PM Lua: [BLT] Setting up mod: AFSF2 02:57:16 PM Lua: [BLT] Setting up mod: Stop the crimespree loss on crash 02:57:16 PM Lua: [BLT] Setting up mod: WolfHUD-master 02:57:16 PM Lua: [BLT] Setting up mod: Bot Weapons 02:57:16 PM Lua: [BLT] Setting up mod: Bag Contour 02:57:16 PM Lua: [BLT] Setting up mod: Ain't sharing it 02:57:16 PM Lua: [BLT] Setting up mod: Better Bots 02:57:16 PM Lua: [BLT] Setting up mod: Scope Standardisation 02:57:16 PM Lua: [BLT] Setting up mod: Drag and Drop Inventory 02:57:16 PM Lua: [BLT] Setting up mod: More Weapon Stats 02:57:16 PM Lua: [BLT] Setting up mod: vrplus 02:57:16 PM Lua: [BLT] Setting up mod: Clear Descriptions 02:57:17 PM Lua: [BotWeapons] Version 9.9 02:57:17 PM Lua: [BotWeapons] Setting up weapons 02:57:17 PM Lua: [BotWeapons] Fixing gang presets 02:57:19 PM Log: (..\src\InitiateState.cpp:748) Initiating Hook 02:57:20 PM Lua: [BLT] Setup... 02:57:20 PM Lua: [BLT] Loading module: BLTLogs 02:57:20 PM Lua: [BLT] Loading module: BLTModManager 02:57:20 PM Lua: [BLT] Loading module: BLTKeybindsManager 02:57:20 PM Lua: [BLT] Loading module: BLTPersistScripts 02:57:20 PM Lua: [BLT] Loading module: BLTLocalization 02:57:20 PM Lua: [BLT] Cleaning logs folder, lifetime 1 day(s) 02:57:20 PM Lua: [BLT] Loading mods for state: table: 0x32444e00 02:57:20 PM Lua: [BLT] Loading mod: AFSF2 02:57:20 PM Lua: [BLT] Loading mod: Ain't sharing it 02:57:20 PM Lua: [BLT] Loading mod: Bag Contour 02:57:20 PM Lua: [BLT] Loading mod: base 02:57:20 PM Lua: [BLT] Loading mod: Better Bots 02:57:20 PM Lua: [BLT] Loading mod: Bot Weapons 02:57:20 PM Lua: [BLT] Loading mod: Clear Descriptions 02:57:20 PM Lua: [BLT] Loading mod: Drag and Drop Inventory 02:57:20 PM Lua: [BLT] Loading mod: More Weapon Stats 02:57:20 PM Lua: [BLT] Loading mod: Scope Standardisation 02:57:20 PM Lua: [BLT] Loading mod: Stop the crimespree loss on crash 02:57:20 PM Lua: [BLT] Loading mod: Super Skin Swapper 02:57:20 PM Lua: [BLT] Loading mod: vrplus 02:57:20 PM Lua: [BLT] Loading mod: WolfHUD-master 02:57:20 PM Lua: [BLT] Setting up mod: base 02:57:20 PM Lua: [BLT] Setting up mod: Super Skin Swapper 02:57:20 PM Lua: [BLT] Setting up mod: AFSF2 02:57:20 PM Lua: [BLT] Setting up mod: Stop the crimespree loss on crash 02:57:20 PM Lua: [BLT] Setting up mod: WolfHUD-master 02:57:20 PM Lua: [BLT] Setting up mod: Bot Weapons 02:57:20 PM Lua: [BLT] Setting up mod: Bag Contour 02:57:20 PM Lua: [BLT] Setting up mod: Ain't sharing it 02:57:20 PM Lua: [BLT] Setting up mod: Better Bots 02:57:20 PM Lua: [BLT] Setting up mod: Scope Standardisation 02:57:20 PM Lua: [BLT] Setting up mod: Drag and Drop Inventory 02:57:20 PM Lua: [BLT] Setting up mod: More Weapon Stats 02:57:20 PM Lua: [BLT] Setting up mod: vrplus 02:57:20 PM Lua: [BLT] Setting up mod: Clear Descriptions

Crash log(s)

Crash.txt Application has crashed: C++ exception mods/WolfHUD-master/lua/ProfileMenu.lua:48: attempt to index local 'active_menu' (a nil value) SCRIPT STACK get_node() core/lib/managers/menu/coremenudata.lua:36 __init() lib/managers/menumanager.lua:75 init() lib/managers/menumanagervr.lua:38 init() @mods/base/lua/MenuManager.lua:9 new() core/lib/utils/coreclass.lua:35 init_managers_original() lib/setups/setup.lua:365 init_managers() @mods/WolfHUD-master/lua/WaypointsManager.lua:93 init_managers() lib/setups/menusetup.lua:269 core/lib/setups/coresetup.lua:382 ------------------------------- Callstack: payday2_win32_release_vr (???) ??? payday2_win32_release_vr (???) ??? payday2_win32_release_vr (???) ??? KERNEL32 (???) BaseThreadInitThunk ntdll (???) RtlGetAppContainerNamedObjectPath ntdll (???) RtlGetAppContainerNamedObjectPath payday2_win32_release_vr (???) zip_get_name ------------------------------- Current thread: Main Script stack: get_node() core/lib/managers/menu/coremenudata.lua:36 __init() lib/managers/menumanager.lua:75 init() lib/managers/menumanagervr.lua:38 init() @mods/base/lua/MenuManager.lua:9 new() core/lib/utils/coreclass.lua:35 init_managers_original() lib/setups/setup.lua:365 init_managers() @mods/WolfHUD-master/lua/WaypointsManager.lua:93 init_managers() lib/setups/menusetup.lua:269 core/lib/setups/coresetup.lua:382 ------------------------------- System information: Application version : 1.1.1. CPU : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2 DirectX : 12.0 GPU : NVIDIA GeForce GTX 1070 [Video:3072,Sys:0,Shared:1023,Vendor:0x10de] Language : english Memory : 16338MB 728KB OS : 6.2.9200 () 0x100-0x1 (64 bits) Physics : threaded Renderer : DX11 threaded Sound : Oculus VR, LLC (Headphones (Rift Audio))
GreenGhost21 commented 6 years ago

Just saw the commit, I'll give it a try shortly and report back here.

GreenGhost21 commented 6 years ago

WolfHUD now crashes upon heist join with CustomHUD disabled.

Crash Log Application has crashed: C++ exception mods/WolfHUD-master/lua/VanillaHUD.lua:49: attempt to index field '_condition_icon' (a nil value) SCRIPT STACK original() @mods/WolfHUD-master/lua/KillCounter.lua:225 init() @mods/base/req/core/Hooks.lua:260 new() core/lib/utils/coreclass.lua:35 _create_teammates_panel() lib/managers/hudmanagerpd2.lua:946 _setup_player_info_hud_pd2_original() lib/managers/hudmanagerpd2.lua:644 _setup_player_info_hud_pd2() @mods/WolfHUD-master/lua/DrivingHUD.lua:938 setup() 4 setup() lib/managers/hudmanager.lua:328 load_hud() lib/managers/hudmanager.lua:315 init_finalize() lib/managers/hudmanager.lua:217 init_finalize() lib/setups/gamesetup.lua:668 init_finalize() lib/setups/networkgamesetup.lua:15 core/lib/setups/coresetup.lua:425 ------------------------------- Callstack: payday2_win32_release_vr (???) ??? payday2_win32_release_vr (???) ??? payday2_win32_release_vr (???) ??? payday2_win32_release_vr (???) zip_get_name ------------------------------- Current thread: Main ------------------------------- System information: Application version : 1.1.1 CPU : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2 DirectX : 12.0 GPU : NVIDIA GeForce GTX 1070 [Video:3072,Sys:0,Shared:1023,Vendor:0x10de] Language : english Memory : 16338MB 728KB OS : 6.2.9200 () 0x100-0x1 (64 bits) Physics : threaded Renderer : DX11 threaded Sound : Oculus VR, LLC (Headphones (Rift Audio))

EDIT: Maybe it'd be easier to make a version of WolfHUD with minimal HUD related elements? I dunno, I'm not fluent in LUA.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.