SONY

menu
Search button in the site

Open the search area of the siteく

Quickstart(HDRP)

Let's get started with the Spatial Reality Display(SR Display) app using Unity's High Definition Render Pipeline(HDRP)!

  1. A set up your SR Display, if it is not set up, see: Setup SR Display, Setup SR Display Runtime
    1. Connect your SR Display to PC
    2. Configure your SR Display settings
    3. Install SR Display Runtime

    Note

    To use HDRP, SR Display Runtime version 1.5.0 or later must be installed.

  2. Installed UnityHub and UnityEditor, see: Download Unity
    1. Currently supported Unity versions: Unity 2019.4, 2020.3, and 2021.2.

Note

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

  1. Download and extract the latest version of the SRDisplayXR UnityPlugin for HDRP (com.sony.xr.srdisplay.zip).

    A folder named com.sony.xr.srdisplay will be created.

  2. Create a new Unity project using High Definition RP template.

  3. Use the Explorer to copy the SRDisplay XR UnityPlugin into the project you created.

    1. Create a folder called Plugins directly under the project folder you created.

    2. Copy the com.sony.xr.srdisplay folder that you just downloaded to the Plugins folder.

  4. Import SRDisplay XR UnityPlugin

    1. Select Window > Package Manager and open the Package Manager.

      Select the "+" in the upper left corner, and then select "Add package from disk...".

    2. Open the package.json file in the com.sony.xr.srdisplay folder that you just copied.

    3. SRDisplay XR UnityPlugin will appear in the Package Manager.

  5. Activate the SRDisplay XR UnityPlugin.

    1. Open the Project Settings dialog from Edit > Project Settings.
    2. Select XR Plug-in Management and check the SRDisplay XR Loader.
  1. Open SRDisplaySimpleSample scene in Packages / SRDisplay XR Unity Plugin / Samples / 1_SRDSimpleSample / Scenes

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

Caution

SRDisplay XR UnityPlugin only supports Windows x86_64 architecture

  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 x86_64

  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 SR Display.