Description

Oculus Hand Components trigger a crash while playing in editor when Hand Tracking Support is changed to Hands Only.

Steps to Reproduce
  1. Create a new Virtual Reality project
  2. Open VRPawn in the Content Browser
  3. Parent an Oculus Hand Component to the 2 Motion Controller components
  4. Set the correct hand for the Skeletal Type and Mesh Type for each Oculus Hand Component
  5. Compile, save, and close the blueprint
  6. Open Project Settings search All Settings for Hand Tracking Support
  7. Change Hand Tracking Support to Hands Only
  8. Play in Editor

Expected Results:
Game starts in the Editor.

Actual Results:
Editor crashes with an Unhandled Exception:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000000000000
Callstack
LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Fatal error!
LogWindows: Error: 
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000000000000
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x0000000000000000 UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff923128d9c UnrealEditor-OculusInput.dll!OculusInput::FOculusHandTracking::GetHandSkeletalMesh() [D:\build\++UE5\Sync\Engine\Plugins\Runtime\Oculus\OculusVR\Source\OculusInput\Private\OculusHandTracking.cpp:235]
LogWindows: Error: [Callstack] 0x00007ff92312b44e UnrealEditor-OculusInput.dll!UOculusHandComponent::InitializeSkeletalMesh() [D:\build\++UE5\Sync\Engine\Plugins\Runtime\Oculus\OculusVR\Source\OculusInput\Private\OculusHandComponent.cpp:52]
LogWindows: Error: [Callstack] 0x00007ff923126fb9 UnrealEditor-OculusInput.dll!UOculusHandComponent::BeginPlay() [D:\build\++UE5\Sync\Engine\Plugins\Runtime\Oculus\OculusVR\Source\OculusInput\Private\OculusHandComponent.cpp:46]
LogWindows: Error: [Callstack] 0x00007ff93e789e27 UnrealEditor-Engine.dll!AActor::BeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3887]
LogWindows: Error: [Callstack] 0x00007ff93e794e3f UnrealEditor-Engine.dll!AActor::DispatchBeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:3849]
LogWindows: Error: [Callstack] 0x00007ff9405882c2 UnrealEditor-Engine.dll!AWorldSettings::NotifyBeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\WorldSettings.cpp:283]
LogWindows: Error: [Callstack] 0x00007ff93f0c9111 UnrealEditor-Engine.dll!AGameStateBase::HandleBeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameStateBase.cpp:205]
LogWindows: Error: [Callstack] 0x00007ff9404b4948 UnrealEditor-Engine.dll!UWorld::BeginPlay() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:4891]
LogWindows: Error: [Callstack] 0x00007ff93f083a15 UnrealEditor-Engine.dll!UGameInstance::StartPlayInEditorGameInstance() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:500]
LogWindows: Error: [Callstack] 0x00007ff96aae9198 UnrealEditor-UnrealEd.dll!UEditorEngine::CreateInnerProcessPIEGameInstance() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:3050]
LogWindows: Error: [Callstack] 0x00007ff96ab1e566 UnrealEditor-UnrealEd.dll!UEditorEngine::OnLoginPIEComplete_Deferred() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1566]
LogWindows: Error: [Callstack] 0x00007ff96aae9c42 UnrealEditor-UnrealEd.dll!UEditorEngine::CreateNewPlayInEditorInstance() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1828]
LogWindows: Error: [Callstack] 0x00007ff96ab3cd2a UnrealEditor-UnrealEd.dll!UEditorEngine::StartPlayInEditorSession() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:2796]
LogWindows: Error: [Callstack] 0x00007ff96ab40537 UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequestImpl() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1146]
LogWindows: Error: [Callstack] 0x00007ff96ab3fe21 UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequest() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\PlayLevel.cpp:1049]
LogWindows: Error: [Callstack] 0x00007ff96a4dd953 UnrealEditor-UnrealEd.dll!UEditorEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\EditorEngine.cpp:1665]
LogWindows: Error: [Callstack] 0x00007ff96ae69f56 UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick() [D:\build\++UE5\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdEngine.cpp:474]
LogWindows: Error: [Callstack] 0x00007ff6a6a182f6 UnrealEditor.exe!FEngineLoop::Tick() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5215]
LogWindows: Error: [Callstack] 0x00007ff6a6a30d9c UnrealEditor.exe!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
LogWindows: Error: [Callstack] 0x00007ff6a6a30e8a UnrealEditor.exe!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
LogWindows: Error: [Callstack] 0x00007ff6a6a33c4d UnrealEditor.exe!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
LogWindows: Error: [Callstack] 0x00007ff6a6a45534 UnrealEditor.exe!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
LogWindows: Error: [Callstack] 0x00007ff6a6a486e6 UnrealEditor.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogWindows: Error: [Callstack] 0x00007ff9e7027c24 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ff9e818d721 ntdll.dll!UnknownFunction []
LogWindows: Error: 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-151465 in the post.

7
Login to Vote

Unresolved
ComponentUE - Platform - XR
Affects Versions5.0.1
Target Fix5.1
CreatedMay 9, 2022
UpdatedMay 11, 2022