Using push-to-talk radio crashes game
When trying to use the radio implemented in v0.5.2, Payday 2 crashes when pressing the trigger while holding the radio.
- I'm using VIVE
- SuperBLT version 1.1.4.1
- No other mods installed
Below are my crash logs. I first tried the radio offline twice (Not sure why I did that...), then once online. Crash each time I pressed the trigger. Holding the radio doesn't seem to be a problem though and it looks fine.
**(1st try, offline, Beneath The Mountain)**
Wed Mar 21 19:13:53 2018
Application has crashed: C++ exception
mods/base/req/xaudio/XAudioBuffer.lua:7: XAudio Error at ..\src\xaudio\XABuffer.cpp:18 : alErr : 40964
SCRIPT STACK
init() @mods/base/req/xaudio/XAudioBuffer.lua:7
new() @mods/base/req/utils/UtilsClass.lua:26
set_ptt() @mods/vrplus/hud/playerhandstateitem.lua:41
func() @mods/vrplus/hud/playerhandstateitem.lua:60
update() @mods/base/req/core/Hooks.lua:267
update() lib/utils/statemachine.lua:174
_update_controllers() @mods/vrplus/playerhand.lua:110
lib/units/beings/player/playerhand.lua:390
-------------------------------
Callstack:
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) zip_get_name
ntdll (???) RtlGetCurrentDirectory_U
ntdll (???) RtlDosLongPathNameToRelativeNtPathName_U_WithStatus
-------------------------------
Current thread: Main
-------------------------------
System information:
Application version : 1.1.1.
CPU : Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce GTX 1080 [Video:3072,Sys:0,Shared:1023,Vendor:0x10de]
Language : english
Memory : 16320MB 276KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX11 threaded
Sound : Microsoft (Speakers (5- HTC Vive))
**(2nd try, offline, Jewelry Store)**
Wed Mar 21 19:14:47 2018
Application has crashed: C++ exception
mods/base/req/xaudio/XAudioBuffer.lua:7: XAudio Error at ..\src\xaudio\XABuffer.cpp:18 : alErr : 40964
SCRIPT STACK
init() @mods/base/req/xaudio/XAudioBuffer.lua:7
new() @mods/base/req/utils/UtilsClass.lua:26
set_ptt() @mods/vrplus/hud/playerhandstateitem.lua:41
func() @mods/vrplus/hud/playerhandstateitem.lua:60
update() @mods/base/req/core/Hooks.lua:267
update() lib/utils/statemachine.lua:174
_update_controllers() @mods/vrplus/playerhand.lua:110
lib/units/beings/player/playerhand.lua:390
-------------------------------
Callstack:
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) zip_get_name
ntdll (???) RtlGetCurrentDirectory_U
ntdll (???) RtlDosLongPathNameToRelativeNtPathName_U_WithStatus
-------------------------------
Current thread: Main
-------------------------------
System information:
Application version : 1.1.1.
CPU : Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce GTX 1080 [Video:3072,Sys:0,Shared:1023,Vendor:0x10de]
Language : english
Memory : 16320MB 276KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX11 threaded
Sound : Microsoft (Speakers (5- HTC Vive))
**(3rd try, online, Slaughterhouse)**
Wed Mar 21 19:16:36 2018
Application has crashed: C++ exception
mods/base/req/xaudio/XAudioBuffer.lua:7: XAudio Error at ..\src\xaudio\XABuffer.cpp:18 : alErr : 40964
SCRIPT STACK
init() @mods/base/req/xaudio/XAudioBuffer.lua:7
new() @mods/base/req/utils/UtilsClass.lua:26
set_ptt() @mods/vrplus/hud/playerhandstateitem.lua:41
func() @mods/vrplus/hud/playerhandstateitem.lua:60
update() @mods/base/req/core/Hooks.lua:267
update() lib/utils/statemachine.lua:174
_update_controllers() @mods/vrplus/playerhand.lua:110
lib/units/beings/player/playerhand.lua:390
-------------------------------
Callstack:
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) ???
payday2_win32_release_vr (???) zip_get_name
ntdll (???) RtlGetCurrentDirectory_U
ntdll (???) RtlDosLongPathNameToRelativeNtPathName_U_WithStatus
-------------------------------
Current thread: Main
-------------------------------
System information:
Application version : 1.1.1.
CPU : Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce GTX 1080 [Video:3072,Sys:0,Shared:1023,Vendor:0x10de]
Language : english
Memory : 16320MB 276KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX11 threaded
Sound : Microsoft (Speakers (5- HTC Vive))
Edited by Joel Mäki