# Default AR handheld template not working on device

**URL:** <https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495>\
**Category:** XR Development\
**Tags:** Android-Packaging, AR, unreal-engine, Android, Packaging, question\
**Created:** [December 1, 2021, 10:09am UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495 "2021-12-01T10:09:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Modinaddr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Modinaddr](https://forums.unrealengine.com/u/Modinaddr)\
**Post date:** [December 1, 2021, 10:09am UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/1 "2021-12-01T10:09:51Z")

</div>

Default packaged AR handheld template is not working on device.

Tried to build a test from a fresh template.

It get stuck on begin scan widget if left on default if I set target API 30 it just stop at splash screen.  
Tried different combinations of API level (29,30,31), 32 and 64bit, APK on/off and it’s always stuck on splash screen or on Begin Scan widget.  
If I Launch from editor output log show no errors but it get stuck on widget screen on default, in case of using API 30 or 31 it get stuck on splash screen or it wants a descriptor file.

How can I make this working?

Tested on Xiaomi 11T Pro and Samsung A52. Android 11. Using Engine version 4.27.1.  
I can deploy other non AR projects to same devices. No numbers in project name.

---

<div class="post-metadata">

**Author:** ![Modinaddr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Modinaddr](https://forums.unrealengine.com/u/Modinaddr)\
**Post date:** [December 1, 2021, 8:30pm UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/2 "2021-12-01T20:30:56Z")

</div>

Apparently, SDK Level 30 requires ARCore version 1.25 or higher. 4.27 is currently on ARCore version 1.22. Fix in UE5.

---

<div class="post-metadata">

**Author:** ![MondRubberduck](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mondrubberduck/32/479670_2.png) [@MondRubberduck](https://forums.unrealengine.com/u/MondRubberduck)\
**Post date:** [April 19, 2022, 9:20am UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/3 "2022-04-19T09:20:53Z")

</div>

Are there any updates on this?  
AR Template seems to work fine on Phones with a “Standart Aspect Ratio” but I get stuck on Splashscreen/Begin Scan - Screen as soon as I use a phone with a more unusual aspect ratio. Or am I completely missing something?

---

<div class="post-metadata">

**Author:** ![21shabutie13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@21shabutie13](https://forums.unrealengine.com/u/21shabutie13)\
**Post date:** [May 13, 2022, 2:18am UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/4 "2022-05-13T02:18:22Z")

</div>

Found a fix for this that resolved the issue on my end. Remove or comment-out Line 81(r.OpenGL.ForceDXC=0) from the DefaultEngine.ini in your project (or in the HandheldAR template before creating a new project). Also, disable Vulkan, as ARCore does not support Vulkan yet.

This fixed the issue on my end. This is slated to be fixed in UE 5.0.2 which should be released around the end of May.

---

<div class="post-metadata">

**Author:** ![jiejiejjie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jiejiejjie](https://forums.unrealengine.com/u/jiejiejjie)\
**Post date:** [August 9, 2022, 8:29am UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/5 "2022-08-09T08:29:44Z")

</div>

I just tried what you said and it finally worked! Thanks!

---

<div class="post-metadata">

**Author:** ![Steven786](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Steven786](https://forums.unrealengine.com/u/Steven786)\
**Post date:** [March 4, 2023, 3:58pm UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/6 "2023-03-04T15:58:26Z")

</div>

I am using 4.27.2 and can’t find that line in DefaultEngine.ini. I would upgrade to 5, but it was a lot of work to get 4.27.2 mobile apps running at all and my school is using 4.27.2. Any ideas?

---

<div class="post-metadata">

**Author:** ![Bara\_Abudhair](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bara\_Abudhair](https://forums.unrealengine.com/u/Bara_Abudhair)\
**Post date:** [June 24, 2024, 1:16pm UTC](https://forums.unrealengine.com/t/default-ar-handheld-template-not-working-on-device/491495/7 "2024-06-24T13:16:34Z")

</div>

Hi …  
I’m having the same problem using Unreal 5.3 … the line ( r.OpenGL.ForceDXC=0 ) does not exist in the defaultengine.ini

any other solution for that ?

@Steven786 @Modinaddr @MondRubberduck @21shabutie13 @jiejiejjie
