# Setting Up A Jio Mixed Reality Project in Unity

This section will help you set up a Project so that you can start developing applications using **JMRSDK**. You will need [Unity Game Engine](../development-platform#unity3d-versions) and the latest version of the JMRSDK package.&#x20;

### Importing the SDK

* Download any [supported version](../development-platform#unity3d-versions) of **Unity**. During installation, ensure that Android Build Support is selected as your target platform.
* Open **Unity** and create a new Project.
* Use the latest version of **Jio Mixed Reality SDK** (JMRSDK).
* Navigate to **Assets -> Import-Package -> Custom Package,** as shown below.

<div align="center"><img src="https://4274655122-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdevelop%2F-MUKpG_0JkuEkioIHGOr%2F-MUKpbg1WVPU0kIcjaV6%2F0.png?generation=1614200346127654&#x26;alt=media" alt="Import-Package"></div>

* Navigate to the folder where you have stored the SDK package and select the JMRSDK-Core package.
* Once the **Import Unity Package** dialogue opens, select **All** at the bottom and then select **Import**.

<figure><img src="https://4274655122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQYfBiYIH2PKRaG8v28f1%2Fuploads%2FRv47Zsly97FF48fPqjsn%2FUnity_JCjVLMXFpr.png?alt=media&#x26;token=b484c650-15fc-4fe4-9727-ec01e133a4ea" alt=""><figcaption><p>import</p></figcaption></figure>

* After the import process, a new folder will be created under **Assets** named **JMRSDK**.

### Setting up your Jio Mixed Reality Scene

If creating a new scene, ensure that no Camera component is present. **Remove the Main Camera (if any) from your scene.**

After you have imported JMRSDK, you will see a new **JioMixedReality** menu on the top menu bar. Click on it and then click on Configure scene for **JioMixedReality,** as shown below.

<figure><img src="https://4274655122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQYfBiYIH2PKRaG8v28f1%2Fuploads%2FulWvh6K8siW9fa83Bujk%2FSetting%20up%20a%20Mixed%20Reality%20Project.png?alt=media&#x26;token=1a52d2ec-7ab7-4f4d-b43c-799d46be7ac8" alt=""><figcaption></figcaption></figure>

* You should now see a **JMRMixedReality** object in your scene as shown in the image below.

<figure><img src="https://4274655122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQYfBiYIH2PKRaG8v28f1%2Fuploads%2Fuf5cLLOpPbnXRn2e5zGm%2FUnity_NuTB2y8LS5.png?alt=media&#x26;token=a9497210-3156-48c4-9274-0b2f75ab8aa6" alt=""><figcaption></figcaption></figure>

* Your scene is now ready to be used with **JMRSDK**. To test this, let’s add a cube to the scene.
  1. Go to **GameObject -> 3D Object -> Cube**
  2. Set the position of this **Cube** to **(0, 0, 5)**.

![Add Cube to the scene](https://4274655122-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fdevelop%2F-MUKpG_0JkuEkioIHGOr%2F-MUKpbg5kpmzQn1Sxbz4%2F4.png?generation=1614200346216427\&alt=media)

* You can now follow the instructions in the **Publishing** section to build your first application for your **Target Device**.
* Once you run the application on **JioGlass**, you will notice the **Cube** floating somewhere around you. (You might have to look around to find it! OR you can **long-press** the **Home Button** to **Recenter** the screen which will bring the **Cube** in front of you). Have a look at the controller interactions to get an idea of how to use the JioGlass controller.

### Setting up System UI configuration

{% hint style="info" %}
**Mandatory**: Configure System UI in all applications before building your app.
{% endhint %}

From Menu, select


JioMixedReality > SystemUI > UpdateSortingLayer

<figure><img src="https://4274655122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQYfBiYIH2PKRaG8v28f1%2Fuploads%2FMBpRaPKCr5SmM5DppUsv%2FUnity_vZUK3nCNus.png?alt=media&#x26;token=33068fce-4d57-4abf-9363-15425dfe7a39" alt=""><figcaption></figcaption></figure>
