Photon Fusion and colocation for SDK 2.5.0 and OpenXR

Unity Editor version: 2022.3.11f1
ML2 OS version: 1.9.0
Unity SDK version: 2.5.0
Host OS: Windows

Hello,

I'm wondering when the "Building Multi-User ML2 applications with Photon Fusion" documentation (Photon Fusion | MagicLeap Developer Documentation) will be updated to support the new Unity SDK version that uses OpenXR, as the MLSDK has been deprecated. I noticed that the GitHub repo has been archived.

I recently built a large Unity game for ML2 that relied solely on the device's SLAM and the location & orientation of the device at game start because none of the VPS solutions I tried were accurate enough for a massive outdoor scan. x.com

Next, I want to make a similar experience with colocation markers and multiplayer. I would greatly appreciate any guidance on how to get this working with the most recent version of the Unity SDK.

Thank you very much.

We are not planning on updating the Photon Fusion Demo, but you can still use it as a reference if you like. The main changes to the project would include updating the Marker Understanding and Spatial Anchor API to colocate with another use.

Unity and Photon now provide some of their own examples that demonstrate how to create a networked XR application. To colocate, you will simply need to define a reference point that can be shared across device.

For instance you could position a transform to a marker and then report the user's position and rotation relative to that transform. (Local Position/Rotation)

Thank you for the quick reply.

No worries, I will reference the old sample project for now, and upgrade those parts of the project to use the new SDK when I have some time.

1 Like