Hi! I am using a Geometry Cache component in a blueprint actor and now I am moving everything to native code. The thing is that I cant make the engine find the include for using it.
Online reference says

Module GeometryCache
Include #include “GeometryCacheComponent.h”

I included “GeometryCacheComponent.h” but my variable still unknown and just in case added “GeometryCache” into my build.cs (I dont know if this is right or wrong)

Any help? :slight_smile:

ummm the only way I made it work is by putting the FULL long path:

#include “C:/Program Files/Epic Games/UE_4.26/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Classes/GeometryCacheComponent.h”

And of course add “GeometryCache” in the build.cs was needed too.

anyone knows why I have to declare the full path?