Set up a project with Predict Engine for Unity
Install Unity
If you did not already install Unity on your computer, follow the next steps :
download the Unity Hub: https://unity3d.com/fr/get-unity/download ,
download Unity from the archives (please favor our development version : Unity 2021 LTS) : https://unity3d.com/fr/get-unity/download/archive ,
NB: OMEN-Unity has been developed using Unity 2021 LTS (https://unity.com/releases/editor/qa/lts-releases?version=2021.3) . It is recommended to use this version of Unity. You can use a later version of Unity but be aware that we did not test every Predict Unity features on these later versions.
Activate a license for your Unity install : in the Unity Hub, go to the license settings (cog wheel on the top right corner) and follow the instructions here: https://support.unity.com/hc/en-us/articles/211438683-How-do-I-activate-my-license- .
Create a new project
Unity works with projects: a project is a set of assets (meshes, materials, scripts, animations,...) that are put together into scenes within the Unity Editor.
You can create a new project via the "New" button on the top right corner of the Unity Hub. If you have multiple versions of Unity installed on your machine, you can select the version of your project by clicking on the arrow in the "New" button.
Unity supports different types of projects. Predict Engine for Unity only supports 3D and High Definition RP (HDRP) projects.
Install the Predict Unity package in your project
Predict Unity is distributed as a Unity3D package. Using Predict Unity in one of your projects consists in importing the *.unitypackage in the project.
You can import the package by dropping it in the “Project” tab or via the menu “Assets/Import Package/Custom Package…”.
If you installed Predict Engine before creating your project, the package should be available at the following path: C:\Program Files\United Visual Researchers\UVR Predict Engine 1.3\plugins\Unity.
If you got the package via the Asset store or another way, you must select the package on your machine.
HDRP Setup
Predict Unity supports the Unity High Definition Rendering Pipeline (HDRP).
NB: Predict Unity has been developed using version 10.6.0 of the HDRP. It is recommended to use this version of the package. You can use a later version of the HDRP package but be aware that we did not test every Predict Unity feature on these later versions. The "High Definition RP" package version can be updated in the "Window/Package Manager".
The setup of an HDRP project with Predict Unity is the same as for a standard 3D project, but once you have imported the *.unitypackage in your project, you need to follow the next steps:
Open the project settings via the menu "Edit/Project Settings...",
Open the "HDRP Default Settings" section,
Scroll down to the "Custom Post Process Orders" section,
Add the "UvrHdrpPostProcess" to the "After Post Process" list by clicking on the "+" button.