Forum Discussion
nate_jona
3 years agoExplorer
UE4 crash when using VR Preview since last Oculus app update
Hello, this has been impossible to use the VR preview anymore since the last Oculus app update.
Every time you use the VR preview for a second time, Unreal will crash. Please fix this asap, it's making debugging in VR a nightmare.
The issue is on 4.27 but I already discussed with several persons having the issue on different versions of UE5.
23 Replies
Replies have been turned off for this discussion
- nmasso.sriExplorer
Having the same exact issue. Oculus v59.0.0.138.366 . Quest 2 with latest firmware over link cable.
Project works fine, first time doing VR preview is normal. Second time crashes immediately.
UE 4.27 stack trace:
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 703] Array index out of bounds: 0 from an array of size 0 UE4Editor_Core!AssertFailedImplV() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:104] UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Misc\AssertionMacros.cpp:461] UE4Editor_OpenXRHMD!DispatchCheckVerify<void,<lambda_08824782e99fc79d6f6b674f2fb0d323> >() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Misc\AssertionMacros.h:165] UE4Editor_OpenXRHMD!FOpenXRHMD::SetFinalViewRect() [D:\Build\++UE4\Sync\Engine\Plugins\Runtime\OpenXR\Source\OpenXRHMD\Private\OpenXRHMD.cpp:1297] UE4Editor_Renderer!FSceneRenderer::PrepareViewRectsForRendering() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:2618] UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Renderer\Private\DeferredShadingRenderer.cpp:1348] UE4Editor_Renderer!RenderViewFamily_RenderThread() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:3742] UE4Editor_Renderer!<lambda_cc1442c4bafed83188c182dd4b1a4ab0>::operator()() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:4009] UE4Editor_Renderer!TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamily'::`43'::FDrawSceneCommandName,<lambda_cc1442c4bafed83188c182dd4b1a4ab0> >::DoTask() [D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Public\RenderingThread.h:183] UE4Editor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamily'::`43'::FDrawSceneCommandName,<lambda_cc1442c4bafed83188c182dd4b1a4ab0> > >::ExecuteTask() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:886] UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:710] UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:602] UE4Editor_RenderCore!RenderingThreadMain() [D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:373] UE4Editor_RenderCore!FRenderingThread::Run() [D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:509] UE4Editor_Core!FRunnableThreadWin::Run() [D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:86]
- KhebabProtege
Got the same issue Meta please look into this asap losing precious development time
- gireada09Explorer
Same symptoms here, UE 5.1, Array Index out of Bounds
LoginId:6add565b4e83249bb4d6ed85210d9753
EpicAccountId:3f6bb25e6ba0499a8d00cf8871ed187aAssertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 763] Array index out of bounds: 0 from an array of size 0
UnrealEditor_OpenXRHMD
UnrealEditor_HeadMountedDisplay
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Renderer
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdllafter the update
- misakokimuraHonored Guest
I am experiencing the exact same isssue since last week.
Having the same problem even after packaging the UE project (shipping build).
Has anyone gotten support from the officials?
Thank you,
- gireada09Explorer
I found a solution by installing MetaXR Plugin https://developer.oculus.com/downloads/package/unreal-engine-5-integration/51.0 4
Work with v51.0 for UE 5.1.1, when you choose other one it will write in requirements what UE version need to have.
Related here [5.1 Hand Samples - Array Index error? · Issue #247 · Oculus-VR/Unreal Engine (github.com)] (https://github.com/Oculus-VR/UnrealEngine/issues/247 2)
- virtualpebblePartner
Switching to the MetaXR plugin fixed this problem for me. Thanks!
- nmasso.sriExplorer
While it may help some people, switching to MetaXR is not a true solution to this issue - those of us developing PCVR for other headsets still rely on the OpenXR support, as the calls are different.
- dfbExplorer
Is the MetaXR plugin available for UE4? We won't be moving to UE5 for several more months, unfortunately. This bug is absolutely killing us, grrr.
- misakokimuraHonored Guest
MetaXR Plugin works well for VR template project, but it doesn't work for the project I am creating.
When I use the MetaXR Plugin, it works fine the first and second time switching to VR, but the third time PC screen was black out.
BTW, this is in shipping build, not UE editor. - ChristopheKOHLERExplorer
Two updates have been done on Occulus App since then, but the problem is still there (I'm in the beta program)
Current tested version : 60.0.0.109.352
- dfbExplorer
Yeah, I'm on that version too - same crash.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years ago
- 7 months ago
- 2 years ago