SONY

Quickstart

Let's get started with Spatial Reality Display app in Unity!

  1. A set up your Spatial Reality Display, if it is not set up, see: Setup Spatial Reality DisplaySetup Spatial Reality Display Settings
    1. Connect your Spatial Reality Display to PC
    2. Configure the settings of your Spatial Reality Display
    3. Install Spatial Reality Display Settings
  2. Installed UnityHub and UnityEditor, see: Download Unity
    1. Currently supported Unity versions: Unity 2021.3, 2022.3 and 2023.2.

Note

Only one Spatial Reality Display app can be run at a time. Multiple apps will fail to launch.

Caution

Exit Unity Hub before installing Spatial Reality Display Settings.

  1. Download latest srdisplay-unity-plugin.unitypackage

  2. Create a new Unity project

    Create the appropriate project from Standard 3D Renderer, Universal Render Pipeline (URP) and High Definition Render Pipeline (HDRP).

  3. Import SRDisplay UnityPlugin

    1. Select Assets > Import Package > Custom Package and select srdisplay-unity-plugin.unitypackage that you downloaded

      Or you can drag & drop srdisplay-unity-plugin.unitypackage to Project in the UnityEditor, also.

    2. Click Import in the Import Unity Package dialog

      Make sure that all package options are checked

  1. Open SRDisplaySimpleSample scene in Assets / SRDisplayUnityPlugin / Samples / 1_SRDSimpleSample / Scenes

  2. If the architecture of the Unity project is not Intel 64-bit, the plugin will change the architecture to Intel 64-bit automatically. When the following dialog window appears, click OK to switch to the correct architecture.

Caution

SRDisplay UnityPlugin only supports Windows Intel 64-bit architecture

Caution

Only "Mono" is supported for "Scripting Backend" in the Project Settings.
Make sure that "Project Settings"-> "Player"-> "Scripting Backend" is set to "Mono".

Tips

Recommend to do Generate Lighting of the SRDisplaySimpleSample from Window > Rendering > Lighting Settings

  1. Configure Project Settings from Edit > Project Settings...

    1. Set the VSync Count for all Quality Levels to Don't Sync (See: Minimize the latency for good user experience in Tips and Constraints

  2. Open Build Settings dialog from File > Build Settings

  3. Configure settings

    1. Click Add Open Scene and make sure that SRDisplaySimpleSample is added in Scenes In Build
    2. Make sure that Architecture is Intel 64-bit

  4. Click Build and choose the folder where you want to save the app.

  5. Unity will create an executable file in that folder. Click on that file and it will launch the content on the Spatial Reality Display.