I am trying to get texture buffer size, but cannot link because of this error.
Any other UTexture2D function links ok, but not this, why?
I got
error LNK2019: unresolved external symbol "public: int __cdecl UTexture2D::CalcTextureMemorySize(int)const " (?CalcTextureMemorySize@UTexture2D@@QEBAHH@Z) referenced in function "protected: class UTextureCube * __cdecl ACapturePanoramaActor::BuildCubeMaskTexture(void)" (?BuildCubeMaskTexture@ACapturePanoramaActor@@IEAAPEAVUTextureCube@@XZ)