For those who are having the same problem, I found out that it was because I was using a C++ template. I don’t know if in previous versions it’s the same or if with a blueprint on 4.15, but you have to add the cable component plugin to your build.cs file:
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "CableComponent" });
PrivateDependencyModuleNames.AddRange(new string[] { "CableComponent" });
PrivateIncludePathModuleNames.AddRange(new string[] { "CableComponent" });
}