Animation warping and Animation Locomotion Library functions disappear

Hey folks, I have a weird issue. Every time when I open or restart my project all functions from Animation Warping and Animation Locomotion Library disappear from my Animation Blueprint. It happens every time, I also tried to create a new Animation Blueprint, but still does not work.




I’m also having the same issue. Every time I restart the editor, the Animation Warping nodes disappear. Have you found a fix for this?

Edit:
In the output logs, I got these messages.
LogLinker: Warning: VerifyImport: Failed to find script package for import object ‘Package /Script/AnimationWarpingEditor’
LogLinker: Warning: VerifyImport: Failed to find script package for import object ‘Package /Script/AnimationWarpingRuntime’

Hi,

I am affected by the issue as well:

LogLinker: Warning: VerifyImport: Failed to find script package for import object ‘Package /Script/MotionWarping’
LogLinker: Warning: Unable to load MotionWarping_GEN_VARIABLE with outer BlueprintGeneratedClass /Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.BP_ThirdPersonCharacter_C because its class (MotionWarpingComponent) does not exist
LogBlueprint: Warning: [AssetLog] C:\Users\thoma\Documents\Unreal Projects\TestUE5\Content\ThirdPerson\Blueprints\BP_ThirdPersonCharacter.uasset: [Compiler] Component class is not set for ‘MotionWarping’ - this component will not be instanced, and additional warnings or errors may occur when compiling Blueprint ‘BP_ThirdPersonCharacter’.

It appears that blueprint-only projects aren’t affected, but all C++ projects seem to be.

On my side, I have a consistent repro procedure on a blank project in the 5.0.3:

  1. Create a new C++ project based on the Thirdperson template
  2. Enable the Motion Warping plugin and restart the editor
  3. Add a new Motion Warping component to BP_ThirdPersonCharacter
  4. Restart the editor and reopen BP_ThirdPersonCharacter
  5. The error logs from above will show up and the component + everything related to the plugin will be gone

The same procedure from above will not cause any issue when creating a blueprint-only Thirdperson project.

Anyone from Epic around here to confirm the issue and eventually propose a workaround?

Thanks

@nicolasurb @Goss

Sharing a workaround that worked for me, if that helps.

Open up C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\Experimental\Animation\MotionWarping\MotionWarping.uplugin and change the plugin’s loading phase from Default to PreDefault as show below:

{
	"FileVersion": 3,
	"Version": 1,
	"VersionName": "0.1",
	"FriendlyName": "Motion Warping",
	"Description": "",
	"Category": "Animation",
	"CreatedBy": "Epic Games, Inc.",
	"CreatedByURL": "http://epicgames.com",
	"DocsURL": "",
	"MarketplaceURL": "",
	"SupportURL": "",
	"EnabledByDefault": false,
	"CanContainContent": true,
	"IsBetaVersion": false,
	"IsExperimentalVersion": true,
	"Installed": false,
	"Modules": [
		{
			"Name": "MotionWarping",
			"Type": "Runtime",
			"LoadingPhase": "PreDefault"
		}
	]
}
5 Likes

I know I am late to this, but this still seems to be a problem. Unfortunately I cannot use the Animation Locomotion Library in our Build (C++ Project). After changing the .uplugin LoadingPhase to “PreDefault”, the Animation Blueprint compiled fine in the editor, however after building I realized all the animation states that use Distance Matching are broken.

Setting LoadingPhase to PreDefault worked for my case on UE 5.0.3…
Had this problem with Animation_Locomotion_Library plugin and Animation_Warping Plugin.

c++项目中的Game mode进行了如下操作:


ADGameMode::ADGameMode()
{
	// set default pawn class to our Blueprinted character
	//static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("/Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter"));
	//if (PlayerPawnBPClass.Class != NULL)
	//{
	//	DefaultPawnClass = PlayerPawnBPClass.Class;
	//}
}  
或许这就是罪魁祸首,因为我创建了一个newgamemode后问题解决了

This affected me today in UE5.4. I have a c++ project and every time I restarted my project the component / plugin was not found. My solution was to copy the plugin into my project from:

C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\Experimental\Animation\MotionWarping\

to: …MyProject/Plugins/MotionWarping

Opened my MyProject.Build.cs and add:

    PrivateDependencyModuleNames.AddRange(new string[]
    {
      "MotionWarping"
    });

Then I updated MotionWarping.uplugin to

{
	"FileVersion": 3,
	"Version": 1,
	"VersionName": "0.1",
	"FriendlyName": "Motion Warping",
	"Description": "",
	"Category": "Animation",
	"CreatedBy": "Epic Games, Inc.",
	"CreatedByURL": "https://epicgames.com",
	"DocsURL": "",
	"MarketplaceURL": "",
	"SupportURL": "",
	"EnabledByDefault": true,
	"CanContainContent": true,
	"IsBetaVersion": true,
	"IsExperimentalVersion": false,
	"Installed": true,
	"Modules": [
		{
			"Name": "MotionWarping",
			"Type": "Runtime",
			"LoadingPhase": "PreDefault"
		}
	]
}

And rebuilt the project after removing DerivedDataCache, Intermediate and Binaries. Seems to work now.