I have a FPostProcessSettings variable called skyAmbientPPSettings and a APostProcessVolume* variable called SkyAmbientPostProccessVolume. Whenever I call the line of code below, I get the LNK2019 variable also shown below.
Code in question:
skyAmbientPPSettings.AmbientCubemap->TextureReference = SkyAmbientPostProccessVolume->Settings.AmbientCubemap->TextureReference;
Error:
error LNK2019: unresolved external
symbol “__declspec(dllimport) public:
class FTextureReference & __cdecl
FTextureReference::operator=(class
FTextureReference const &)”
(_imp??4FTextureReference@@QEAAAEAV0@AEBV0@@Z)
referenced in function “public: void
__cdecl ABrickSkySphere::Update(float)”
(?Update@ABrickSkySphere@@QEAAXM@Z)
Does anyone know how to resolve this error?