By Sofia Vaca Narvaja
Here you'll find a very basic breakdown of how to create a co-located app in Unity using MetaBlocks, and how to upload it to the Meta Quest Store
This tutorial is based on the following YouTube video.
Install Meta XR All-in-One SDK
In Unity, open the Package Manager.
Add the Meta XR All-in-One SDK
Configure Meta Quest Device for Development
Enable developer mode on your Meta Quest device using the Meta Quest Developer Mode Guide.
In Unity, navigate to Meta > Tools > Building Blocks.
Add the Passthrough Building Block to your scene.
Configure the passthrough settings as needed.
Add the Local Matchmaking Building Block to your scene.
More Complex: Custom matchmaking
Add the Custom Matchmaking Building Block to your scene.
Implement UI elements to allow users to enter room codes.
Handle room creation and joining logic as per your app's requirements.
Add the Colocation Building Block to your scene.
Ensure that each device establishes a shared spatial anchor.
Synchronize the virtual content across devices using the shared anchor.
Add the Network Grabbable Object Building Block to your scene.
Attach the grabbable component to the virtual objects you want users to interact with.
Configure grab settings such as grab type, interaction distance, and physics behavior.
Previously: Have created a developer organization with all the required permissions for your App (e.g accessing location)
Open Meta Quest Developer Dashboard
Create an App page
Download APK from Unity
In Unity, go to File > Build Settings.
Select Android as the platform and click Switch Platform.
Configure player settings:
Set the package name
Set the minimum API level to match Meta Quest requirements.
Enable XR settings and specify the appropriate XR plugin.
Click Build and select a location to save the APK file.
Download and open the Meta Quest Developer Hub
Upload APK to Alpha Channel
Send invitations to people