Troubleshooting
This section discusses common problems when using the Unreal Engine Plugin. If the Unreal Engine Plugin does not work properly, refer to the following information to troubleshoot.
Common problems
- Cannot see the mocopi live link folder in the content browser
- Cannot see Unreal mannequin in my scene after placing
- Actor does not move (motion data cannot be received)
- Motion data is not received using UDP (No source subject name listed)
- Motion data is not received (yellow dot for the source or no source instance listed)
- mocopi mannequin does not move, but motion data is being received (green dot for the source)
- Unreal mannequin does not move, but motion data is being received (green dot for the source)
- Unreal metahuman does not move, but motion data is being received (green dot for the source)
- Actor has moved/drifted significantly from where I placed it
- Actor's transform and rotation data are being tracked, but no other animation data is being received
- Take Recorder recordings are coming out as empty data
- Cannot create a mocopi source; I get an error about a missing library
- Compilation and Packaging: cannot compile the UE plugin on Mac, arithmetic compilation error
- Packaging: on Mac, packaging the mocopi plugin succeeds, but the game does not run
- Packaging fails and I get an error about missing Metahuman and/or UE Mannequin assets
- Packaging: Packaging fails, "An item with the same key has already been added, Key: MocopiLiveLink
Cannot see the mocopi live link folder in the content browser
- On the content browser, navigate to the top right where it says "Settings" and ensure that "Show Plugin Content" is selected.
Cannot see Unreal mannequin in my scene after placing
- Make sure that you have the required assets for the Unreal mannequin as the plugin assumes that you have them. The plugin uses the UE mannequin asset (Manny) that come in the "Third Person Game Project" template.
Actor does not move (motion data cannot be received)
When no data is coming in, the source subject name is not listed yet. Check the following:
- Check that the development environment meets the requirements.
- If using WiFi to connect, check that phone has wifi enabled and you are connected to the same access point as the PC.
- Confirm that the mocopi app is in "Motion" > "Send" mode and not in "Motion" > "Save" mode and that "Streaming" started.
- Check that the IP address of the mocopi app connection destination is the IP address of the PC which is running Unreal Engine.
- Check that the port number for sending and receiving UDP matches.
- Check that the mocopi app transmission format is set to "mocopi (UDP)."
- If there are no problems with the settings above, refer to Motion data is not received using UDP next.
Motion data is not received using UDP (No source subject name listed)
UDP transmissions may be blocked at the firewall. Check the firewall settings of the development environment OS and make sure that communication is permitted at the port number that receives UDP transmission from the mocopi app. If the communication is blocked, set it to be permitted.
Also if using WiFi, check your router settings to ensure the UDP protocol and ports are allowed.
The following is a Windows Firewall configuration example.
- Open the "Windows Firewall with Advanced Security" in Windows.
- Click [Inbound Rules] to display the list.
- Right-click "Unreal Editor" and open the Properties.
- Add a check mark to the network which corresponds to the development environment under "Profiles" in the [Advanced] tab.
- Ensure that the "Protocol type" field in the "Protocols and Ports" tab is set to "Any" or "UDP."
Motion data is not received (yellow dot for the source or no source instance listed)
In this scenario, there was data coming in for a moment and then the streaming was interrupted for some reason.
- Check that the development environment meets the requirements.
- Confirm that data streaming was not stopped on the mocopi mobile app
- If using WiFi, verify the phone did not switch to a different Wifi network
- If using wired network adapter on the phone, check that there is no loose cable or adapter
- Check that the mocopi app transmission format is set to "mocopi (UDP)."
- Check that the Unreal computer is NOT connected to multiple networks (Wifi and wired) and that the IP you are obtaining is on the same network as your phone
mocopi mannequin does not move, but the motion data is being received (green dot for the source)
In this scenario, the plugin is communicating with the mocopi app and receiving motion data, but the motion is not reflected in the actor.
- Check that the mocopi source that drives your character is still present, (was not deleted), and that it is enabled (checkbox selected)
- Check that the mocopi source name (LiveLink source) selected in the ABP_mocopi file matches the Subject Name of the mocopi source in your project
- If multiple characters share the same custom name, make sure that the correct character name has the checkbox enabled (only 1 out of multiple characters sharing the same name can be enabled at any given time)
Unreal mannequin does not move, but the motion data is being received (green dot for the source)
In this scenario, the plugin is communicating with the mocopi app and receiving motion data, but the motion is not reflected in the actor.
- First, refer to mocopi mannequin does not move, but the motion data is being received (green dot for the source).
- Check in the MannequinActor file, in the "Source_SkeletalMesh" Details, that the Animation Class is "ABP_Mocopi" and the "Skeletal Mesh is "MocopiMannequin" (as described in the user guide) . You can re-select the files as a way to ensure that the proper file linkage exists
- Check in the MannequinActor file, in the "Target_SketletalMesh" Details, that the Animation class is "ABP_Mannequin" and the "Skeletal Mesh Asset" is "SKM_Manny" or a UE5.x-compatible Unreal Mannequin (as described in the user guide). You can re-select the files to ensure the correct files linkage
- If multiple characters share the same custom name, make sure that the correct character name has the checkbox enabled (only 1 out of multiple characters sharing the same name can be enabled at any given time)
Unreal metahuman does not move, but the motion data is being received (green dot for the source)
In this scenario, the plugin is communicating with the mocopi app and receiving motion data, but the motion is not reflected in the actor.
- First, refer to mocopi mannequin does not move, but the motion data is being received (green dot for the source).
- Make sure that all plugins that need to be enabled for the metahuman to animate, as well as all the required settings are enabled in your project
- Check the Blueprint (BP) file of the metahuman you are trying to animate and confirm for the "Source_SKM", that the mocopi references are correct, as described in the user guide. You can re-select the files if you prefer, to ensure correct files linkage
- Check the Blueprint (BP) file of the metahuman you are trying to animate and confirm that the "Body" Skeletal Mesh Details, shows the correct Anim Class as described in the user guide.
- If multiple characters share the same custom name, make sure that the correct character name has the checkbox enabled (only 1 out of multiple characters sharing the same name can be enabled at any given time)
Actor has moved/drifted significantly from where I placed it
- To ensure the best quality animation, we encourage periodically recalibrating, including immediately prior to any recordings.
- Performing a reset position will reset the actor to the location it was placed and will correct any gradual drift that might accumulate throughout a recording session.
Actor's transform and rotation data are being tracked, but no other animation data is being received
This stems from Unreal getting confused as to where to put the motion data. A common solution for this is to:
- Check that under the Live Link settings of your actor, under "Live Link Body Subj" that "MocopiSkeleton" is selected.
- Ensure that "Use Live Link Body" is NOT selected
- Under Live Retarget settings of your actor check that "use Live Retarget Mode" is NOT selected.
Take Recorder recordings are coming out as empty data
If you are having the error that the recording itself is empty of all values and keyframes, please make sure to have the "Use Source Timecode" setting enabled in your source and to be using the latest mocopi mobile app when sending the motion data.
Cannot create a mocopi source; I get an error about a missing library
If you get an error when trying to create a new mocopi source.
- Re-install the plugin to ensure that you have all the plugin files in place.
Compilation and Packaging: cannot compile the UE plugin on Mac, arithmetic compilation error
If you are on Mac environment trying to compile the plugin, and you are seeing a compilation error indicating Arithmetic between different enumeration types, you can add the below code snippet to to the ”Target.cs” file of your C++ project, inside the Target definition, to resolve the issue:
{
bOverrideBuildEnvironment = true; AdditionalCompilerArguments = "-Wno-deprecated-anon-enum-enum-conversion";
}
Packaging: on Mac, packaging the mocopi plugin succeeds, but the game does not run
This may occur when you are packaging a BP project on Mac (on the most recent version of UE 5.1 and UE 5.0) and your plugin is installed to your Project. For packaging to work, you will need to package into a C++ game. If you have a BP project, you can convert it to a C++ game, by adding an empty class to your project. Then you will need to add the "compiler flag" mentioned on this page, to prevent an "arithmetic compilation error".
Packaging fails and I get an error about missing Metahuman and/or UE Mannequin assets
If you don't have any Metahuman or Unreal Mannequin assets in your project, you will need to remove the files listed below for successful packaging:
- Plugins/MocopiLiveLink/Content/Metahuman/ABP_Metahuman
- Plugins/MocopiLiveLink/Content/UnrealMannequin/ABP_Mannequin
Packaging: Packaging fails, "An item with the same key has already been added, Key: MocopiLiveLink
This issue may be seen on the latest versions of Unreal Engine, if you have the plugin installed to both your project and the Engine and you are trying to package a Blueprint project.
We only support packaging C++ projects, you will need to convert your BP project to C++ project. Then you may need to add the compiler flag referenced on this page, to prevent an "arithmetic compiler error" on UE 5.0 and UE 5.1 on Mac.