If you want to share you game object’s instantiation with all players, you should use AXRPSharedInstantiator instead of Object.Instantiate().

  1. Add AXRPSharedPrefab to your game object (or prefab) to instantiate.

    Screenshot 2023-08-16 115552.png

  2. Create an AXRPSharedInstantiator game object from the menu.

    Screenshot 2023-08-16 115406.png

  3. Set the AXRPSharedPrefab to the instantiator’s Prefab.

    Screenshot 2023-08-16 120217.png

  4. Call AXRPSharedInstantiator.Instantiate() to instantiate an instance from the prefab.

🏠  onAirXR Playground Developer Guide

Getting Started


System Requirements


Quick Start


Explore Demo Scene


Programming Guide


Create Avatar


Set Places


Handle Player Input


Share Animator


Share Video Player


Share Timeline


Share Audio Source


Share Game Object Movement


Share Data


Show Data


Create Trigger Volume


Show Game Object To Only Some Players


Instantiate From Prefab


Move Between Scenes


Make Display


Programming Guide In Depth


onAirXR Playground Technical Overview


Avatar & Avatar Selector