# THE METAVERSE



# Oculus Setup

# Device, Account, and Lab Configurations for Meta Quest 2.

<div id="bkmrk-">  
</div>##### **Introduction** 

Oculus Meta Quest 2's are being used for high school game design courses, currently (1/29/2024) only offered in Zach York's class at SHS. The goal is for the class to develop games in Unity on the lab computers, and to be able to export the game to the Oculus for play/testing.

Notes: Developer Mode for the Oculus requires a Developer account, which requires an Organization to be created. Developer accounts require MFA (phone) or credit card on file. The CTE credit card was attached to both the CTE account and Zach's account. Purchases can be be set up to require a PIN, which CTE should do before the class starts. The same developer account has to be used on the headset and the app, which reinforced the use of Zach's account rather than student accounts.

Resources: [https://developer.oculus.com/documentation/unity](https://developer.oculus.com/documentation/unity)

##### **Accounts**

<div id="bkmrk-the-students-will-si">- The students will sign in to their lab PC with their accounts as usual.
- The Meta Quests are set up with Zach's Meta Account: zacharia\_york@sumnersd.org
- The Meta Quest Developer Hub (MQDH) is the program on the computer that interfaces with the Oculus, and Zach's account is used there as well.
- There is an overarching CTE Organization account, with Zach's account under it. 
    - This account is under <CTE@sumnersd.org>, password is ***\[REMOVED\]*** not needed, as a OTTP is sent to the CTE email. The organization name is Sumner-Bonney Lake CTE Department
    - Connected Horizon Account: Name - CTE Username - SBLSD.CTE
    - The birthday was set as December 25th, 1980.
- We used Zach's tablet's Oculus mobile app to register each Meta device.

<div>Both Zach's and the CTE accounts are not tied to any other of our services (like Rapid Identity, Google, etc.), and are just used for Meta Sign in. Firewall exceptions had to be made during setup to allow downloads, authentications, etc to facebook-related servers, which are normally blocked for students.</div></div><div id="bkmrk--1">  
</div><div id="bkmrk-the-cte-account-exis">The CTE account exists so that Zach's account can have a few restrictions placed on it, like the ability to delete the organization (important). It helps for if this class is ever offered at another building, or if any staffing changes take place. Developer accounts have to have two-factor enabled, which is either to have the CTE credit card or a cell phone on file, which is another reason we did not want to set up individual student developer accounts. The permissions should be periodically reviewed by CTE.</div><div id="bkmrk--2">  
</div><div id="bkmrk-when-signing-in%2C-sel">When signing in, select "sign in with email" as opposed to with Facebook/Oculus. Retreive the OTTP.</div><div id="bkmrk--3"></div><div id="bkmrk--4"></div><div id="bkmrk-account-settings%3A">**Account settings:**</div><div id="bkmrk--5"></div><div id="bkmrk-profile%3A-https%3A%2F%2Fsec">Profile: https://secure.oculus.com/my/profile/  
developer account settings: https://developer.oculus.com/manage/  
Meta: https://accountscenter.meta.com/</div>##### **Meta Quest 2 Setup**

The Meta Quest setup itself is straightforward. Add the device's MAC address (it isn't on the box, currently) by connecting to guest, and then selecting the guest connection itself. On the menu to forget network/connect/disconnect, there is an advanced network section at the bottom with the MAC address. For 802.1x,

The setup provides a code, which you type in on Android tablet's mobile app. It then connects to and signs in, using the account that the tablet uses (Zach's account).

Update the Meta Quest

USB Debugging - Perform either from mobile app or on the headset

1. Put on the Meta Quest headset and sign into the developer account you want to use for development.
2. On the headset, go to **Settings** &gt; **System** &gt; **Developer**, and then turn on the **USB Connection Dialog** option. (Alternatively, you can open the Meta Quest Mobile App, select the headset from the list, and then turn on the **Developer Mode** option
3. Connect the headset to the computer using a USB-C cable and put on the headset again.
4. Click **Allow** when prompted to allow access to data.
5. Connect your headset to the computer using a USB-C cable and wear the headset.
6. Accept **Allow USB Debugging** and **Always allow from this computer** when prompted on the headset.


##### **PC Configuration**

- The lab machines needed to be added to an AD security group for firewall ---&gt; facebook exceptions.
- In the Unity hub, select the current Unity installation, select the gear icon, then add module. Add Visual studio code and the Android SDK and it's nested modules.

- On the Computer, install the Meta Quest Developer Hub (MQDH).
- Connect Meta Quest via USB and add the device.
- In unity, the game must be built and ran as an Android project.