🧐
JMRSDK Development
v4.34
v4.34
  • Jio Mixed Reality SDK Documentation
    • Changelog 4.34.1
      • Upgrade Guide 4.34.1
  • Device Information
    • Supported Smartphones
  • Controller Specifications
    • Physical Controllers
    • Virtual Controller / Virtual Keyboard for JioGlass
  • Getting Started
    • Development Platform
    • Setting Up Jio Mixed Reality Project in Unity
    • URP Support
      • Setting Up Your Project With URP
      • Reverting Back to Built-In Render Pipeline
  • JMRSDK
    • JMRSDK Content
    • JMRMixedReality Prefab
    • System Dock
    • JMRRig
      • Local Rig
      • Setting Homepage (Quit functionality)
      • Recenter Application on Resume
  • Develop
    • Editor Emulator
    • JioGlass Controller Interactions
    • Cameras
    • Tesseract Mixed Reality UI Toolkits
    • Examples
  • Interaction
    • Gaze Interaction
      • Gaze and Click
      • Gaze and Dwell
    • Interaction
      • Pointer Manager
        • Examples
    • Interfaces
      • ISelectHandler
      • ISelectClickHandler
      • IFocusable
      • ISwipeHandler
      • ITouchHandler
      • IBackHandler
      • IHomeHandler
      • IMenuHandler
      • IVoiceHandler
      • IFn1Handler
      • IFn2Handler
      • IManipulationHandler
    • Controller Input Actions
      • Touchpad - Touch
      • Touchpad - Swipe
      • Source Buttons
      • Manipulation
    • Actions
    • Device State
      • Device Connected
      • Device Disconnected
      • Battery percentage update
      • Scanning for Device
      • Battery Percentage
  • Voice
    • Voice
      • Speech Events
      • Speech Result
      • Speech Error
      • Speech Session End
      • Speech Cancel
    • Listening
  • Tracking
    • Tracking
      • Coordinate System
    • Tracking Framework
      • TrackerManager Actions
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
      • TrackerManager Methods
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
    • Recenter
  • Building and Testing
    • Branding Guidelines
    • Building to Target Device
      • Merging AndroidManifest
      • Performance Optimization
      • App optimization
    • JioImmerse App For Jio Mixed Reality (JMR) Devices
      • Running the application on Prism (Holoboard)
    • IPD Calibration
  • Publish
    • Licensing Journey In JioImmerse
    • Signing App for App Store
    • Publishing to JioImmerse Developer Console
    • Publishing to Google Play Store
      • Play Store Upload Journey
  • Capturing and Recording
    • Capture Videos and Screenshots
      • Capturing Screenshot/Videos using scrcpy
      • Capturing Screenshot/Videos using Vysor
  • Troubleshooting
    • FAQs - Develop
    • FAQs - Building to device
      • Gradle
      • Old aaptOptions error fix
    • FAQs - Running and Publishing
    • Laser Point Not Visible
Powered by GitBook
On this page
  • Importing the SDK
  • Setting up your Jio Mixed Reality Scene
  • Setting up System UI configuration
  1. Getting Started

Setting Up Jio Mixed Reality Project in Unity

PreviousDevelopment PlatformNextURP Support

Last updated 1 year ago

This section will help you set up a Project so that you can start developing applications using JMRSDK. You will need and the latest version of the JMRSDK package.

Importing the SDK

  • Download any 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.

  • 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.

  • 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.

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

  • 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).

  • 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

Mandatory: Configure System UI in all applications before building your app.

From Menu, select

JioMixedReality > SystemUI > UpdateSortingLayer

Import-Package
import
Add Cube to the scene
Unity Game Engine
supported version