Description

Several users have reported crashes when attempting to open the OculusVRDarts game we offer in our [Link Removed]

Instead of allowing the engine to crash, we should handle this issue gracefully and prompt the users to download required software (if any) from the appropriate source.

This does reproduce in //UE4/Release-4.24 cl so this is not a regression.

Steps to Reproduce
  1. Open the launcher and redeem the below code to have access to OculusVRDartsGame
    • 4PXEW-TMCVR-ZMLMU-3ZW8X
  2. Navigate to library and scroll to the bottom
  3. Select 'Create Project' next to the Oculus VR Darts Game title
  4. Launch Unreal Engine from the launcher
  5. Browse to the created OculusVRDartsGame and open it
  6. When prompted to rebuild the project select yes

Result
Once the project has finished building and tries to open, the editor crashes.

Expected
If the user does not have the requirements to open the project, we should handle the issue gracefully and direct the user to resources where they can further set up their environment.

Callstack
Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000150

UE4Editor-OnlineSubsystemOculus.dll!FOnlineSubsystemOculus::GetNotifDelegate() [D:\Build\++UE4+Licensee\Sync\Engine\Plugins\Online\OnlineSubsystemOculus\Source\Private\OnlineSubsystemOculus.cpp:188]
UE4Editor-Darts.dll!AOculusOSS::AOculusOSS() [C:\Users\Alex\Documents\Unreal Projects\OculusVRDartsGame2\Source\Darts\OculusOSS.cpp:38]
UE4Editor-CoreUObject.dll!UClass::CreateDefaultObject() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp:3672]
UE4Editor-CoreUObject.dll!UObjectLoadAllCompiledInDefaultProperties() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectBase.cpp:861]
UE4Editor-CoreUObject.dll!ProcessNewlyLoadedUObjects() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectBase.cpp:950]
UE4Editor-CoreUObject.dll!TBaseStaticDelegateInstance<void __cdecl(FName,bool)>::ExecuteIfSafe() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:859]
UE4Editor-Core.dll!TBaseMulticastDelegate<void,FName,bool>::Broadcast() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:1013]
UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:500]
UE4Editor-Projects.dll!FModuleDescriptor::LoadModulesForPhase() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Projects\Private\ModuleDescriptor.cpp:561]
UE4Editor-Projects.dll!FProjectManager::LoadModulesForProject() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Projects\Private\ProjectManager.cpp:63]
UE4Editor.exe!FEngineLoop::LoadStartupModules() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3854]
UE4Editor.exe!FEngineLoop::PreInitPostStartupScreen() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3220]
UE4Editor.exe!GuardedMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:127]
UE4Editor.exe!GuardedMainWrapper() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
UE4Editor.exe!WinMain() [D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

4
Login to Vote

Won't Fix
ComponentUE - Online
Affects Versions4.244.25
CreatedOct 6, 2020
ResolvedJul 19, 2022
UpdatedOct 28, 2022
View Jira Issue