Unreal 5.3.2 Electra Player .m3u8 stream Vulkan Crash on Android + Quest 3

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)Unknown
12-26 23:10:25.502 25215 25283 D UE : 0x0000007CE0E10420 libUnreal.so(0x000000000776B420)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CE0E0E914 libUnreal.so(0x0000000007769914)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEF69A0 libUnreal.so(0x00000000058519A0)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEF6298 libUnreal.so(0x0000000005851298)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEFE90C libUnreal.so(0x000000000585990C)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDEEFEAD8 libUnreal.so(0x0000000005859AD8)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD01E024 libUnreal.so(0x0000000003979024)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD01D87C libUnreal.so(0x000000000397887C)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD91B2C0 libUnreal.so(0x00000000042762C0)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD92278C libUnreal.so(0x000000000427D78C)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD082D14 libUnreal.so(0x00000000039DDD14)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007CDD01A100 libUnreal.so(0x0000000003975100)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007DE8F3ADB4 libc.so(0x00000000000DFDB4)Unknown
12-26 23:10:25.503 25215 25283 D UE : 0x0000007DE8EE73E0 libc.so(0x000000000008C3E0)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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)Unknown
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.

Hey there @RealAero! This sounds like a possible regression to a previous Electra/Vulkan issue, could you submit a full report over here in the meantime?

1 Like

Thank you! I have submitted a bug report.

Do you know if the reports have to be approved before they show up? I don’t see my report when I search for it in the Search option.

You’re correct, listed issues to the ticket site do have a preliminary check before they can be approved.

1 Like

Ok cool, was just ensuring it wasn’t a bug or mistake on my end. Thank you!

1 Like

Is there a way to use the old driver in 5.1 in 5.3.2 if I am using a source build? Is it possible to just delete a certain folder and copy an old one? Or are the dependencies just way too deeply integrated?

My issue still doesn’t show up in the Issue Tracker, and I cannot just wait until this is fixed. I hate to complain, but that sounds draconian and unproactive.

There must be a more proactive solution I can take. I work on this project daily, and this hinders release and progress.

I haven’t personally looked into the complexity of the player’s source code, but I’d assume due to it’s nature it’s somewhat decoupled from most of the engine. However if it touches any RHI code it’d be extremely complex to try and scalpel it out. That said, if you have the technical ability, it’d be worth taking a look at it’s source, and you might even be able to comb through the PRs that touched in between versions and identify where the issue arose.

1 Like

Hi @RealAero, Can you give me WhatsApp number? I need your help for my project, thank you very much!!!

Bump! This is still an issue :frowning:

Bump Bump

1 Like

Wow! I did super deep diving with a blank project and comparing and I cracked it.

I just needed to make a new Media Player, Video Texture, and Media Stream Source assets. This project has been updated several times over the years. And maybe the assets broke or deteriorated in some way.

Literally same exact Media Player/Video Texture/Media Stream Source settings recreated as new assets fixed this problem for me.

Thank God! Whoop Whoop!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.