Motion Warping Component disappears after restart

I Enabled the Motion Warping plugin and used it for an animation that moves a lever. I added the Motion Warping Component (MWComponent) to my character blueprint and did all the code changes. It works fine.

Until I restart the editor. An editor restart results in a disappeared MWComponent and the “Add or Update…” functions from the plugin are not found anymore.

I can fix everything, by readding the MWComponent and recreating the nodes that do calls from the plugin. It compiles and works again until I restart the next time.

Is this a known problem of the plugin? Or may a general problem of the plugin system in some specific situations?

2 Likes

I have the same issue did you figure it out?

Yes, I figure it out, you need to add the “MotionWarping” module to your *.Build.cs file like this:

PublicDependencyModuleNames.AddRange(
			new string[] { 
				...,
				"MotionWarping"
		}
		);
2 Likes

For those who still got problem after adding the module, I’ll leave the recent post for this.

https://forums.unrealengine.com/t/animation-warping-nodes-disappear-after-project-rebuild/568596/7?u=jjm_0911

In my case, whenever I use ConstructorHelper::FClassFinder, all the motion warping components disappears.
This was solved after I changed the Loading Phase of MotionWarping to PreDefault from Default.

1 Like

I tried this too, but its not working for me so far. Any suggestion why this causing to UE5.2?

In the projectname.build.cs file I added motion warping at the end… PublicDependencyModuleNames.AddRange(new string { “Core”, “CoreUObject”, “Engine”, “InputCore”, “EnhancedInput” , “MotionWarping” }) and the PreDefault was already set in the uplugin, can provide just a lil more info because this is not working, and there seems to be a lot of people that this is not working for.

1 Like

Change this file as well, change the Default value to PreDefault in the MotionWarping.uplugin File located in your UE_5.3\Engine\Plugins\Animation\MotionWarping

{
“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”
}
]
}

3 Likes