# iOS AR app shows black background rather than a camera overlay in production

**URL:** <https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275>\
**Category:** XR Development\
**Tags:** Mobile, unreal-engine, UE5-0, iOS, packaging-projects, question\
**Created:** [May 3, 2022, 4:55am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275 "2022-05-03T04:55:52Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![EnnePi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EnnePi](https://forums.unrealengine.com/u/EnnePi)\
**Post date:** [April 11, 2023, 8:50pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/21 "2023-04-11T20:50:32Z")

</div>

I replicated this in gameplay. I have macOS Ventura. When I installed the plugin I simply added it to the project. I didn’t create anything inside the map stage. Okay?

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 11, 2023, 9:27pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/22 "2023-04-11T21:27:26Z")

</div>

QRCodeActor must be on the active map and must be initialized, I just put it in GameMode so as not to add it to the LevelBlueprint on all levels, I don’t know about Ventura, I unfortunately can’t update MacOS since I have a 2015 iMac, it does not support Ventura and UE5 on a Monterey system does not support Xcode 14

so I’m using macOS Monterey 12.6.4  
XCode 13.4.1

---

<div class="post-metadata">

**Author:** ![TTF\_eric1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TTF\_eric1](https://forums.unrealengine.com/u/TTF_eric1)\
**Post date:** [April 13, 2023, 9:36am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/23 "2023-04-13T09:36:29Z")

</div>

> in ‘Engine/Source/Programs/UnrealBuildTool/Platform/IOS/IOSExports.cs’
> 
> comment out
> 
> Text.AppendLine(“\tget-task-allow”);  
> Text.AppendLine(string.Format(“\t\<{0}/\>”, bForDistribution ? “false” : “true”));

has anyone try this in UE 5.1?

-e

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 13, 2023, 11:54am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/24 "2023-04-13T11:54:34Z")

</div>

I tried it, it didn’t help me through custom UE5.1

---

<div class="post-metadata">

**Author:** ![TTF\_eric1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TTF\_eric1](https://forums.unrealengine.com/u/TTF_eric1)\
**Post date:** [April 14, 2023, 1:58pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/25 "2023-04-14T13:58:34Z")

</div>

What happened?  
I was able to try it and I was able to build the iOS app. I was able to upload it with Transporter. But the app won’t show up in App Store Connect. My guess is that Apple is going some further checks on the app and it’s not passing because of something about this workaround. I tried it twice with the same result.

I’ll try backing out this change and re-submitting to confirm that it is the workaround that is blocking it.

-e

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 14, 2023, 3:27pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/26 "2023-04-14T15:27:58Z")

</div>

I have good news, if you switch to DefferedShading then everything works without any plugins.

and without any other settings, and without a custom engine, just as before, you make a shipping build through binary UE 5.1 ​​from the launcher and everything works

 ![Deffered](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/2/44280e5092204a4131c5fd774b0a9808d4790e62.png)

---

<div class="post-metadata">

**Author:** ![EnnePi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EnnePi](https://forums.unrealengine.com/u/EnnePi)\
**Post date:** [April 18, 2023, 6:11pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/27 "2023-04-18T18:11:17Z")

</div>

☹ Unfortunally don’t work in my project… I tried now. I will send here all settings of my project in 5.1, in a pdf file…

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 18, 2023, 11:59pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/28 "2023-04-18T23:59:34Z")

</div>

I don’t understand why it doesn’t work for anyone, but it works for me, maybe it’s because of the version of XCode and Mac…

---

<div class="post-metadata">

**Author:** ![TTF\_eric1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TTF\_eric1](https://forums.unrealengine.com/u/TTF_eric1)\
**Post date:** [April 20, 2023, 3:10pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/29 "2023-04-20T15:10:24Z")

</div>

The Deferred Shading did not work for me. ☹  
-e

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 20, 2023, 8:42pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/30 "2023-04-20T20:42:20Z")

</div>

did you compile with ventura with xcode 14 ?, try compiling under ios15 metal 2.4 maybe that will help

---

<div class="post-metadata">

