Add Marker to mesh/space

Hey, I have a few questions regarding “Spaces”:

  1. Is there a way to place ArUco/QR markers in the Space and use them as reference points for localization? So that the glasses do not only orient themselves to the generated mesh but also to the markers?

  2. Since the ARCloud is deprecated, what is currently the best way to share Spaces between two ML glasses? And is there a possibility to continue operating/set up the ARCloud in a local environment?

Hey @rayz0_0,

For your first question:
Magic Leap does not natively support ArUco/QR markers within the Magic Leap Space system. Spaces are designed around spatial meshes and environmental mapping using SLAM. Magic Leap doesn’t directly support using ArUco or QR markers as persistent reference points inside the Spaces system.

You may be able to achieve this in an alternate way though.

  • Use the RGB camera and detect ArUco/QR codes in Unity using libraries like OpenCV for Unity or ZXing.
  • Once detected, compute the marker’s pose relative to the device.
  • Register this pose manually with Unity’s world space so your app aligns the experience based on it.

Note: This doesn’t integrate markers into the Magic Leap generated Space. It’s an application level solution for potential localization changes that you desire.

As for your second question, the best way to share spaces without ARCloud would be to manually export and import your spaces between 2 devices.

Here’s the documentation and guide on how to do this

Let me know if this helps!

Best,
Corey