Install XR-Dev Environment

Installation
In the previous chapter, we have installed Unity and created a Unity project. Next, we need to install the XRMOD development kit. Before the project starts, we need to install the XRMOD Kit using the Unity Package Manager
.
Add Registries
- Open Unity Editor and create an URP project
- Set the
Unity Package Manager
registries throughEdit
->ProjectSetting
->Package Manager
- Typing inthe form below in
Package Manager
->Scoped Registries
, checked theenable Preview Packages
andEnable Pre-release Packages
, then click Apply to save your setings.
Name | URL | Scope(s) |
---|---|---|
PhantomsXR | https://registry.npmjs.org | com.phantomsxr |

- Open the
Unity Package Manager
viaWindow
>Package Manager
in the top menu bar - Switch the
registry
toMy Registries
again and you will see all development packages.


Packages Install
Everything is ready, we use the shortcut keys (Mac: Command+Shift+B; Win: Ctrl+Shift+B) to open the Build Settings panel and change to the platform we need.

- Apple
- HandheldAR
- Hololens
- Quest
- Pico
- WebXR
- Web3D
- Classic3D
- com.phantomsxr.xrmodenginesettings
- com.phantomsxr.appleglasses
- com.phantomsxr.ilcore
- com.phantomsxr.foundation
- com.phantomsxr.armodsimulator
How to check the package name?

- com.phantomsxr.xrmodenginesettings
- com.phantomsxr.xrmod.handheldar
- com.phantomsxr.ilcore
- com.phantomsxr.foundation
- com.phantomsxr.armodsimulator
How to check the package name?

- com.phantomsxr.xrmodenginesettings
- com.phantomsxr.hololens
- com.phantomsxr.ilcore
- com.phantomsxr.foundation
- com.phantomsxr.armodsimulator
How to check the package name?

- com.phantomsxr.xrmodenginesettings
- com.phantomsxr.quest
- com.phantomsxr.ilcore
- com.phantomsxr.foundation
- com.phantomsxr.armodsimulator
How to check the package name?

- com.phantomsxr.xrmodenginesettings
- com.phantomsxr.pico
- com.phantomsxr.ilcore
- com.phantomsxr.foundation
- com.phantomsxr.armodsimulator
How to check the package name?

There may be some pop-ups during the installation process, and we need to do some manual operations.

The default input system for Unity projects is the old input system, but since we will be using the New Input System for our XRI, Unity will pop up a confirmation window for you to confirm.
If you select Yes
your Unity will be restarted
, here we can select No
to restart manually
later

This proiect may contain an obsolete method to validate interactions between XR Interactors and Interactables. This Update is only required for older projects updating the XR Interaction Toolkit dackage. It this dackage was newly installed please cancel this operation.
Here we select Go Ahead
and that's it.
Initialization
After the installation is complete, open the Edit
->Project Settings
->PhantomsXR
->XR-MOD Engine SDK Settings
in the menu bar at the top of Unity to initialize our project configuration, as shown in the following figure. After completing this step, we can start developing AR-APP or XR-Experience content.

Configure your project according to the following platform.
Now you can see a new settings view appear; Set up according to the order of the pictures below:

If a ❌ 6 appears in the [5] area you will see the Fix button behind it, click on it to fix it.
- Don't forget to click Apply button to save your configuration.
- Make sure that all options in area 5 are ✅ status
Once all the configuration is done, we are ready to develop the content. Click here to learn how to develop your first XR Experience content.