**Author:** ![EnnePi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EnnePi](https://forums.unrealengine.com/u/EnnePi)\
**Post date:** [April 22, 2023, 6:49pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/31 "2023-04-22T18:49:08Z")

</div>

Ventura, Xcode 14.3. Now I’m trying on under ios15… Where is metal 2.4 option?

 ![Screenshot 2023-04-22 alle 21.40.28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/7/2872c5b3c942adbf7579a7d067ec748af7ce9c83.jpeg)

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 23, 2023, 1:43am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/32 "2023-04-23T01:43:28Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![EnnePi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EnnePi](https://forums.unrealengine.com/u/EnnePi)\
**Post date:** [April 23, 2023, 8:55am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/33 "2023-04-23T08:55:17Z")

</div>

i would like to try the qr code plugin route again, it would be great if i could have a working project with this plugin. I couldn’t get it to work, on github there is a procedure never done. Could you send me a working project?

---

<div class="post-metadata">

**Author:** ![blueangel74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blueangel74](https://forums.unrealengine.com/u/blueangel74)\
**Post date:** [April 23, 2023, 9:15am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/34 "2023-04-23T09:15:56Z")

</div>

Hi, I have the same problem, I followed the thread and suggestions related to the qr plugin and replacing forward shading with deferred shading. i also followed the last change to ios metal 2.4 xcode 15. unfortunately nothing.It doesn’t work !Always black screen. I too use Ventura and xcode 15 now. It’s unbelievable that a project gets stuck on this bug and that this bug that I think is important hasn’t been fixed yet. Unfortunately I need to make it work like everyone else. A few more suggestions. Thank you

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 23, 2023, 5:53pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/35 "2023-04-23T17:53:58Z")

</div>

You can send me the Certificate and Provision for Distribution, BundleID, and the latest build number in Testflight, and a certain project configured for AR, in UE5.1 from the Launcher with DefferedShading enabled, I can compile it for you and send the .ipa file, however you need One thing to keep in mind, after April 25th Testflight will be able to upload applications with IOS version 16 or higher. And to compile under IOS 16 in UE5.1, you must use XCode version 14 or higher. And for Xcode 14, you need to install Ventura, and by the way, this problem is not from EpicGames, but from Apple, on the Apple forums people have been waiting for a fix for this problem for a year, apparently that’s why Epic Games constantly transfers the fix of this problem from version to version, because it’s too low-level problem in Metal itself. So I don’t think we should expect this issue to be fixed anytime soon, even if Apple fixes this issue they will probably fix it in the next release of Metal and then have to wait for Epic Games to update Metal in the next release of Unreal Engine. But I may be wrong.

My configuration

IMac 2015 i5  
macOS Monterey 12.6.4  
XCode 13.4.1  
Metal 2.4  
iOS 15  
Unreal Engine 5.1.1

I tested several completely different projects, and everything works, I’m sure that if you set up your system similarly to mine, everything will work for you too, though, as I already wrote above, I’m not sure that this makes sense, only if your project is already ready and you just need to upload it with no further updates soon as this will only work until April 25th.

---

<div class="post-metadata">

**Author:** ![EnnePi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EnnePi](https://forums.unrealengine.com/u/EnnePi)\
**Post date:** [April 24, 2023, 1:56pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/36 "2023-04-24T13:56:00Z")

</div>

Thanks, Thanks, but I can’t finish it by tomorrow ☹  
Do you have the link of apple reporting bugs?

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 24, 2023, 3:55pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/37 "2023-04-24T15:55:17Z")

</div>

[Problem with black background when taking a photo with AR Quick Look feature in iOS 15](https://developer.apple.com/forums/thread/696117)

---

<div class="post-metadata">

**Author:** ![blueangel74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blueangel74](https://forums.unrealengine.com/u/blueangel74)\
**Post date:** [April 25, 2023, 8:20am UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/38 "2023-04-25T08:20:07Z")

</div>

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-147930)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

---

<div class="post-metadata">

**Author:** ![DisplayNameQWERT1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DisplayNameQWERT1](https://forums.unrealengine.com/u/DisplayNameQWERT1)\
**Post date:** [April 25, 2023, 12:13pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/39 "2023-04-25T12:13:10Z")

</div>

today I installed XCode14 and made a build for IOS 16 MetaV3 and everything works) I don’t understand how it works, but apparently the thing is that I have Mac os Monterey. though I noticed that Xcode on Monterey was installed for about 12 hours

and I also noticed that the compilation of plugins on Xcode 14 was not performed the first time, I had to delete the Binaries folder each time so that it would compile everything without errors, but it still compiled all the plugins in the end.

and the packaging of the project under IOS 16 lasted 8 hours, apparently because Xcode 14 requires Ventura, but nevertheless it can be installed on Monterey

---

<div class="post-metadata">

**Author:** ![TTF\_eric1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TTF\_eric1](https://forums.unrealengine.com/u/TTF_eric1)\
**Post date:** [April 25, 2023, 2:03pm UTC](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275/40 "2023-04-25T14:03:23Z")

</div>

I’m on Mac OS Monterey with Xcode 14.2 and the Deferred Shader trick did not work for me.  
I thought Apple had stopped allowing uploads built in Xcode \< 14. How are you able to upload an app from Xcode13.4 to TestFlight?

[Previous page](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275.md?page=1)

[Next page](https://forums.unrealengine.com/t/ios-ar-app-shows-black-background-rather-than-a-camera-overlay-in-production/547275.md?page=3)
