# UE 5.1 Android AR camera not displaying on HandheldAR project

**URL:** <https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284>\
**Category:** Platform & Builds\
**Tags:** Builds, AR, unreal-engine, Android, bug-report\
**Created:** [November 27, 2022, 2:08pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284 "2022-11-27T14:08:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fus360](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fus360](https://forums.unrealengine.com/u/Fus360)\
**Post date:** [November 27, 2022, 2:08pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/1 "2022-11-27T14:08:15Z")

</div>

First of all thanks for your time, i had a project that derived from HanheldAR default project on 5.0 and was working correctly, once it started the scanning enviroment process u could see the camera and interact with the enviroment and place the Product Asset.

So this morning i decided to move it to 5.1, i had to reinstall the NDK and SDK in order to work properly, and once i was able to succesfully package and compile the android apk, I go to test the app and the camera is no longer showing, i mean the app an AR session does read the camera cause u can see that detetects planes and lets u place objects but u can’t see the camera background on the screen its just a black background, So i wondered that maybe was the Android Camera Player plugin. I enabled, but still get the same behaviour.

So then i did go and Test the Default project in Unreal engine called HandheldAR, i packaged and compiled the .apk and does have the same behavior as on my custom project, no camera displaying just a black enviroment.

Anyone have the same behaviour? Any help?

---

<div class="post-metadata">

**Author:** ![Ziumper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ziumper](https://forums.unrealengine.com/u/Ziumper)\
**Post date:** [December 9, 2022, 10:35pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/2 "2022-12-09T22:35:36Z")

</div>

Hello i have the same issue , I have found this in my logs, even if the application have permissions when i see it inside my phone settings it still have a problem to render. Maybe different ar core version required, or something else has changed

```auto
LogPlayLevel: UAT: 12-09 20:32:04.309 11578 11578 D UE : [2022.12.09-19.32.04:309][338]LogAndroidPermission: PermissionHelper_onAcquirePermissions android.permission.CAMERA 1 (1), Broadcasting...
LogPlayLevel: Warning: UAT: 12-09 20:32:04.310 11578 11578 D UE : [2022.12.09-19.32.04:309][338]LogOutputDevice: Warning:
LogPlayLevel: UAT: 12-09 20:32:04.310 11578 11578 D UE :
LogPlayLevel: UAT: 12-09 20:32:04.310 11578 11578 D UE : Script Stack (0 frames) :
LogPlayLevel: UAT: 12-09 20:32:04.310 11578 11578 D UE :
LogPlayLevel: UAT: 12-09 20:32:04.311 11578 11578 D UE : Ensure condition failed: oldValue == newValue [File:D:/build/++UE5/Sync/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp] [Line: 189]
LogPlayLevel: UAT: 12-09 20:32:04.311 11578 11578 D UE : oldValue(0) newValue(1) If this check fails make sure that there is a FTaskTagScope(ETaskTag::EGameThread) as deep as possible on the current callstack, you can see the current value in ActiveNamedThreads(1)
LogPlayLevel: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogStats: FPlatformStackWalk::StackWalkAndDump - 0.030 s
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: === Handled ensure: ===
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error:
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: Ensure condition failed: oldValue == newValue [File:D:/build/++UE5/Sync/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp] [Line: 189]
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: oldValue(0) newValue(1) If this check fails make sure that there is a FTaskTagScope(ETaskTag::EGameThread) as deep as possible on the current callstack, you can see the current value in ActiveNamedThreads(1)
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: Stack:
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071E88519C4 libUnreal.so(0x000000000CE3F9C4)!IsInGameThread() []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071E9238560 libUnreal.so(0x000000000D826560)!UObject::ProcessEvent(UFunction*, void*) []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071E5F6A730 libUnreal.so(0x000000000A558730)!void TScriptDelegate<FWeakObjectPtr>::ProcessDelegate<UObject>(void*) const []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071E5F6A3E0 libUnreal.so(0x000000000A5583E0)!void TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>(void*) const []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071E5F8A820 libUnreal.so(0x000000000A578820)!FAndroidPermissionDynamicDelegate::Broadcast(TArray<FString, TSizedDefaultAllocator<32> > const&, TArray<bool, TSizedDefaultAllocator<32> > const&) const []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071E5F8A640 libUnreal.so(0x000000000A578640)!Java_com_google_vr_sdk_samples_permission_PermissionHelper_onAcquirePermissions() []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071F940001C base.odex(0x000000000002B01C)![Unknown]() []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error: [Callstack] 0x00000071F940001C base.odex(0x000000000002B01C)![Unknown]() []
LogPlayLevel: Error: UAT: 12-09 20:32:04.342 11578 11578 D UE : [2022.12.09-19.32.04:342][338]LogOutputDevice: Error:
LogPlayLevel: UAT: 12-09 20:32:04.344 11578 11578 D UE : [2022.12.09-19.32.04:344][338]LogStats: SubmitErrorReport - 0.000 s
LogPlayLevel: UAT: 12-09 20:32:04.344 11578 11578 D UE : [2022.12.09-19.32.04:344][338]LogStats: SendNewReport - 0.000 s
LogPlayLevel: UAT: 12-09 20:32:04.344 11578 11578 D UE : [2022.12.09-19.32.04:344][338]LogStats: FDebug::EnsureFailed - 0.035 s

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_85b53b76](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_85b53b76](https://forums.unrealengine.com/u/anonymous_user_85b53b76)\
**Post date:** [December 13, 2022, 5:59am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/3 "2022-12-13T05:59:46Z")

</div>

Having trouble with this too, am trying to use the template as well. I’m getting the planes detection as well however I can’t seem to display the camera feed ☹

---

<div class="post-metadata">

**Author:** ![sweet2k4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sweet2k4](https://forums.unrealengine.com/u/sweet2k4)\
**Post date:** [January 1, 2023, 8:03pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/4 "2023-01-01T20:03:22Z")

</div>

I have the samme issue. any ideas how to solve this?

---

<div class="post-metadata">

**Author:** ![LazyKozy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazykozy/32/897657_2.png) [@LazyKozy](https://forums.unrealengine.com/u/LazyKozy)\
**Post date:** [January 2, 2023, 10:21am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/5 "2023-01-02T10:21:17Z")

</div>

I have the same problem on my Pixel7. It worked in 5.0, but in 5.1 it doen’t render the camera overlay, even if I had bEnableAutomaticCameraOverlay turned on.  
Is there any solution?

---

<div class="post-metadata">

**Author:** ![PuiacVirgil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PuiacVirgil](https://forums.unrealengine.com/u/PuiacVirgil)\
**Post date:** [January 4, 2023, 8:12am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/7 "2023-01-04T08:12:03Z")

</div>

Hey guys! Same here, looking to see why…

---

<div class="post-metadata">

**Author:** ![Edoren](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Edoren](https://forums.unrealengine.com/u/Edoren)\
**Post date:** [January 4, 2023, 6:07pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/8 "2023-01-04T18:07:14Z")

</div>

I’m having the same issue, for the moment I’ll stick with 5.0 😕

---

<div class="post-metadata">

**Author:** ![Casper\_AP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Casper\_AP](https://forums.unrealengine.com/u/Casper_AP)\
**Post date:** [January 5, 2023, 7:52am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/9 "2023-01-05T07:52:38Z")

</div>

Same problem here, got it working in 5.0.3 though.

---

<div class="post-metadata">

**Author:** ![LazyKozy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazykozy/32/897657_2.png) [@LazyKozy](https://forums.unrealengine.com/u/LazyKozy)\
**Post date:** [January 6, 2023, 5:52pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/10 "2023-01-06T17:52:25Z")

</div>

Hi all,  
Epic seems to have confirmed this issue. Please vote up that 👍

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-173464)**
>
> 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:** ![LazyKozy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lazykozy/32/897657_2.png) [@LazyKozy](https://forums.unrealengine.com/u/LazyKozy)\
**Post date:** [January 8, 2023, 6:41pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/11 "2023-01-08T18:41:14Z")

</div>

I’ve verified the AR Camera overlay display on Android devices in the latest ue5-main branch.

---

<div class="post-metadata">

**Author:** ![Di-Shiper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Di-Shiper](https://forums.unrealengine.com/u/Di-Shiper)\
**Post date:** [February 1, 2023, 10:48am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/12 "2023-02-01T10:48:33Z")

</div>

Its working?

---

<div class="post-metadata">

**Author:** ![lmzamora](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lmzamora](https://forums.unrealengine.com/u/lmzamora)\
**Post date:** [February 8, 2023, 8:03pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/13 "2023-02-08T20:03:16Z")

</div>

5.1.1 still not working, tried to build the 5.2 from source but it never ends to compile

---

<div class="post-metadata">

**Author:** ![Di-Shiper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Di-Shiper](https://forums.unrealengine.com/u/Di-Shiper)\
**Post date:** [February 9, 2023, 6:17am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/14 "2023-02-09T06:17:33Z")

</div>

I’m pretty sure it’s easy enough for EpicGames to fix this bug, but it’s like they’re ignoring us! Because of this, I could not defend my thesis on the exam!

---

<div class="post-metadata">

**Author:** ![lmzamora](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lmzamora](https://forums.unrealengine.com/u/lmzamora)\
**Post date:** [February 10, 2023, 2:18pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/15 "2023-02-10T14:18:44Z")

</div>

go back to 4.27, it work there unless you have a project advanced like me and now you cant downgrade it 🤦🏽‍♂️  
Edit:  
I think I found an solution so far to 5.1.1, go to this post please

> [@Render in main pass AR (Android)](https://forums.unrealengine.com/t/render-in-main-pass-ar-android/472666/6):
>
> for 5.1.1 I find these 3: M\_ScreenSpacePassthroughCamera M\_PassthroughCamera M\_SceneDepthOcclussion I dont know wich one was the one faulty one I just modify them and after “apply” the changes rollback them this seems to force the material to be build correctly. know I have the doubt of how many other material need to be “modified” to fix them to find them you need to change the setting of the content bowser

---

<div class="post-metadata">

**Author:** ![Di-Shiper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Di-Shiper](https://forums.unrealengine.com/u/Di-Shiper)\
**Post date:** [February 13, 2023, 10:20am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/16 "2023-02-13T10:20:23Z")

</div>

It works, but now my camera is upside down!

---

<div class="post-metadata">

**Author:** ![lmzamora](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lmzamora](https://forums.unrealengine.com/u/lmzamora)\
**Post date:** [February 13, 2023, 10:34pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/17 "2023-02-13T22:34:09Z")

</div>

maybe your app has the screen set to reverse portrait.

[check this](https://docs.unrealengine.com/5.1/en-US/setting-up-android-launch-screens-in-unreal-engine/)

---

<div class="post-metadata">

**Author:** ![Di-Shiper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Di-Shiper](https://forums.unrealengine.com/u/Di-Shiper)\
**Post date:** [February 14, 2023, 6:25am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/18 "2023-02-14T06:25:33Z")

</div>

![Снимок](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/0/b905e8df493d4ff18b5c407ffdf97a8da9d1f5fc.png)  
Everything is correct in the settings.

---

<div class="post-metadata">

**Author:** ![Di-Shiper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Di-Shiper](https://forums.unrealengine.com/u/Di-Shiper)\
**Post date:** [February 14, 2023, 8:17am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/19 "2023-02-14T08:17:33Z")

</div>

I created a clean project, it works correctly. Then I compared the settings in the new and in my project. I set the values and everything worked!

---

<div class="post-metadata">

**Author:** ![louisyonge1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@louisyonge1](https://forums.unrealengine.com/u/louisyonge1)\
**Post date:** [June 28, 2023, 3:04pm UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/21 "2023-06-28T15:04:04Z")

</div>

I solved the same problem by upgrade to UE5.1.1 from UE5.1.0. Give it a try.

---

<div class="post-metadata">

**Author:** ![hadibeiki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hadibeiki](https://forums.unrealengine.com/u/hadibeiki)\
**Post date:** [June 29, 2023, 9:02am UTC](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284/22 "2023-06-29T09:02:21Z")

</div>

i have the same problem but my camera faced the texture and not show my room

 ![bad8d082-997d-4109-9ba6-829daf004f8a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/e/cde1a4ab16b1c86a109ec1544190ef7f96acd0a8.png)  
i use unreal 5.2

[Next page](https://forums.unrealengine.com/t/ue-5-1-android-ar-camera-not-displaying-on-handheldar-project/716284.md?page=2)
