To make this project functional in the editor and on a device, some initial setup is necessary.
To run the project and use platform services, create an application on the Meta Quest Developer Dashboard.
For device operation, you need a Quest application, and for editor operation, a PC VR application. The following sections describe the necessary configuration.
Specify the type of data required for the application in the Data Use Checkup section.
Configure the required Data Usage:
- User Id: Avatars, Oculus Username
- User Profile: Avatars, Oculus Username
- Avatars: Avatars
After completing this, submit the request by clicking the submit button at the bottom.
To enable sharing of Spatial Anchors, go to Cloud Storage under Development.
Enable Automatic Cloud Backup and press submit.
Set the application ID in your Unity project.
Find the identifier (App ID) in the API section.
Place it in Assets/Resources/OculusPlatformSettings.asset, accessible via Meta > Platform > Edit Settings_ in the menubar.
To get the sample working, configure Photon with your account and applications. The Photon base plan is free.
- Visit photonengine.com and create an account.
- From your Photon dashboard, click "Create A New App".
- Create two apps: "Fusion" and "Voice".
- Fill out the form for "Photon Fusion" and click Create.
- Select "Fusion 1" in the Select SDK Version item.
- Fill out the form for "Photon Voice" and click Create.
Your new app will appear on your Photon dashboard. Click the App ID to reveal and copy the full string for each app.
Open your Unity project and paste your Fusion App ID and Voice App ID in Assets/Photon/Fusion/Resources/PhotonAppSettings, accessible via Fusion > RealtimeSettings in the menubar.
The Photon Realtime transport should now work. Verify network traffic on your Photon account dashboard.
When you first launch the application, a permission popup will ask to share the point cloud; select yes to use colocation. If you select no, go to device settings: Settings > Privacy > Device Permissions > Share Point Cloud Data. Enable it.
Ensure the application has Spatial Data permission enabled; verify on the device: Settings -> Apps -> Permissions -> Spatial Data.
To enable colocation using shared spatial anchors, upload an initial build to a release channel. Refer to the developer center for instructions. To test with other users, add them to the channel; more information is available in the Add Users to Release Channel topic.
Once the initial build is uploaded, you can use any development build with the same application ID, eliminating the need to upload every build to test local changes.








