steam-test1 / VPlusHUD

24 stars 20 forks source link

In VR games, it crashes game after loading the map and entering the map. #258

Open XieLongWu opened 2 years ago

XieLongWu commented 2 years ago

Only used this mod, and the game stopped crashing after closing this mod, and restarted crashing after opening the mod.

The mod is set to default, only the language is changed.

steam-test1 commented 2 years ago

Late reply, in General HUD Options > try setting HUD type to Vanilla

XieLongWu commented 2 years ago

Late reply, in General HUD Options > try setting HUD type to Vanilla

I remember that it was mentioned in the update that it will automatically switch to Vanilla after entering VR mode. It is indeed Vanilla in the options after I enter VR.

steam-test1 commented 2 years ago

Did the recent HUD update fix the crashing in VR mode?

XieLongWu commented 2 years ago

Hi, I have download back the game on steam, and used the last BLT and VPlusHUB to test it. But it still cashes. I used use win10, and now using win11. VR device is index.

TheKing4562 commented 1 year ago

In a similar but different situation, using HP Reverb G2 (which means WMR through SteamVR) having the same crashes but in the case of out of sea of mods I have install, this mod is the one that shows up on the crashlog. Change over from the old Wolfhud to this version to this version of the mod and still had the same issue.

Haven't tried toggling parts of the Hud off because I am not sure which toggles I would need to change to stop it from crashing + the extra annoyance of menu flipping in VR is just a bit too annoying to bother. Here's the crashlog after entering the safe house...

Application has crashed: C++ exception
mods/VanillaHUD Plus/lua/Scripts.lua:142: attempt to call method 'layout_scaled_fullscreen_workspace' (a nil value)

SCRIPT STACK

_setup_player_info_hud_pd2_original() @mods/base/req/core/Hooks.lua:282
_setup_player_info_hud_pd2_original() @mods/VanillaHUD Plus/lua/EnemyHealthCircle.lua:6
_setup_player_info_hud_pd2() @mods/VanillaHUD Plus/lua/EnemyHealthCircle.lua:6
setup() 4
setup() lib/managers/hudmanager.lua:330
load_hud() lib/managers/hudmanager.lua:317
init_finalize() lib/managers/hudmanager.lua:219
init_finalize() lib/setups/gamesetup.lua:759
init_finalize() lib/setups/networkgamesetup.lua:15
core/lib/setups/coresetup.lua:444

-------------------------------

Callstack:

      payday2_win32_release_vr  (???)     ???                                                 
      payday2_win32_release_vr  (???)     ???                                                 
      payday2_win32_release_vr  (???)     ???                                                 
      payday2_win32_release_vr  (???)     zip_get_name                                        
                         ntdll  (???)     RtlAllocateHeap                                     

-------------------------------

Current thread: Main

-------------------------------

System information:
    Application version : 1.1.1
    CPU : AMD Ryzen 5 5600X 6-Core Processor (6 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1
    DirectX : 12.0 
    GPU : AMD Radeon RX 6600 [Video:3072,Sys:0,Shared:1023,Vendor:0x1002]
    Language : english
    Memory :     16309MB 608KB
    OS : 6.2.9200 () 0x300-0x1 (64 bits)
    Physics : threaded
    Renderer : DX11 threaded
    Sound : Microsoft (Speakers (Realtek USB2.0 Audio))
steam-test1 commented 1 year ago

In a similar but different situation, using HP Reverb G2 (which means WMR through SteamVR) having the same crashes but in the case of out of sea of mods I have install, this mod is the one that shows up on the crashlog. Change over from the old Wolfhud to this version to this version of the mod and still had the same issue.

Haven't tried toggling parts of the Hud off because I am not sure which toggles I would need to change to stop it from crashing + the extra annoyance of menu flipping in VR is just a bit too annoying to bother. Here's the crashlog after entering the safe house...

Application has crashed: C++ exception
mods/VanillaHUD Plus/lua/Scripts.lua:142: attempt to call method 'layout_scaled_fullscreen_workspace' (a nil value)

SCRIPT STACK

_setup_player_info_hud_pd2_original() @mods/base/req/core/Hooks.lua:282
_setup_player_info_hud_pd2_original() @mods/VanillaHUD Plus/lua/EnemyHealthCircle.lua:6
_setup_player_info_hud_pd2() @mods/VanillaHUD Plus/lua/EnemyHealthCircle.lua:6
setup() 4
setup() lib/managers/hudmanager.lua:330
load_hud() lib/managers/hudmanager.lua:317
init_finalize() lib/managers/hudmanager.lua:219
init_finalize() lib/setups/gamesetup.lua:759
init_finalize() lib/setups/networkgamesetup.lua:15
core/lib/setups/coresetup.lua:444

-------------------------------

Callstack:

      payday2_win32_release_vr  (???)     ???                                                 
      payday2_win32_release_vr  (???)     ???                                                 
      payday2_win32_release_vr  (???)     ???                                                 
      payday2_win32_release_vr  (???)     zip_get_name                                        
                         ntdll  (???)     RtlAllocateHeap                                     

-------------------------------

Current thread: Main

-------------------------------

System information:
  Application version : 1.1.1
  CPU : AMD Ryzen 5 5600X 6-Core Processor (6 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1
  DirectX : 12.0 
  GPU : AMD Radeon RX 6600 [Video:3072,Sys:0,Shared:1023,Vendor:0x1002]
  Language : english
  Memory :     16309MB 608KB
  OS : 6.2.9200 () 0x300-0x1 (64 bits)
  Physics : threaded
  Renderer : DX11 threaded
  Sound : Microsoft (Speakers (Realtek USB2.0 Audio))

Released a auto update that may fix the crash