Hello,
I’m developping a LAN multplayer VR game with spatialized voicechat using OnlineSubsystemNull. Sometimes, a player randomly crashes on joining the game. The log says :
[2018.10.17-12.19.39:551][402]LogWindows: Error: ===
Critical error: ===
[2018.10.17-12.19.39:551][402]LogWindows: Error:
[2018.10.17-12.19.39:551][402]LogWindows: Error: Fatal error!
[2018.10.17-12.19.39:551][402]LogWindows: Error:
[2018.10.17-12.19.39:551][402]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000006c0
On inspecting the generated .dmp file, it appears that the crash happens in VoiceEngineImpl.cpp line 515
if (RemoteData.VoipSynthComponent->IsIdling() && RemoteData.bIsActive)
Here is my voice initialization process :
- bRequirePushToTalk = true
- StartNetworkedVoice manually called on MyPlayerController BeginPlay (if local)
- CreateTalkerForPlayer called in MyPawn’s OnRep_PlayerState (if not local and if HasActorBegunPlay(), otherwise called again in BeginPlay() )
Do you have an idea of what could cause this crash ?
Thanks,
Ben