Description

On first launch of an AR app with Android the camera passthrough will render black. This also happens if an app is minimized and re-opened.

This will not repro if there is no candidate image assigned.

Also confirmed when packaging/installing an APK

Also confirmed in Shipping config.

Confirmed in 4.25 MAIN @ CL 11050671

No Repro on iOS (ipad A1701)

I noticed "LogRHI: Error: GetAndOrCreateGraphicsPipelineState RenderTarget check failed with: 185 !" in Device output log, but this error also occurs when app is behaving normally (after second launch)

Steps to Reproduce
  1. Open 4.23.1 and create a Blueprint -> Handheld AR Template (I must see if it works in previous version to know if it broke in 4.24)
  2.  Import Image to Project - Set Compression settings to 'UserInterface2D' Mip Gen Settings to 'NoMipmaps' and Texture Group to 'UI'
  3. Create a new DataAsset of type "ARCandidateImage" and assign texture / define width and height
  4.  In D_ARSessionConfig add your data asset to 'Candidate Images' array.
  5. Launch on Android Device (Tested with Note 9)
  6. When running on device - click 'Start AR' and accept camera permissions
    4.23 Result: Camera passthrough is instantly visible
    Update Project to 4.24
    4.24 Result: After accepting camera permissions camera passthrough will be black
    Exit app and re-launch via device. On second launch everything will behave normally.

Black screen also observed after minimizing and reopening app on phone.

Have Comments or More Details?

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

26
Login to Vote

Won't Fix
ComponentUE - Platform - XR
Affects Versions4.24.1
Fix Commit13655548
CreatedJan 20, 2020
ResolvedMar 28, 2022
UpdatedApr 18, 2022
View Jira Issue