Unity Markers - Flipped in App Simulator vs Real World?

In my testing, when I set up a marker in the Application Simulator and read its location and orientation. It appears to be produce a result that is 180 flip vs when I read an actual marker on device, in the physical world. I expected the result of identifying a marker to be consistent between them.

This appears to happen to two kinds of markers (tested so far):

  • APRILTAG_36h11 id 0
  • QR Code

Has anyone else noticed this behavior?

Unity Editor version:
ML2 OS version:
Version 1.3.0-dev2
Build B3E.230526.01-R.026
Android API Level 29

MLSDK version:

Host OS: (Windows/MacOS)
MacOS 13.4.1 (c) (22F770820d)

Error messages from logs (syntax-highlighting is supported via Markdown):

Hi @otri,

Welcome to the Magic Leap 2 Developer Forums. We are so grateful to have you here engaging with us.

It seems that I am unable to reproduce this issue on my end. May I ask which target you chose (Simulator, Device, Hybrid)?



Hi El,

Both Simulator and Device mode in Application Simulator behave similarly.
Only when running on device does the orientation flip.

I can't share the client's code, so I'll prep a standalone sample project that reproduces what happens.