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:
-
Created a project based on this documentation: Setting Up a New AR Project | Unreal Engine 4.27 Documentation
-
Created an actor blueprint and followed this documentation to use a QR tracked code: QR codes in Unreal - Mixed Reality | Microsoft Learn
-
Here’s what my ARPawn actor blueprint looks like:
-
This is what the QRTrack Blueprint looks like:
-
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!