Description

Android projects in 4.22.1 crash on launch with Vulkan enabled.

Did NOT reproduce in 4.23 MAIN at CL 6156332

4.22.1 release CL is the same as a related fix for this ( UE-73141

Steps to Reproduce
  1. Create a new BP project
  2. Enable Vulkan in Android project settings. (Open GL ES2 will remain on per https://docs.unrealengine.com/en-us/Platforms/Android/VulkanMobileRenderer )
  3. Launch onto Android device. (Tested with Pixel XL)

Result: App crashes on launch.

Callstack

0:53:04.572 10455 10629 D UE4 : [2019.04.30-14.53.04:572][ 0]LogAndroid: Error: === Critical error: ===
LogPlayLevel: Error: 04-30 10:53:04.572 10455 10629 D UE4 : [2019.04.30-14.53.04:572][ 0]LogAndroid: Error:
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: Assertion failed: Resource [Link Removed] [Line: 241]
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: Invalid resource entry creating uniform buffer, FViewUniformShaderParameters.Resources[48], ResourceType 0x6.
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C7C012E8 (0x0000000003D3B2E8) libUE4.so!FDebug::CheckVerifyFailedImpl(char const*, char const*, int, char16_t const*, ...) []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000CBC96014 (0x0000000007DD0014) libUE4.so!void FDebug::CheckVerifyFailed<char16_t [85], char16_t const*, int, unsigned char>(char const*, char const*, int, char16_t const (&) [85], char16_t const*, int, unsigned char) []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000CBC960E0 (0x0000000007DD00E0) libUE4.so!void FVulkanDynamicRHI::UpdateUniformBuffer<false>(FVulkanUniformBuffer*, void const*)::{lambda()#1}::operator()() const []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C7A11220 (0x0000000003B4B220) libUE4.so!void FVulkanDynamicRHI::UpdateUniformBuffer<false>(FVulkanUniformBuffer*, void const*) []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C911F6CC (0x00000000052596CC) libUE4.so!FPersistentUniformBuffers::UpdateViewUniformBuffer(FViewInfo const&) []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C8EB2150 (0x0000000004FEC150) libUE4.so!FMobileSceneRenderer::InitViews(FRHICommandListImmediate&) []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C8EB2F48 (0x0000000004FECF48) libUE4.so!FMobileSceneRenderer::Render(FRHICommandListImmediate&) []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C91AADF8 (0x00000000052E4DF8) libUE4.so![Unknown]() []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C91ACDD0 (0x00000000052E6DD0) libUE4.so![Unknown]() []
LogPlayLevel: Error: 04-30 10:53:04.573 10455 10629 D UE4 : [2019.04.30-14.53.04:573][ 0]LogAndroid: Error: [Callstack] 0x00000000C7A69D58 (0x0000000003BA3D58) libUE4.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000C7A6886C (0x0000000003BA286C) libUE4.so!FNamedTaskThread::ProcessTasksUntilQuit(int) []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000C8B451E8 (0x0000000004C7F1E8) libUE4.so!RenderingThreadMain(FEvent*) []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000C8B8EFF0 (0x0000000004CC8FF0) libUE4.so!FRenderingThread::Run() []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000C7AED720 (0x0000000003C27720) libUE4.so!FRunnableThreadPThread::Run() []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000C7A64244 (0x0000000003B9E244) libUE4.so!FRunnableThreadPThread::_ThreadProc(void*) []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000E9F634DA (0x00000000000634DA) libc.so![Unknown]() []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error: [Callstack] 0x00000000E9F1DF2A (0x000000000001DF2A) libc.so![Unknown]() []
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error:
LogPlayLevel: Error: 04-30 10:53:04.574 10455 10629 D UE4 : [2019.04.30-14.53.04:574][ 0]LogAndroid: Error:
LogPlayLevel: 04-30 10:53:04.586 10455 10629 D UE4 : [2019.04.30-14.53.04:586][ 0]LogAndroid: FAndroidMisc::RequestExit(1)
LogPlayLevel: 04-30 10:53:04.587 10455 10479 D UE4 : [2019.04.30-14.53.04:587][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 9, 0, APP_EVENT_STATE_ON_START
LogPlayLevel: 04-30 10:53:04.587 10455 10479 D UE4 : [2019.04.30-14.53.04:587][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 7, 0, APP_EVENT_STATE_ON_RESUME
LogPlayLevel: 04-30 10:53:04.587 10455 10479 D UE4 : [2019.04.30-14.53.04:587][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 6, 0, APP_EVENT_STATE_ON_PAUSE
LogPlayLevel: 04-30 10:53:04.588 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogVulkanRHI: FVulkanPipelineStateCacheManager: skipped saving because we only save if the PSOFC based one failed to load.
LogPlayLevel: 04-30 10:53:04.588 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 12, 0, APP_EVENT_STATE_SAVE_STATE
LogPlayLevel: 04-30 10:53:04.588 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 8, 0, APP_EVENT_STATE_ON_STOP
LogPlayLevel: 04-30 10:53:04.588 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 9, 0, APP_EVENT_STATE_ON_START
LogPlayLevel: 04-30 10:53:04.588 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 7, 0, APP_EVENT_STATE_ON_RESUME
LogPlayLevel: 04-30 10:53:04.588 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 6, 0, APP_EVENT_STATE_ON_PAUSE
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:588][ 0]LogVulkanRHI: FVulkanPipelineStateCacheManager: skipped saving because we only save if the PSOFC based one failed to load.
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:589][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 12, 0, APP_EVENT_STATE_SAVE_STATE
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:589][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 8, 0, APP_EVENT_STATE_ON_STOP
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:589][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 9, 0, APP_EVENT_STATE_ON_START
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:589][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 2, 0, APP_EVENT_STATE_WINDOW_CHANGED
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:589][ 0]LogAndroidEvents: Display: LogAndroidEvents::DequeueAppEvent : 0, 3452739592, APP_EVENT_STATE_WINDOW_CREATED
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : APP_EVENT_STATE_WINDOW_CREATED 0, 0, 0, 0
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : [2019.04.30-14.53.04:589][ 0]LogAndroidEvents: Display: ExecWindowCreated
LogPlayLevel: 04-30 10:53:04.589 10455 10479 D UE4 : AndroidEGL::ReInitWindow()
LogPlayLevel: Took 0.2882296s to run adb.exe, ExitCode=0
LogPlayLevel: Running: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s HT7540207519 logcat -d
LogPlayLevel: Took 0.1801077s to run adb.exe, ExitCode=0
LogPlayLevel: ********** RUN COMMAND COMPLETED **********
LogPlayLevel: BUILD SUCCESSFUL
LogPlayLevel: Completed Launch On Stage: Run Task, Time: 35.526579
LogPlayLevel: AutomationTool exiting with ExitCode=0 (Success)
LogPlayLevel: Completed Launch On Stage: Post Launch Task, Time: 0.000006
LogPlayLevel: Launch On Completed. Time: 123.675678

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-73485 in the post.

4
Login to Vote

Fixed
ComponentPlatform - Mobile
Affects Versions4.22.1
Target Fix4.22.2
Fix Commit6436348
Main Commit6436510
CreatedApr 30, 2019
ResolvedMay 14, 2019
UpdatedSep 16, 2019