I cannot get this include to not cause an error i have tried deleted my .vs and binaries and regenerating the vs files but then it doesn’t load. This problem arrised initially from me trying to change the visiblity of a cable of my game and now despite commoneting out all mention of calbe components i can no longer build solutions or run the debugger as i am met this this same problem i am unsure what to do and just want my project to work again.
How are you including the cable component in your project?
You do not need to touch the source code to use it.
There should be no need to interact with the .generated file in any way.
You should include the module CableComponent inside of your build file and then in the actor where you need the cable component add
#include "CableComponent.h"
in the cpp file. (you can forward declare UCableComponent in the header)
Also make sure you are building your game and not the engine. The engine is most likely the binary version and cannot be rebuilt unless you get the source version.