How to share object coordinates between users in a same room ?

Hello,
I was wondering if it is possible and how to have multiple players in a same room and having them share object locations ? For example someone taps on a plane (like a table) and the application instantiate a prefab representing a mug. Is it possible to have other players see that mug on the table ? I think sending the mug world position cannot not be enough because I’m not sure all players would have the same scene origin depending where they are in the room when they launch the application (that’s a guess).
So is this scenario possible ? How would you do that ?

thanks

A few potential solutions come to mind:

1.) If you’re only targeting iOS devices, AR Foundation supports collaborative sessions (see our AR Collaboration Data sample).

2.) If you’re targeting iOS and/or Android and open to using third-party solutions, Niantic Lightship has a Shared AR feature.

3.) If you’re targeting another device such as a Meta Quest device, neither of the above will work for that. It’s possible that there’s a solution out there for headset devices but I’m unaware of what those might be.

2 Likes