Attempting to call a FRootMotionMovementParams function results in an unresolved externals error on compile because of the static FVector RootMotionScale variable.
Workaround:
In source, removing static allows code to compile successfully.
FRootMotionMovementParams MyParams; MyParams.ConsumeRootMotion(0.5f);
Result:
Compile fails with Unresolved External error shown in callstack field
Expected:
RootMotionMovementParams is recognized and code compiles.
LNK2001 unresolved external symbol "private: static struct FVector FRootMotionMovementParams::RootMotionScale" (?RootMotionScale@FRootMotionMovementParams@@0UFVector@@A)
Head over to the existing Questions & Answers thread and let us know what's up.
3 |
Component | OLD - Anim |
---|---|
Affects Versions | 4.14.2, 4.14.3, 4.15 |
Target Fix | 4.16 |
Fix Commit | 3344780 |
---|---|
Main Commit | 3362661 |
Created | Jan 11, 2017 |
---|---|
Resolved | Mar 21, 2017 |
Updated | May 18, 2020 |