UE5.1 Live Link Retarget External Workaround

While a development bug fix is underway, there is a external workaround plugin in order to accommodate stick skeletons exported into Unreal Engine 5.1. This is not a perfect solution, but will offer a way to use a properly scaled skeletal mesh to use in retargeting an animation.

The Live Link Skeletal Mesh Generator is a third-party plugin and is not supported by OptiTrack. More details of this plugin can be found here: Live Link Skeletal Mesh Generator Plugin.

Required Components

Visual Studio Setup

  1. Install Visual Studio 2019 or higher

  2. During installation, from the Workloads tab make sure to select 'Game Development with C++'

Unreal Engine Skeletal Mesh Generator Installation

  1. Disable any OptiTrack plugins in UE5.1

  2. From your project navigate to Tools > New C++ Class

  3. Select 'None' from the Add C++ Class window

  4. Name your class (i.e. 'StarterClass')

  5. In order for this to be applied, you'll need to save and close Unreal

  6. Find your project in the file directory you chose to save it in

  7. Open the generated solution file and verify that you can select the green play button from top toolbar

  8. This will open the Unreal Editor, close the Unreal Editor and the solution

  9. Move the Skeletal Mesh Generator Plugin into the Plugins folder of your project files.

  10. Restart the solution/editor and enable: The 'Skeletal Mesh Generator Plugin', 'Geometry script', and 'Skeletal Mesh Modeling tools'.

  11. Re-enabled OptiTrack LiveLink Plugin.

  12. You should now be able to use the Skeletal Mesh Generator Plugin under Plugins > SkeletonGenerator Content > Widgets.

  13. To view the Skeletal Mesh Generator widget, right click on the BLU_SkelmeshFromLiveLink and select Run Editor Utility Widget.

Additional Notes

Please note you'll need to bind the mesh to the skeleton in order for your skeletal mesh asset to properly work.