When I have 2 players using voice chat the game crashes after seamless travel. the 2 clients are playing on the Quest and connected to a server running on Windows. It crashes on each device. Am I supposed to be calling something to clear the talking players pre seamless travel? I’m using OnlineSubSystemNull.
I also had to disable this ensure in VoiceInterfaceImpl.cpp to get voice to work on Android:
ensureAlways(Amplitude >= 0.0f && Amplitude <= 1.0f);
crash on Windows:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
ArcheryVR!USynthComponent::Stop() [y:\unrealengine\engine\source\runtime\audiomixer\private\components\synthcomponent.cpp:485]
ArcheryVR!FRemoteTalkerDataImpl::Reset() [y:\unrealengine\engine\plugins\online\onlinesubsystemutils\source\onlinesubsystemutils\private\voiceengineimpl.cpp:136]
ArcheryVR!FRemoteTalkerDataImpl::~FRemoteTalkerDataImpl() [y:\unrealengine\engine\plugins\online\onlinesubsystemutils\source\onlinesubsystemutils\private\voiceengineimpl.cpp:124]
ArcheryVR!TSparseArray<TSetElement<TTuple<FUniqueNetIdWrapper,FRemoteTalkerDataImpl> >,TSparseArrayAllocator<TSizedDefaultAllocator<32>,FDefaultBitArrayAllocator> >::Empty() [y:\unrealengine\engine\source\runtime\core\public\containers\sparsearray.h:341]
ArcheryVR!FVoiceEngineImpl::~FVoiceEngineImpl() [y:\unrealengine\engine\plugins\online\onlinesubsystemutils\source\onlinesubsystemutils\private\voiceengineimpl.cpp:239]
ArcheryVR!FVoiceEngineImpl::`scalar deleting destructor'()
ArcheryVR!SharedPointerInternals::FSharedReferencer<1>::operator=() [y:\unrealengine\engine\source\runtime\core\public\templates\sharedpointerinternals.h:516]
ArcheryVR!FOnlineVoiceImpl::Shutdown() [y:\unrealengine\engine\plugins\online\onlinesubsystemutils\source\onlinesubsystemutils\private\voiceinterfaceimpl.cpp:102]
ArcheryVR!FOnlineSubsystemNull::Shutdown() [y:\unrealengine\engine\plugins\online\onlinesubsystemnull\source\private\onlinesubsystemnull.cpp:248]
ArcheryVR!FOnlineSubsystemModule::ShutdownOnlineSubsystem() [y:\unrealengine\engine\plugins\online\onlinesubsystem\source\private\onlinesubsystemmodule.cpp:224]
ArcheryVR!FModuleManager::UnloadModule() [y:\unrealengine\engine\source\runtime\core\private\modules\modulemanager.cpp:604]
ArcheryVR!FModuleManager::UnloadModulesAtShutdown() [y:\unrealengine\engine\source\runtime\core\private\modules\modulemanager.cpp:732]
ArcheryVR!FEngineLoop::Exit() [y:\unrealengine\engine\source\runtime\launch\private\launchengineloop.cpp:4216]
ArcheryVR!GuardedMain() [y:\unrealengine\engine\source\runtime\launch\private\launch.cpp:182]
ArcheryVR!GuardedMainWrapper() [y:\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:137]
ArcheryVR!WinMain() [y:\unrealengine\engine\source\runtime\launch\private\windows\launchwindows.cpp:268]
ArcheryVR!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
Another Windows crash:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000c00145c94
ArcheryVR!FAudioDevice::StopSoundsUsingResource() [y:\unrealengine\engine\source\runtime\engine\private\audiodevice.cpp:6320]
ArcheryVR!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask() [y:\unrealengine\engine\source\runtime\core\public\async\taskgraphinterfaces.h:887]
ArcheryVR!FNamedTaskThread::ProcessTasksNamedThread() [y:\unrealengine\engine\source\runtime\core\private\async\taskgraph.cpp:709]
ArcheryVR!FNamedTaskThread::ProcessTasksUntilQuit() [y:\unrealengine\engine\source\runtime\core\private\async\taskgraph.cpp:601]
ArcheryVR!FAudioThread::Run() [y:\unrealengine\engine\source\runtime\engine\private\audiothread.cpp:203]
ArcheryVR!FRunnableThreadWin::Run() [y:\unrealengine\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:86]
This is the logcat output on the Quest but it’s just crashing due the Ensure, which is another bug.
07-07 14:12:14.583 31361 31395 F libc : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x76d07005bc in tid 31395 (GameThread), pid 31361 (main)
07-07 14:12:14.709 31770 31770 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-07 14:12:14.709 31770 31770 F DEBUG : Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/17007100222900000:user/release-keys'
07-07 14:12:14.709 31770 31770 F DEBUG : Revision: '0'
07-07 14:12:14.709 31770 31770 F DEBUG : ABI: 'arm64'
07-07 14:12:14.709 31770 31770 F DEBUG : Timestamp: 2021-07-07 14:12:14+0200
07-07 14:12:14.709 31770 31770 F DEBUG : pid: 31361, tid: 31395, name: GameThread >>> com. <<<
07-07 14:12:14.709 31770 31770 F DEBUG : uid: 10492
07-07 14:12:14.709 31770 31770 F DEBUG : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x76d07005bc
07-07 14:12:14.709 31770 31770 F DEBUG : Cause: execute-only (no-read) memory access error; likely due to data in .text.
07-07 14:12:14.709 31770 31770 F DEBUG : x0 0000000000000000 x1 0000000000001000 x2 0000000000000001 x3 0000000000000000
07-07 14:12:14.709 31770 31770 F DEBUG : x4 00000075e3fa2c40 x5 00000075cc3a1d50 x6 000000000000001d x7 0000000000000000
07-07 14:12:14.709 31770 31770 F DEBUG : x8 00000000000000e3 x9 d1c5e01fab347667 x10 00000076d069aaf0 x11 000000000000001b
07-07 14:12:14.709 31770 31770 F DEBUG : x12 000000000000ff84 x13 0000000000000001 x14 fffffffffc000000 x15 000000000000ff86
07-07 14:12:14.709 31770 31770 F DEBUG : x16 00000075e17d8370 x17 00000076d06ec7e0 x18 00000075e3fc6f8c x19 00000075e3fa2ba0
07-07 14:12:14.709 31770 31770 F DEBUG : x20 00000076d07005bc x21 0000000000000000 x22 00000075e3fcdd00 x23 00000076d07005b8
07-07 14:12:14.709 31770 31770 F DEBUG : x24 0000000000000004 x25 00000075e1964d7c x26 00000075d851b97a x27 00000075e19aebc0
07-07 14:12:14.709 31770 31770 F DEBUG : x28 00000075e3fce020 x29 00000075e3fa2b90
07-07 14:12:14.709 31770 31770 F DEBUG : sp 00000075e3fa2b70 lr 00000075e0cdb750 pc 00000075e0cdb77c
07-07 14:12:14.812 31770 31770 F DEBUG :
07-07 14:12:14.812 31770 31770 F DEBUG : backtrace:
07-07 14:12:14.812 31770 31770 F DEBUG : #00 pc 000000000f0b777c /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #01 pc 000000000f0c26e0 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (_ULaarch64_is_signal_frame+76) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #02 pc 000000000f0c06ec /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (_ULaarch64_step+44) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #03 pc 000000000f0b6e0c /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (unw_backtrace+340) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #04 pc 0000000009995eb8 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FAndroidPlatformStackWalk::CaptureStackBackTrace(unsigned long long*, unsigned int, void*)+324) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #05 pc 0000000009a3c358 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long long, int, void*)+104) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #06 pc 0000000009be8484 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FDebug::EnsureFailed(char const*, char const*, int, char16_t const*, int)+592) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #07 pc 0000000009be8c74 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FDebug::OptionallyLogFormattedEnsureMessageReturningFalseImpl(bool, char const*, char const*, int, char16_t const*, ...)+172) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #08 pc 000000000becbd30 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #09 pc 000000000be75ed8 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FScene::Release()+444) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #10 pc 000000000dc41610 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (UWorld::FinishDestroy()+196) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #11 pc 000000000a165ba8 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (UObject::ConditionalFinishDestroy()+228) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #12 pc 000000000a0d7ec0 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (IncrementalPurgeGarbage(bool, float)+2824) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #13 pc 000000000a0db0e0 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (CollectGarbageInternal(EObjectFlags, bool)+4236) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #14 pc 000000000a0dccc0 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (CollectGarbage(EObjectFlags, bool)+32) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #15 pc 000000000dc5e220 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FSeamlessTravelHandler::Tick()+4248) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #16 pc 000000000db450a8 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (UEngine::TickWorldTravel(FWorldContext&, float)+68) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #17 pc 000000000d122e34 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (UGameEngine::Tick(float, bool)+3900) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #18 pc 0000000008483048 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (FEngineLoop::Tick()+34556) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #19 pc 0000000008479118 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (AndroidMain(android_app*)+4192) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #20 pc 0000000008489c9c /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (android_main+160) (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #21 pc 00000000084b6744 /data/app/com.-noHjp5XmKOovB1asrZEZEA==/lib/arm64/libUE4.so (BuildId: aa8103eb45752c4a289a9ef21d6e9527cac36d9f)
07-07 14:12:14.812 31770 31770 F DEBUG : #22 pc 00000000000e25b8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: d103c38b4b0eaa366a982b6fbf424e5e)
07-07 14:12:14.812 31770 31770 F DEBUG : #23 pc 0000000000082ccc /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: d103c38b4b0eaa366a982b6fbf424e5e)