Hololens 2 QR Code Tracking Issue - Anchoring Problems in Unreal Engine

Hello Unreal Engine community,

I’m currently facing an issue with QR code tracking for the Hololens 2 and I’m hoping someone here might have some insights on how to resolve it.

To replicate the issue, I have done the following:

  1. Created a project based on this documentation: Setting Up a New AR Project | Unreal Engine 4.27 Documentation

  2. Created an actor blueprint and followed this documentation to use a QR tracked code: QR codes in Unreal - Mixed Reality | Microsoft Learn

  3. Here’s what my ARPawn actor blueprint looks like:

  4. This is what the QRTrack Blueprint looks like:

  5. Dragged QRTrack into the scene:

Now, the issue I’m encountering is that when the QR code is detected, the text is displayed but does not seem to be anchored in the real world position of the QR code. When I move my head, the text moves as well, but the movement seems exaggerated and follows a different coordinate system (that’s my guess, at least). When I tilt my head, the text tilts with me, and when I get closer to the QR code, the text appears to move further away. Additionally, when I move my head up, the text moves down but not by the amount it should in order to stay anchored.

Note: I have tried doing it with and without the “Set Tracking Origin” node and it doesnt seem to change the results.

I have tried replicating this issue on Unreal Engine 5.0.3, 4.26.2, and 4.27.2, but none of them seem to be working correctly.

Has anyone encountered a similar issue or have any idea of what might be going wrong and how I can fix it? Any help would be greatly appreciated!

Thank you!

I have the same issue for my project. It seems like the qr code position is following the headset. And only reproduce the issue after packaging it and install on hololens

I have the same issue for my project. It seems like the qr code position is following the headset.

Hey there, I’ve been encountering a QR code tracking problem on Hololens 2 using Unreal Engine. Followed the setup guides, but still facing issues. Any help or insights would be greatly appreciated!