Forum Discussion
MaxNiftyNine
3 years agoHonored Guest
Game crashes on startup - Unreal 5.2.1
Hello, I've been trying to get this working for a while now but haven't gotten it to. This happens no matter which project template I use. This time I made a VR project and then just added meta XR and made all the changes in settings that are needed. then when building everything seems fine until I try to open the app up on my quest 2 where it just fades the screen to black and then immediately puts me back in my home environment. I get this in the logs when it crashes.
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: === Critical error: ===
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error:
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: Fatal error: [File:./Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 7173]
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: Missing global shader FHardOcclusionsPS's permutation 0, Please make sure cooking was successful.
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000077C56AFCD0 libUnreal.so(0x0000000013608CD0)!VerifyGlobalShaders(EShaderPlatform, ITargetPlatform const*, bool, TArray<FShaderType const*, TSizedDefaultAllocator<32> > const*, TArray<FShaderPipelineType const*, TSizedDefaultAllocator<32> > const*) []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000077C56B285C libUnreal.so(0x000000001360B85C)!CompileGlobalShaderMap(EShaderPlatform, ITargetPlatform const*, bool) []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000077BD1589DC libUnreal.so(0x000000000B0B19DC)!FEngineLoop::PreInitPreStartupScreen(char16_t const*) []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000077BD141B08 libUnreal.so(0x000000000B09AB08)!AndroidMain(android_app*) []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000077BD1504B8 libUnreal.so(0x000000000B0A94B8)!android_main() []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000077BD1862B8 libUnreal.so(0x000000000B0DF2B8)![Unknown]() []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000078E2B371DC libc.so(0x00000000000DF1DC)![Unknown]() []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error: [Callstack] 0x00000078E2AE32F0 libc.so(0x000000000008B2F0)![Unknown]() []
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error:
[2023.11.08-22.11.57:818][ 0]LogAndroid: Error:
[2023.11.08-22.11.57:832][ 0]LogExit: Executing StaticShutdownAfterError
[2023.11.08-22.11.57:832][ 0]LogAndroid: FAndroidMisc::RequestExit(1)
Sorry if I'm missing something I should know, I'm new to unreal since ive been doing unity forever
2 Replies
Replies have been turned off for this discussion
- MaxNiftyNineHonored Guest
Also when I disable Meta XR (and open XR) it doesent crash but of course it isn't VR
- DubFitnessProtege
I also am having one hell of a time getting the Meta XR plugins to work properly with UE5. Everything works fine if they are uninstalled (the game loads on headset in a 2d window). But once plugins are turned on it's constant head ache. The CURRENT error I am having is UE crashes whenever a node from the plugin is triggered:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000000000000UnrealEditor_OculusXREditorUnrealEditor_OculusXREditorUnrealEditor_OculusXREditorUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_OculusXREditorUnrealEditor_OculusXREditorUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_SlateUnrealEditor_ApplicationCoreUnrealEditor_ApplicationCoreUnrealEditor_ApplicationCoreUnrealEditor_ApplicationCoreuser32user32UnrealEditor_ApplicationCoreUnrealEditorUnrealEditorUnrealEditorUnrealEditorUnrealEditorUnrealEditorkernel32ntdll
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device