Description

Does not crash in 5.4 on same hardware so looks like a regression. Attached Unreal logs indicate source of critical error:

 
'FARKitCameraOverlayMobilePS' shader uniform expression set mismatched shader map for material 'MID_M_SceneDepthOcclusion_2147482434/M_SceneDepthOcclusion'.

Steps to Reproduce

 

  1. Create Handheld ARKit Template in 5.4
  2. Make a Copy of the Project to Open in 5.5 (it may crash with new 5.5 Handheld AR Template project as well, i did not have time to test this)
  3. In the D_ARSessionConfig file, check "Use Scene Depth for Occlusion"
  4. Build and deploy the app on an iPad (using Apple iPad Pro, 5th Generation, M1 chip)
  5. After you press "Begin Scan" in the app and ARKit gets enabled the app will crash
Callstack

LogPlayLevel: UAT: 2024-12-05 16:24:30.695 Handheld55[1483:418372] [UE] Assertion failed: false [Link Removed] [Line: 281]
LogPlayLevel: UAT: 'FARKitCameraOverlayMobilePS' shader uniform expression set mismatched shader map for material 'MID_M_SceneDepthOcclusion_2147482434/M_SceneDepthOcclusion'.
LogPlayLevel: UAT: Material: 'Material /AppleARKit/M_SceneDepthOcclusion.M_SceneDepthOcclusion'
LogPlayLevel: UAT: Proxy: 'MaterialInstanceDynamic /Engine/Transient.MID_M_SceneDepthOcclusion_2147482434'
LogPlayLevel: UAT: 2024-12-05 16:24:30.704 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:704][269]Assertion failed: false [Link Removed] [Line: 281]
LogPlayLevel: UAT: 'FARKitCameraOverlayMobilePS' shader uniform expression set mismatched shader map for material 'MID_M_SceneDepthOcclusion_2147482434/M_SceneDepthOcclusion'.
LogPlayLevel: UAT: Material: 'Material /AppleARKit/M_SceneDepthOcclusion.M_SceneDepthOcclusion'
LogPlayLevel: UAT: Proxy: 'MaterialInstanceDynamic /Engine/Transient.MID_M_SceneDepthOcclusion_2147482434'
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: === Critical error: ===
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error:
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 5   Handheld55                          0x00000001090069f0 void SetShaderParametersLegacy<FRHICommandList, TARKitCameraOverlayPS<true>, FRHIPixelShader, FSceneView const&, FMaterialRenderProxy const*&, FMaterial const&>(FRHICommandList&, TShaderRefBase<TARKitCameraOverlayPS<true>, FShaderMapPointerTable> const&, FRHIPixelShader*, FSceneView const&, FMaterialRenderProxy const*&, FMaterial const&) + 116
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 6   Handheld55                          0x0000000108fe8a44 FAppleARKitVideoOverlay::RenderVideoOverlayWithMaterial(FRHICommandList&, FSceneView const&, FAppleARKitFrame&, UMaterialInstanceDynamic*, bool) + 2380
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 7   Handheld55                          0x0000000105c3e778 FMobileSceneRenderer::PostRenderBasePass(FRHICommandList&, FViewInfo&) + 312
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 8   Handheld55                          0x0000000105c80b9c TRDGLambdaPass<FMobileRenderPassParameters, FMobileSceneRenderer::RenderForwardSinglePass(FRDGBuilder&, FMobileRenderPassParameters*, FRenderViewContext&, FSceneTextures&)::$_41>::Execute(FRHIComputeCommandList&) + 860
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 9   Handheld55                          0x0000000104611608 FRDGBuilder::ExecuteSerialPass(FRHIComputeCommandList&, FRDGPass*) + 136
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 10  Handheld55                          0x0000000104609594 FRDGBuilder::Execute() + 4900
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 11  Handheld55                          0x00000001060c497c FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView<FSceneViewFamily*, int>)::$_42::operator()(FRHICommandListImmediate&) const + 1228
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 12  Handheld55                          0x00000001060c69e8 TGraphTask<TEnqueueUniqueRenderCommandType<TRenderCommandTag<FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView<FSceneViewFamily*, int>)::TSTR_FDrawSceneCommand5726>, FRendererModule::BeginRenderingViewFamilies(FCanvas*, TArrayView<FSceneViewFamily*, int>)::$_42>>::ExecuteTask() + 264
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 13  Handheld55                          0x0000000102bcfbb4 UE::Tasks::Private::FTaskBase::TryExecuteTask() + 388
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 14  Handheld55                          0x0000000102bced0c FNamedTaskThread::ProcessTasksNamedThread(int, bool) + 1424
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 15  Handheld55                          0x0000000102bcde08 FNamedTaskThread::ProcessTasksUntilQuit(int) + 200
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 16  Handheld55                          0x0000000104636338 RenderingThreadMain(FEvent*) + 520
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 17  Handheld55                          0x000000010464bdf4 FRenderingThread::Run() + 60
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 18  Handheld55                          0x0000000102d2eaa4 FRunnableThreadPThread::Run() + 276
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 19  Handheld55                          0x0000000102cb273c FRunnableThreadPThread::_ThreadProc(void*) + 120
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 20  libsystem_pthread.dylib             0x0000000221af537c _pthread_start + 136
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error: 21  libsystem_pthread.dylib             0x0000000221af0494 thread_start + 8
LogPlayLevel: Error: UAT: 2024-12-05 16:24:30.741 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:741][269]LogIOS: Error:
LogPlayLevel: UAT: 2024-12-05 16:24:30.748 Handheld55[1483:418372] [UE] [2024.12.06-00.24.30:748][269]LogGenericPlatformMisc: FPlatformMisc::RequestExit(1, FIOSErrorOutputDevice::Serialize)
LogPlayLevel: UAT: 16:24:24  Enabling developer disk image services.
LogPlayLevel: UAT: 16:24:24  Acquired usage assertion.
LogPlayLevel: UAT: Launched application with com.ArtificialIdiocy.Handheld55 bundle identifier.
LogPlayLevel: UAT: Waiting for the application to terminate...
LogPlayLevel: UAT: App terminated due to signal 6.
LogPlayLevel: UAT: Client exited with error code: 1 (see /Users/willqp/Library/Logs/Unreal Engine/LocalBuildLogs/Client.log for more info)
LogPlayLevel: UAT: (see /Users/willqp/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
LogPlayLevel: UAT: AutomationTool executed for 0h 1m 58s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Run Task, Time: 6.278767
LogPlayLevel: Error: UAT: RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 1
PackagingResults: Error: Launch failed! Unknown Error

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-234142 in the post.

0
Login to Vote

Unresolved
ComponentUE - Platform - XR
Affects Versions5.5.1
Target Fix5.6
CreatedDec 13, 2024
UpdatedDec 18, 2024
View Jira Issue