01-18-2024 06:26 PM - edited 01-18-2024 06:37 PM
Hello!
My Unreal 5.2 editor window becomes frozen and no graphics when I try to enter VR Preview with multiple networked clients, after a couple minutes it'd stop the PIE mode automatically. It only occurs for the first time starting VR Preview in each editor session, the 2+ times work perfectly fine. The logs seem to indicate that the XR session is lost, is there a fix to this? Also I'm not sure why it doesn't happen after the first time.
We are using the Meta Fork version of Unreal 5.2.
Here are some related logs:
LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.00, Realtime: 98.83. IpNetDriver_1 LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_RUNTIME_FAILURE]: xrWaitFrame(m_xrSession, nullptr, &frameState), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:8134 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318) LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().WaitToBeginFrame 1 failed (-1006) LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1 outside of frame bounds LogTemp: Setting Motion Vector Buffer Size to (840, 456) LogAction: Warning: UNKNOWN: UAssetManager::ForceLoadItem: Failed to load item for identifier AvatarMask:DA_AvatarMask_Default! LogAction: Warning: UNKNOWN: UAssetManager::ForceLoadItem: Failed to load item for identifier AvatarMask:DA_AvatarMask_Default! LogAction: [GameInstance] Loaded Save Game LogNet: UNetDriver::TickDispatch: Very long time between ticks. DeltaTime: 0.00, Realtime: 128.71. IpNetDriver_2 LogOVRPlugin: Display: [XR_SESSION] XrEventDataSessionStateChanged: state XR_SESSION_STATE_READY->XR_SESSION_STATE_LOSS_PENDING session=72156412645474305 time=19940602036900 LogOVRPlugin: [XR_SESSION] ... running 1 visible 0 focused 0 LogOVRPlugin: Error: [XRCMD][failure] [XR_ERROR_SESSION_LOST]: xrWaitFrame(m_xrSession, nullptr, &frameState), arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.cpp:8134 (arvr\projects\integrations\OVRPlugin\Src\Util\CompositorOpenXR.h:318) LogHMD: Error: FOculusXRHMDModule::GetPluginWrapper().WaitToBeginFrame 1 failed (-1000) LogOVRPlugin: Display: Warning : CompositorOpenXR::Update called for frame 1 outside of frame bounds
Appreciate for your insights!