Getting linker error for FRootMotionMovementParams::RootMotionScale

Hi, I’m getting this linking error:

[4/4] Link UE4Editor–1784-Win64-DebugGame.dll
2>StrangeOrbitsConfig.x64.lib(StrangeOrbitsConfig.obj) : warning LNK4075: ignoring ‘/EDITANDCONTINUE’ due to ‘/OPT:LBR’ specification
2> Creating library C:\jam\ 4.14\Intermediate\Build\Win64\UE4Editor\DebugGame\UE4Editor–1784-Win64-DebugGame.lib and object C:\jam\ 4.14\Intermediate\Build\Win64\UE4Editor\DebugGame\UE4Editor–1784-Win64-DebugGame.exp
2>Module…cpp.obj : error LNK2001: unresolved external symbol “private: static struct FVector FRootMotionMovementParams::RootMotionScale” (?RootMotionScale@FRootMotionMovementParams@@0UFVector@@A)
2>C:\jam\ 4.14\Binaries\Win64\UE4Editor–1784-Win64-DebugGame.dll : fatal error LNK1120: 1 unresolved externals

I think I am getting this since I directly use FRootMotionMovementParams in my project.

I can fix this by commenting out the use of RootMotionScale in struct FRootMotionMovementParams which simple and fine for me since I don’t use it, it is always set to 1,1,1 and I don’t need to recompile the engine. Can anyone think of an issue in doing this?

BTW this is not unique to preview 14.

Hey funkinessfactor,

Could you please provide the code that you’re using when you’re experiencing this error so that I can reproduce it on my end as well?

If you’d like to keep it private, you can PM me the code through the forums: https://forums.unrealengine.com/member.php?160394-Sean-Flint

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day