Hi, so our game works fine in the editor but crash on the mobile after package, can someone help me identify the problem? Iam stuck more then 2 weeks on that…
here is part of the log:
D/UE4: [2022.09.24-20.51.15:769][276]LogVulkanRHI: Error: Result failed, VkResult=-4
D/UE4: at D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4789
D/UE4: with error VK_ERROR_DEVICE_LOST
D/UE4: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 958]
D/UE4: Result failed, VkResult=-4
D/UE4: at D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4789
D/UE4: with error VK_ERROR_DEVICE_LOST
D/UE4: [2022.09.24-20.51.15:836][276]Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 958]
D/UE4: Result failed, VkResult=-4
D/UE4: at D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4789
D/UE4: with error VK_ERROR_DEVICE_LOST
D/UE4: 0x00000000A98A11F0 libUE4.so(0x00000000076D61F0) []
D/UE4: 0x00000000A98757B0 libUE4.so(0x00000000076AA7B0)!VulkanRHI::VerifyVulkanResult(VkResult, char const*, char const*, unsigned int) []
D/UE4: 0x00000000A9823DA0 libUE4.so(0x0000000007658DA0)!VulkanRHI::FFenceManager::WaitForFence(VulkanRHI::FFence*, unsigned long long) []
D/UE4: 0x00000000A97DB9F8 libUE4.so(0x00000000076109F8)!FVulkanCommandBufferManager::WaitForCmdBuffer(FVulkanCmdBuffer*, float) []
D/UE4: 0x00000000A984BA20 libUE4.so(0x0000000007680A20)!FVulkanDynamicRHI::RHIReadSurfaceFloatData(FRHITexture*, FIntRect, TArray<FFloat16Color, TSizedDefaultAllocator<32> >&, ECubeFace, int, int) []
D/UE4: 0x00000000AB0C4808 libUE4.so(0x0000000008EF9808)!FDynamicRHI::RHIReadSurfaceFloatData_RenderThread(FRHICommandListImmediate&, FRHITexture*, FIntRect, TArray<FFloat16Color, TSizedDefaultAllocator<32> >&, ECubeFace, int, int) []
D/UE4: 0x00000000AC48BCE0 libUE4.so(0x000000000A2C0CE0)!ComputeSingleAverageBrightnessFromCubemap(FRHICommandListImmediate&, ERHIFeatureLevel::Type, int, FSceneRenderTargetItem&) []
D/UE4: 0x00000000AC259B4C libUE4.so(0x000000000A08EB4C)!MobileReflectionEnvironmentCapture::ComputeAverageBrightness(FRHICommandListImmediate&, ERHIFeatureLevel::Type, int, float&) []
D/UE4: 0x00000000AC520078 libUE4.so(0x000000000A355078) []
D/UE4: 0x00000000A9926E44 libUE4.so(0x000000000775BE44)!FNamedTaskThread::ProcessTasksNamedThread(int, bool) []
D/UE4: 0x00000000A99251B8 libUE4.so(0x000000000775A1B8)!FNamedTaskThread::ProcessTasksUntilQuit(int) []
D/UE4: 0x00000000AB16CE64 libUE4.so(0x0000000008FA1E64)!RenderingThreadMain(FEvent*) []
D/UE4: 0x00000000AB18510C libUE4.so(0x0000000008FBA10C)!FRenderingThread::Run() []
D/UE4: 0x00000000A9A4589C libUE4.so(0x000000000787A89C)!FRunnableThreadPThread::Run() []
D/UE4: 0x00000000A991E644 libUE4.so(0x0000000007753644)!FRunnableThreadPThread::_ThreadProc(void*) []
D/UE4: 0x00000000F1FCCA78 libc.so(0x0000000000080A78) []
D/UE4: 0x00000000F1F85A36 libc.so(0x0000000000039A36) []
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: === Critical error: ===
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error:
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 958]
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: Result failed, VkResult=-4
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: at D:/Build/++UE4/Sync/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4789
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: with error VK_ERROR_DEVICE_LOST
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: [Callstack] 0x00000000A98A11F0 libUE4.so(0x00000000076D61F0) []
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: [Callstack] 0x00000000A98757B0 libUE4.so(0x00000000076AA7B0)!VulkanRHI::VerifyVulkanResult(VkResult, char const*, char const*, unsigned int) []
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: [Callstack] 0x00000000A9823DA0 libUE4.so(0x0000000007658DA0)!VulkanRHI::FFenceManager::WaitForFence(VulkanRHI::FFence*, unsigned long long) []
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: [Callstack] 0x00000000A97DB9F8 libUE4.so(0x00000000076109F8)!FVulkanCommandBufferManager::WaitForCmdBuffer(FVulkanCmdBuffer*, float) []
D/UE4: [2022.09.24-20.51.15:836][276]LogAndroid: Error: [Callstack] 0x00000000A984BA20 libUE4.so(0x0000000007680A20)!FVulkanDynamicRHI::RHIReadSurfaceFloatData(FRHITexture*, FIntRect, TArray<FFloat16Color, TSizedDefaultAllocator<32> >&, ECubeFace, int, int) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000AB0C4808 libUE4.so(0x0000000008EF9808)!FDynamicRHI::RHIReadSurfaceFloatData_RenderThread(FRHICommandListImmediate&, FRHITexture*, FIntRect, TArray<FFloat16Color, TSizedDefaultAllocator<32> >&, ECubeFace, int, int) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000AC48BCE0 libUE4.so(0x000000000A2C0CE0)!ComputeSingleAverageBrightnessFromCubemap(FRHICommandListImmediate&, ERHIFeatureLevel::Type, int, FSceneRenderTargetItem&) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000AC259B4C libUE4.so(0x000000000A08EB4C)!MobileReflectionEnvironmentCapture::ComputeAverageBrightness(FRHICommandListImmediate&, ERHIFeatureLevel::Type, int, float&) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000AC520078 libUE4.so(0x000000000A355078) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000A9926E44 libUE4.so(0x000000000775BE44)!FNamedTaskThread::ProcessTasksNamedThread(int, bool) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000A99251B8 libUE4.so(0x000000000775A1B8)!FNamedTaskThread::ProcessTasksUntilQuit(int) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000AB16CE64 libUE4.so(0x0000000008FA1E64)!RenderingThreadMain(FEvent*) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000AB18510C libUE4.so(0x0000000008FBA10C)!FRenderingThread::Run() []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000A9A4589C libUE4.so(0x000000000787A89C)!FRunnableThreadPThread::Run() []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000A991E644 libUE4.so(0x0000000007753644)!FRunnableThreadPThread::_ThreadProc(void*) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000F1FCCA78 libc.so(0x0000000000080A78) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error: [Callstack] 0x00000000F1F85A36 libc.so(0x0000000000039A36) []
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error:
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error:
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error:
D/UE4: [2022.09.24-20.51.15:837][276]LogAndroid: Error:
D/UE4: [2022.09.24-20.51.15:848][276]LogExit: Executing StaticShutdownAfterError
D/UE4: [2022.09.24-20.51.15:848][276]LogAndroid: FAndroidMisc::RequestExit(1)
I/ArcaneDefender: System.exit called, status: 0
I/AndroidRuntime: VM exiting with result code 0, cleanup skipped.