Hi,
I’m getting a strange unresolved external reference when using a Skeletal Mesh’s AnimInstance.
The following code compiles:
FAnimMontageInstance* m = ArmAnimInstance->GetActiveMontageInstance();
But calling anything on “m” leads to an unresolved external reference error, e.g. adding the following line
if (m)
m->Pause();
Error:
Error 1 error LNK2019: unresolved external symbol “public: void __cdecl FAnimMontageInstance::Pause(void)” (?Pause@FAnimMontageInstance@@QEAAXXZ) referenced in function “protected: float __cdecl APWNWeapon::PlayArmAnim(enum EWeaponStateEnum::EWeaponState,float,float)” (?PlayArmAnim@APWNWeapon@@IEAAMW4EWeaponState@EWeaponStateEnum@@anonymous_user_41b29b39@Z) C:\Users\Vurkmoord\Documents\Unreal Projects\PWNGame\Intermediate\ProjectFiles\PWNWeapon.cpp.obj PWNGame
Any help would be appreciated. Thanks!