When OpenGL ES 3.1 is enabled in Android Build settings, device prompts user to choose to "Allow ARInvertColor to take pictures and record video". If allowed, colors are inverted by the camera. If denied, camera will not render any images. This also occurs if project is packaged for Android device.

Reproduced in 4.19.0 CL 3944462 and 4.20 Main

Steps to Reproduce
  1. Create new, blank project from Handheld AR Template
  2. In Project Settings, go to Platforms > Android > Build > Support OpenGL ES 3.1
  3. Launch default HandheldARBlankMap on device (Google Pixel XL was used in this test)
  4. Once launched, hit Start AR on device

Result: "Allow ARInvertColor to take pictures and record video?" prompt appears on device screen. If Allow is selected, camera inverts colors. See attached images.

Expected: Camera images should look normal

Have Comments or More Details?

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

Login to Vote

ComponentUE - Platform - XR
Affects Versions4.19
Target Fix4.19.1
Fix Commit3964331
Main Commit4064889
CreatedMar 26, 2018
ResolvedMar 30, 2018
UpdatedSep 16, 2019