# QR tracking is activated but not scanning for markers

**URL:** <https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069>\
**Category:** XR Development\
**Tags:** unreal-engine, question, UE4-27, Hololens\
**Created:** [May 24, 2022, 10:17am UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069 "2022-05-24T10:17:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkstar-X](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Darkstar-X](https://forums.unrealengine.com/u/Darkstar-X)\
**Post date:** [May 24, 2022, 10:18am UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069/1 "2022-05-24T10:18:00Z")

</div>

Hello, I’ve been trying to get the Hololen 2 to do Mixed Reality QR tracking (Unreal 4.27) and feedback the position of the physical marker so that I can drop other geometry in that location. I am currently activating the ARCapture within my level blueprint.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/2/652b1b017ee2b6013232e3df63e1090c7ff54490.png)  
Then having a second blueprint with the ARTrackableNotify componenet that should activate the On Add Tracked Geometry Event to locate the tracker.  
 ![Picture2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/3/79398b8850196f595bd4b1221ff2dbf3263e6e82.png)  
However, I am unsure if the QR marker I want to track has to be inputted as an image somewhere or if it should automatically detect it. When I run the code, it all fully compiles and and runs but the ARTrackableNotify Blueprint is never triggered with any QR code. Anyone know what might be happening or have a link to an accurate tutorial? thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c424ab5a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c424ab5a](https://forums.unrealengine.com/u/anonymous_user_c424ab5a)\
**Post date:** [June 4, 2022, 1:21am UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069/2 "2022-06-04T01:21:16Z")

</div>

Did you add the QR Blueprint actor to the scene? You could also try to change the debug box color to green because black is equivalent to transparent, so if it detects a QR code, u’ll be able to tell. Also have you added an “On Add Tracked Geometry” event in the Blueprint actor?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9e3c9d2c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9e3c9d2c1](https://forums.unrealengine.com/u/anonymous_user_9e3c9d2c1)\
**Post date:** [June 6, 2022, 10:54pm UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069/3 "2022-06-06T22:54:02Z")

</div>

I’m having the same issue. I’m trying to run the program on a Hololens 2 in VR mode.  
Also, how did you set up your ARSessonConf blueprint.  
A nice video tutorial from start to finish would be great.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c424ab5a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c424ab5a](https://forums.unrealengine.com/u/anonymous_user_c424ab5a)\
**Post date:** [June 7, 2022, 1:59pm UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069/4 "2022-06-07T13:59:34Z")

</div>

For the ARSessionConf, I follow this tutorial: [Creating your first HoloLens Unreal application - Mixed Reality | Microsoft Learn](https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unreal/unreal-quickstart). You could also try this video: [UE4 Hololens 2 Basic Setup - YouTube](https://www.youtube.com/watch?v=YY3P5JzQLss)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9e3c9d2c1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9e3c9d2c1](https://forums.unrealengine.com/u/anonymous_user_9e3c9d2c1)\
**Post date:** [June 9, 2022, 7:18pm UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069/5 "2022-06-09T19:18:31Z")

</div>

Tried both of those…no luck.  
If you got it to work…how about posting a tutorial…or a complet project on  
Github?

---

<div class="post-metadata">

**Author:** ![jimmithyhand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimmithyhand](https://forums.unrealengine.com/u/jimmithyhand)\
**Post date:** [April 30, 2024, 1:04pm UTC](https://forums.unrealengine.com/t/qr-tracking-is-activated-but-not-scanning-for-markers/565069/6 "2024-04-30T13:04:41Z")

</div>

Hey @Darkstar-X , not sure if you’re still working on this, but I managed to get it all working in UE4.27.2. I use this version of the plugin at the project level: [GitHub - microsoft/Microsoft-OpenXR-Unreal: An Unreal Engine game plugin providing additional features available on Microsoft's Mixed Reality devices like the HoloLens 2 when using OpenXR.](https://github.com/microsoft/Microsoft-OpenXR-Unreal) (it needs to be removed at the engine level; instructions are in the GitHub link). They also provide examples with the plugin, but these can also be copied over into your own project for testing (it needs to be set up as per the tutorial link provided by @anonymous_user_9e3c9d2c1 ). There are a few issues I found in getting it running. You definitely need to try a few QRCodes, different sizes and viewing angles to make sure it is working. Let me know how you go with the setup
