/
Packaging a project

Packaging a project

Important
To package a project, you must install the Vicon Unreal plugin version 1.4.2 or later.

Requirements for packaging a project

Before you begin packaging a project, ensure the following requirements are met:

  • 1 x PC with Vicon software with a subject/object ready to stream
  • 1 x PC with Unreal Engine installed
  • PCs connected via LAN
  • Latest version (1.4.2 or later) of the Vicon LiveLink Unreal Engine plugin installed on the Unreal Engine PC (see Install and set up the LiveLink plugin).

  • Latest Version of Visual Studio 2019 with these modules installed:
    • .Net desktop Development
    • Desktop Development with C++
    • Game Development with C++
  • Unreal Engine Project created and open

Set up the project

Ensure the project is set up and ready to package, with animation data already streaming through Live Link. This requires that:

  • Vicon software is set up and streaming the subject/object.
  • The Vicon Live Link plugin is installed and set up correctly.
  • The correct FBX has been imported for the subject.
  • The animation blueprint has been set up with Live Link, and animation is streaming to the skeleton.

    For Evoke: Stream from Vicon Evoke

    For Shogun:Stream from Vicon Shogun

    For Tracker: Stream from Vicon Tracker

Set up Live Link for packaged source creation

In a packaged .exe, the editor GUI is not available.

Move the plugin to the project folder

To successfully package a project with the LiveLinkViconDataStream plugin, you must move it from the folder where Unreal Engine is installed to the project Plugins folder.

To do this:

  1. In Windows Explorer, find the folder where the version of the Unreal Engine that is associated with the project is installed. You can normally find it in: C:/ProgramFiles/EpicGames/UE_5.x

  2. Inside this folder, navigate to Engine/Plugins and cut the LiveLinkViconDataStream folder.
  3. Open the Unreal Engine project that you want to package and find the Plugins folder.
    • If this folder does not exist, create it. Note that the name is case-sensitive and must be plural: Plugins.
  4. Paste the LiveLinkViconDataStream folder into the Plugins folder.
  5. You may need to restart the project.

Convert to C++

Note
With the current version of the plugin, the project can only be packaged if it is a C++ project.

  1. Click File > New C++ Class .
  2. Follow the pop-up wizard to create a new class. This can be any class with any name.

  3. Close the project.

  4. In the project files folder, right-click on the UProject and select Generate Visual Studio project files .

  5. Launch the project by double-clicking on the UProject.

Package the project

  1. Set the map to be the default map. Navigate to Edit > Project Settings.
  2. In the Project Settings window, navigate to Project > Maps and Modes.
  3. Within Maps and Modes, set the Game Default Map to the level you saved previously.

  4. Navigate to File > Package Project > Windows > Windows64 (note that the plugin supports building for x64 systems only).

  5. Create a new folder with a suitable name to store the built files and click Select Folder .

Ensure DLLs are copied

When the packaging has finished, the Vicon DLLs are copied alongside the EXE location in the output folder structure.

  1. Navigate to the folder created above for the packaged project.
  2. Within the build folder, navigate to the executable location.
  3. Ensure all of the Vicon DLLs are present, together with the EXE.

Run the executable

  1. Navigate to the executable folder: D:\Unreal Projects\yourProject\buildFolder\WindowsNoEditor\yourProject\Binaries\Win64
  2. Double-click on the executable to launch the game. The Live Link source should now have been created and the animation continues to stream as it did within the editor.

Tip
To close the game, press Alt-F4 or type exit into a cmd line, using `.

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks