# AR Camera overlay not working in 4.26 (ARKit)

**URL:** <https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462>\
**Category:** XR Development\
**Tags:** overlay, not-working, image, ARKit, unreal-engine, question\
**Created:** [December 5, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462 "2020-12-05T19:50:18Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [December 5, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/1 "2020-12-05T19:50:18Z")

</div>

When using the AR template project or any other AR projects, there is no camera overlay just black

![323999-cameraoverlay2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/4/ab4fa7fc64e2b5203b10c6a85b314a7caad702b4.png)

I have checked and **Enable Automatic Camera Overlay** is set to true in the session config

 ![324000-cameraoverlay.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/d/fadb21987982aa6e7970f62f63e080667b31ceb8.png)

I have also tried adding a post-process material to the camera and setting the camera overlay texture in BP, this doesn’t work.

 ![324021-cameraoverlay4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/0/1b006a0ec058e9a5f6e1a88301b990e7c668e25f.png)

I’ve also tried disabling Mobile HDR and changing AA method

Am I missing something here? This has worked fine in all other versions but now seems to be broken. I am testing on iPad 4th gen and iPhone SE

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [January 21, 2021, 3:14pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/2 "2021-01-21T15:14:29Z")

</div>

Sadly I can’t help but I have exactly the same issue. But on my end the app just crashes when the AR session should start. Launch Screen does show up.

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [January 21, 2021, 3:18pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/3 "2021-01-21T15:18:03Z")

</div>

I have just bought an iPhone XR and it works fine on there. Seems it’s just the older devices that are not supported.

I think 4.26 is no longer supporting ARKit 2.0 which is what the older IOS devices use. ARKit 3.0 is only supported on the newer iPhones/iPad which have the A12 Bionic chip or better like the iPhone XR or XS

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [January 21, 2021, 4:52pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/4 "2021-01-21T16:52:07Z")

</div>

Hi, thanks for that important info, but on the other hand I really hope that’s not the case. This would mean we would have to have two separate branches for each project if we want to support old and new devices ☹ But it could very well be…because some of the depth features are only supported on newer devices I guess.

---

<div class="post-metadata">

**Author:** ![jm\_walter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jm\_walter](https://forums.unrealengine.com/u/jm_walter)\
**Post date:** [February 24, 2021, 12:48am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/5 "2021-02-24T00:48:42Z")

</div>

I’ve found that a project made with ARKit on version 4.26.1 also shows a black background screen on my iPhone 6s when it is loaded. After searching and using other solutions found on Unreal forums I discovered that after loading the same AR project onto version 4.25.4 the scene opened perfectly! Version 4.26.1 seems to be the culprit…

---

<div class="post-metadata">

**Author:** ![RapidBlaze](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rapidblaze/32/469605_2.png) [@RapidBlaze](https://forums.unrealengine.com/u/RapidBlaze)\
**Post date:** [June 28, 2021, 1:33am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/6 "2021-06-28T01:33:56Z")

</div>

Have same issue on iPad Pro 10.5 (2017)…

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [June 28, 2021, 2:41am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/7 "2021-06-28T02:41:23Z")

</div>

I think there are some bugs on UE4.26.2 which is not support the old devices, i figure it out with the source engine,if you use launch version , i think you can try this:

use ARKitCameraMaterial from UE4.25 to replace M\_PassthroughCamera from UE4.26.2 ARUtilities/Materials folder, ,change the name to “M\_PassthroughCamera” then it should works, but be careful, just copy that material, don’t try to change the content inside, i don’t why, it always lack of a function(depreciated on 4.26) if try to change it and apply.

It works for all the AR function that i used, not sure if there is any effect on other feature like AR Occlusion.

By the way do you guys know how to implement AR Occlusion on IOS? I struggle a lot with that, please let me know if you have any hint

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [June 28, 2021, 8:54am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/8 "2021-06-28T08:54:51Z")

</div>

@RapidBlaze Have you tried using 4.27? It’s possible that with 4.27 older iOS devices are supported again. Haven’t tested it myself yet but it could be worth a shot since there are also other fixes for iOS with Preview 2.

---

<div class="post-metadata">

**Author:** ![RapidBlaze](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rapidblaze/32/469605_2.png) [@RapidBlaze](https://forums.unrealengine.com/u/RapidBlaze)\
**Post date:** [June 28, 2021, 5:39pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/9 "2021-06-28T17:39:20Z")

</div>

I just tried the default project on 4.27 preview 2. It works!

---

<div class="post-metadata">

**Author:** ![RapidBlaze](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rapidblaze/32/469605_2.png) [@RapidBlaze](https://forums.unrealengine.com/u/RapidBlaze)\
**Post date:** [June 28, 2021, 5:41pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/10 "2021-06-28T17:41:14Z")

</div>

Now I will try to upgrade a working project to 4.27

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [June 28, 2021, 6:29pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/11 "2021-06-28T18:29:32Z")

</div>

That are great news! Thanks for letting us know. By the way I’ve recently started a Discord dedicated to Unreal Engine mobile AR developers. Here the invitation link if you want to join: [UEARDEVS](https://discord.gg/uTk2WRGyY9)

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [June 30, 2021, 10:32am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/12 "2021-06-30T10:32:50Z")

</div>

Its not always that accurate but i was able to use AR Occlusion like this on IOS

 ![342812-tracking-planes-occlusion.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/d/f4de513a0eacc08a6cc47ad0bd4a7804320cb7dd.png)

 ![342813-tracking-planes-occlusion2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/3/6239098e7f55dcf6eed05e70dfe7a0082a10e1b8.png)

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [June 30, 2021, 10:47am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/13 "2021-06-30T10:47:43Z")

</div>

Thanks for your information, person will occlude the AR Plane in your case?

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [June 30, 2021, 4:25pm UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/14 "2021-06-30T16:25:04Z")

</div>

Yeah person segmentation is enabled in this example

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [July 2, 2021, 11:28am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/15 "2021-07-02T11:28:44Z")

</div>

I don’t know why, i implement the this material instance for the Mesh, with this ARConfig, on my side the mesh keeps transparent after it generate

---

<div class="post-metadata">

**Author:** ![xadamxful](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xadamxful](https://forums.unrealengine.com/u/xadamxful)\
**Post date:** [July 2, 2021, 11:45am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/16 "2021-07-02T11:45:40Z")

</div>

So the material is not displaying the camera image?

---

<div class="post-metadata">

**Author:** ![JayChang-zhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayChang-zhe](https://forums.unrealengine.com/u/JayChang-zhe)\
**Post date:** [July 2, 2021, 11:49am UTC](https://forums.unrealengine.com/t/ar-camera-overlay-not-working-in-4-26-arkit/475462/17 "2021-07-02T11:49:49Z")

</div>

I think the material is displaying the camera image, which is kind of transparent, but i think cause i use this material instead original material, so it only keeps transparent? I think i might need to kind of combine two material? I don’t really know
