Problems compiling classes that inherit from Texture.h

Add “RenderCore” to your dependency modules in your ProjectName.Build.cs file and the build error is gone.


 
 PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "RenderCore"}); 

2 Likes