# Motion Warping Component disappears after restart

**URL:** <https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [November 17, 2022, 11:42am UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743 "2022-11-17T11:42:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![trantec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@trantec](https://forums.unrealengine.com/u/trantec)\
**Post date:** [November 17, 2022, 11:42am UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/1 "2022-11-17T11:42:46Z")

</div>

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?

 ![MotionWarpingProblem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/4/234fb294f47efd3475fb202af4ef4cc88a21e468.jpeg)

---

<div class="post-metadata">

**Author:** ![Keatinge94](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Keatinge94](https://forums.unrealengine.com/u/Keatinge94)\
**Post date:** [December 29, 2022, 8:03pm UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/2 "2022-12-29T20:03:48Z")

</div>

I have the same issue did you figure it out?

---

<div class="post-metadata">

**Author:** ![trantec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@trantec](https://forums.unrealengine.com/u/trantec)\
**Post date:** [January 5, 2023, 6:00pm UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/3 "2023-01-05T18:00:12Z")

</div>

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

```auto
PublicDependencyModuleNames.AddRange(
			new string[] { 
				...,
				"MotionWarping"
		}
		);

```

---

<div class="post-metadata">

**Author:** ![JJM\_0911](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JJM\_0911](https://forums.unrealengine.com/u/JJM_0911)\
**Post date:** [May 10, 2023, 6:57am UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/4 "2023-05-10T06:57:22Z")

</div>

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](https://forums.unrealengine.com/t/animation-warping-nodes-disappear-after-project-rebuild/568596/7)

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.

---

<div class="post-metadata">

**Author:** ![jhas](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jhas](https://forums.unrealengine.com/u/jhas)\
**Post date:** [June 1, 2023, 1:53am UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/5 "2023-06-01T01:53:37Z")

</div>

> [@trantec](#):
>
> you need to add the “MotionWarping” module to your \*.Build.cs file l

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

---

<div class="post-metadata">

**Author:** ![Tableterns](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tableterns](https://forums.unrealengine.com/u/Tableterns)\
**Post date:** [October 22, 2023, 1:45pm UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/6 "2023-10-22T13:45:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Tableterns](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tableterns](https://forums.unrealengine.com/u/Tableterns)\
**Post date:** [October 23, 2023, 1:39am UTC](https://forums.unrealengine.com/t/motion-warping-component-disappears-after-restart/692743/7 "2023-10-23T01:39:49Z")

</div>

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](http://epicgames.com)”,  
“DocsURL”: “”,  
“MarketplaceURL”: “”,  
“SupportURL”: “”,  
“EnabledByDefault”: false,  
“CanContainContent”: true,  
“IsBetaVersion”: false,  
“IsExperimentalVersion”: true,  
“Installed”: false,  
“Modules”: [  
{  
“Name”: “MotionWarping”,  
“Type”: “Runtime”,  
“LoadingPhase”: “PreDefault”  
}  
]  
}
