text
stringlengths 0
1.11k
|
|---|
Before proceeding it is recommended that you have completed all of the steps in the Setup Development Environment and Meta Quest Develop Hub guides. This will ensure that you are ready to develop in Unity.
|
Import the Integration SDK from Meta Quest Developer Center
|
The Integration SDK contains all of the general SDKs necessary for developing in Unity including:
|
OVRPlugin
|
Audio SDK
|
Platform SDK
|
Lipsync SDK
|
Voice SDK
|
Interaction SDK
|
While each of these SDKs aren’t necessary for SharedSpaces, downloading the Integration SDK ensures that you have everything you need to configure and run the app.
|
For information on importing the Integration SDK into your Unity project, complete Step 4 of the Hello VR on Meta Quest Headset tutorial.
|
Configure Unity Project Build Settings
|
Because SharedSpaces runs on a Meta Quest headset, there are some Unity Build Settings you will need to configure to ensure your project can successfully run.
|
Follow the steps detailed in Step 5 of the Hello VR on Meta Quest Headsettutorial.
|
Connect to the App ID and Set Target Platform
|
After installing the Integration SDK, you can begin working with the SharedSpaces showcase and connecting it to the Destinations that you setup earlier.
|
Navigate to Assets > SharedSpaces > Scenes and select the Startup scene to load it into Unity.
|
If you receive a popup window titled TMP Importer, click Import TMP Essentials to import the necessary TextMesh Pro resources. TMP Importer Next SharedSpaces needs to be connected to the App ID for your app in the Meta Quest Developer Center.
|
Use the following steps to do so:
|
Navigate to Assets > Resources and select the OculusPlatformSettings.asset file.
|
Input your App ID into the Oculus Go/Quest or Gear VR field. You can also input your App ID into the Oculus Rift field if you plan to build for Windows. Platform Settings Inspector
|
Update your Bundle Identifier to a unique name for your SharedSpaces showcase app.
|
Next in the Project folder, select OVRPlatformToolSettings.asset and set the target platform to Quest. Select Target Platform
|
Connect to Photon
|
After connecting the Unity app to your App ID in the Meta Quest Developer Center, you will need to connect the pre-packaged networking solutions to the previously created Photon App ID.
|
Use the following steps to do so:
|
From the Project folder navigate to Assets > Photon > Resources and select the PhotonAppSettings.asset file.
|
In the Inspector, copy your Photon App ID and paste it into the App Id Realtime, App Id Chat, and App Id Voice fields. Photon App Settings
|
Once finished, save your Unity project to save your changes.
|
Create a Keystore
|
Before uploading your app, you will need to create a new keystore for the app in Unity settings.
|
Use the following steps to create a new keystore:
|
Navigate to File > Build Settings and select Android as the platform.
|
Select Player Settings then select Player from the Project Settings list. Player Settings
|
Select the Android icon and under Settings for Android expand the Publishing Settings menu.
|
Select Keystore Manager to open the keystore manager window. Keystore Manager
|
In the Keystore Manager window select Keystore > Create New and save to either Anywhere or In Dedicated Location. Create New Keystore
|
After selecting a location for your keystore create a password and alias for the Key Values.
|
Once finished click Add Key to create the keystore for your app.
|
Upload the SharedSpaces Build and run SharedSpaces
|
After saving your project, you’re now ready to build your app and run it on a Quest headset.
|
First you will need to build the .apk file for your app and upload it to a release channel in the Meta Quest Developer Hub.
|
Note: You must be logged into the Developer Hub with the same ID used for the Meta Quest Developer Center
|
To build your app’s .apk file and upload it to the Developer Center:
|
Navigate to File > Build Settings and select Build.
|
Select or create a folder to save your .apk file in, then click Save to save your project to the selected location.
|
Log into the Meta Quest Developer Hub with your developer account and select App Distribution. MQDH App Distribution
|
Select your SharedSpaces app and click Upload under the Alpha release channel.
|
In the Upload Build window use the Upload button to find and select your app’s .apk file. MQDH Upload Build
|
Click through the next options and select Upload to upload the .apk to the Alpha Release Channel.
|
On the Meta Quest Developer Center open your SharedSpaces app and select Distribution > Release Channels.
|
Select the Alpha release channel then select Users. Enter the emails associated with the Meta Quest accounts of the users that will test the showcase app. Manage Channel Users
|
Select the I agree checkbox then select Send Invite to send the app to your selected users.
|
The SharedSpaces showcase app will now be accessible on your Quest headset. Alternatively you can directly upload your .apk file to your Quest headset by opening the Meta Quest Developer Hub app, connecting your headset to your computer, and dragging the file into the Meta Quest Developer Hub window.Learn Mixed Reality Development through Discover Showcase
|
Unity
|
All-In-One VR
|
Quest
|
The platform for which this article is written (Unity) does not match your preferred platform (Nativa).
|
Haz clic aquí para ver la página del índice de la documentación para tu plataforma de preferencia.
|
Discover highlights key features of the Meta Quest Mixed Reality APIs. Its main goal is to showcase how to achieve player colocation in a Mixed Reality experience. The code for this project can be found on Github.
|
Colocation is the ability of multiple users to occupy the same physical and virtual space in an MR experience, allowing them to connect with each other in real-time. Colocated users see and interact with the same digital objects in the digital world. To have a colocated experience, users’ real-world position and rotation must correspond to their virtual space in the same way for all users. Colocation is a powerful paradigm that enables users to collaborate, compete, and interact.
|
The key to giving people a frictionless shared MR experience is to enable users to quickly and simply start a colocated experience with others. Currently, manual steps are required to invite users to join and participate in a colocated experience. In most apps, users have to manually communicate a specific room code to their peers, so they can all join the same room. However, they won’t be able to interact with shared digital objects placed in a common physical space. Because of this, there’s little sense that users are actually present together. To counter this, Discover offers a colocation package that enables users to seamlessly interact with other nearby users, along with digital objects as if these were placed in the common physical room.
|
In the Discover project, colocation is used in the MRBike and DroneRage game experiences contained within Discover, allowing multiple players to compete or collaborate in various games and activities.
|
How the Colocation Package works in Discover
|
The Colocation package introduced in Discover enables you to build colocated experiences.
|
the discover showcase app cover image showing a room with various surfaces that can be utilized by the Scene API
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.