Recently, since upgrading to 5.3.2, Vulkan crashes when I open a .m3u8 livestream using Electra Player.
This has worked before, so it seems its relevant to a recent change, as I have updated my project from 5.1 to 5.3.2
I have tested on an S23 Ultra and on Meta Quest 3. Both get the same crash.
I figured it could actually be memory related given I have a complex world. I have put a screen in a blank black void level to test and still get the same result. So I highly doubt its actually running out of memory, might be a leak.
VK_ERROR_OUT_OF_HOST_MEMORY
Here is the crash log:
12-26 23:10:25.500 25215 25283 D UE : [2023.12.27-05.10.25:500][626]LogVulkanRHI: Error: VulkanRHI::vkCreateImage(InDevice.GetInstanceHandle(), &ImageCreateInfo.ImageCreateInfo, VULKAN_CPU_ALLOCATOR, &Image) failed, VkResult=-1
12-26 23:10:25.500 25215 25283 D UE : at ./Runtime/VulkanRHI/Private/VulkanTexture.cpp:1495
12-26 23:10:25.500 25215 25283 D UE : with error VK_ERROR_OUT_OF_HOST_MEMORY
12-26 23:10:25.502 25215 25283 D UE : Fatal error: [File:./Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 1131]
12-26 23:10:25.502 25215 25283 D UE : VulkanRHI::vkCreateImage(InDevice.GetInstanceHandle(), &ImageCreateInfo.ImageCreateInfo, VULKAN_CPU_ALLOCATOR, &Image) failed, VkResult=-1
12-26 23:10:25.502 25215 25283 D UE : at ./Runtime/VulkanRHI/Private/VulkanTexture.cpp:1495
12-26 23:10:25.502 25215 25283 D UE : with error VK_ERROR_OUT_OF_HOST_MEMORY
12-26 23:10:25.502 25215 25283 D UE : [2023.12.27-05.10.25:502][626]Fatal error: [File:./Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 1131]
12-26 23:10:25.502 25215 25283 D UE : VulkanRHI::vkCreateImage(InDevice.GetInstanceHandle(), &ImageCreateInfo.ImageCreateInfo, VULKAN_CPU_ALLOCATOR, &Image) failed, VkResult=-1
12-26 23:10:25.502 25215 25283 D UE : at ./Runtime/VulkanRHI/Private/VulkanTexture.cpp:1495
12-26 23:10:25.502 25215 25283 D UE : with error VK_ERROR_OUT_OF_HOST_MEMORY
12-26 23:10:25.502 25215 25283 D UE : 0x0000007CE0E08070 libUnreal.so(0x0000000007763070)
12-26 23:10:25.502 25215 25283 D UE : 0x0000007CE0E10420 libUnreal.so(0x000000000776B420)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CE0E0E914 libUnreal.so(0x0000000007769914)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEF69A0 libUnreal.so(0x00000000058519A0)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEF6298 libUnreal.so(0x0000000005851298)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEFE90C libUnreal.so(0x000000000585990C)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEFEAD8 libUnreal.so(0x0000000005859AD8)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD01E024 libUnreal.so(0x0000000003979024)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD01D87C libUnreal.so(0x000000000397887C)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD91B2C0 libUnreal.so(0x00000000042762C0)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD92278C libUnreal.so(0x000000000427D78C)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD082D14 libUnreal.so(0x00000000039DDD14)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD01A100 libUnreal.so(0x0000000003975100)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007DE8F3ADB4 libc.so(0x00000000000DFDB4)
12-26 23:10:25.503 25215 25283 D UE : 0x0000007DE8EE73E0 libc.so(0x000000000008C3E0)
12-26 23:10:25.503 25215 25283 D UE :
12-26 23:10:25.503 25215 25283 D UE :
12-26 23:10:25.503 25215 25283 D UE :
12-26 23:10:25.503 25215 25283 D UE : [2023.12.27-05.10.25:503][626]LogAndroid: Error: === Critical error: ===
12-26 23:10:25.503 25215 25283 D UE : [2023.12.27-05.10.25:503][626]LogAndroid: Error:
12-26 23:10:25.503 25215 25283 D UE : [2023.12.27-05.10.25:503][626]LogAndroid: Error: Fatal error: [File:./Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 1131]
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: VulkanRHI::vkCreateImage(InDevice.GetInstanceHandle(), &ImageCreateInfo.ImageCreateInfo, VULKAN_CPU_ALLOCATOR, &Image) failed, VkResult=-1
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: at ./Runtime/VulkanRHI/Private/VulkanTexture.cpp:1495
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: with error VK_ERROR_OUT_OF_HOST_MEMORY
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CE0E08070 libUnreal.so(0x0000000007763070)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CE0E10420 libUnreal.so(0x000000000776B420)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CE0E0E914 libUnreal.so(0x0000000007769914)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDEEF69A0 libUnreal.so(0x00000000058519A0)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDEEF6298 libUnreal.so(0x0000000005851298)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDEEFE90C libUnreal.so(0x000000000585990C)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDEEFEAD8 libUnreal.so(0x0000000005859AD8)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDD01E024 libUnreal.so(0x0000000003979024)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDD01D87C libUnreal.so(0x000000000397887C)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDD91B2C0 libUnreal.so(0x00000000042762C0)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDD92278C libUnreal.so(0x000000000427D78C)
12-26 23:10:25.504 25215 25283 D UE : [2023.12.27-05.10.25:504][626]LogAndroid: Error: [Callstack] 0x0000007CDD082D14 libUnreal.so(0x00000000039DDD14)
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error: [Callstack] 0x0000007CDD01A100 libUnreal.so(0x0000000003975100)
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error: [Callstack] 0x0000007DE8F3ADB4 libc.so(0x00000000000DFDB4)
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error: [Callstack] 0x0000007DE8EE73E0 libc.so(0x000000000008C3E0)
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error:
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error:
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error:
12-26 23:10:25.505 25215 25283 D UE : [2023.12.27-05.10.25:505][626]LogAndroid: Error:
12-26 23:10:25.519 25215 25283 D UE : [2023.12.27-05.10.25:519][626]LogExit: Executing StaticShutdownAfterError
12-26 23:10:25.521 25215 25283 D UE : [2023.12.27-05.10.25:521][626]LogAndroid: FAndroidMisc::RequestExit(1, FAndroidErrorOutputDevice::Serialize.!GIsGuarded)
12-26 23:10:25.531 25215 25283 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
I’ve tried lowering the bitrate, streaming in 720p, and none of this fixes it. Would be great to find a fix.
Anything would help. Thank you.