Hi all,
Since I switched the Shooter Game engine version to 4.26, I’ve been getting a strange linker error. The following lines are giving me a Linker Error, and I can’t seem to make heads or tails out of it.
In ShooterImpactEffect.cpp, class AShooterImpactEffect, Lines 15 and 16
UPhysicalMaterial* HitPhysMat = SurfaceHit.PhysMaterial.Get();
EPhysicalSurface HitSurfaceType = UPhysicalMaterial::DetermineSurfaceType(HitPhysMat);
Are giving me the following error:
error LNK2019: unresolved external symbol “__declspec(dllimport) public: static enum EPhysicalSurface __cdecl UPhysicalMaterial::DetermineSurfaceType(class UPhysicalMaterial const *)” (_imp?DetermineSurfaceType@UPhysicalMaterial@@anon60641000?AW4EPhysicalSurface@@PEBV1@@Z) referenced in function “public: virtual void __cdecl AShooterImpactEffect::PostInitializeComponents(void)” (?PostInitializeComponents@AShooterImpactEffect@@UEAAXXZ)
I’m semi new to C++, but this code was working fine before I updated the project to 4.26.
Any help or idea’s why its doing this would be greatly appreciated!