Building ZED Live Link Plugin

In the Getting Started section, we explained how to animate an avatar on Unreal using pre-compiled ZED Live Link plugin executable. You might prefer to directly manipulate the ZED Live Link plugin source code, in order to change the different SDK parameters (camera resolution, body tracking detection model, etc.). To do so, you must compile the ZED Live Link plugin from source.

To compile the tool from source, you will require a source build of Unreal Engine.

Download the Engine

To gain access to the UE engine code, please follow the steps below:

  1. Create an account at GitHub: Sign up
  2. Create an account at Epic Games: Sign up
  3. Login to your Epic Games account and associate your GitHub account in the settings by entering your username into the GitHub account field.
  4. Login to your Github account and accept the Epic team invitation* (Can take a few seconds to appear).
  5. Download or clone the UE4 engine code.

The link above will result in a 404 error if your GitHub account is not linked to an Epic Game one. Make sure to follow all the instructions above.

*If the invitation isn’t sent, clicking on the following link seems to trigger it: Unreal Group.

Build for Windows

  1. Inside the Engine root directory, run Setup.bat. This will check all the project dependencies and update them as needed.
  2. Clone the ZED Live Link repository inside of \Engine\Source\Programs.
  3. Run GenerateProjectFiles.bat in the Engine root directory to create project files for the Engine.
  4. Load the project into Visual Studio by double-clicking on the UE4.sln file, then right click on the ZEDLiveLink target and select Build.
  5. The binaries will be placed in \Engine\Binaries\Win64\ZEDLiveLink.

Build for Linux

  1. Go inside the Engine root directory and run Setup.sh from the terminal. This will check all the project dependencies and update them as needed.
  2. Clone the ZED Live Link repository inside of /Engine/Source/Programs.
  3. In the Engine root directory, run GenerateProjectFiles.sh.
  4. Run make to build the Engine.
  5. Go to /Engine/Build/BatchFiles and open a terminal.
  6. Build the plugin with the command :
$ ./RunUAT.sh BuildGraph -Script=Engine/Source/Programs/zed-LiveLink-plugin/BuildZEDLinux.xml -Target="Stage ZEDLiveLink Linux"
  1. The binaries will be placed in /Engine/Binaries/Linux/ZEDLiveLink/.