Cant compile on one machine, but can on another.

The project started as a blueprints project.

Added a simple C++ class to the project, adding in the SQLite Plugin. Compiles fine.

Next, I added an Actor C++ class to the project. Won’t compile and has weird errors

I committed the branch and tried building on my work machine, and no problem. Also if I just create a blank c++ project and try these same classes. No problem. So something weird about this project on just my home machine.

I have tried:

  • clearing the AppData/Local/UnrealEngine folders
  • clearing and rebuilding the VS files for the project
  • re-installing VS Code AND Unreal 4.27

Any help would be appreciated :slight_smile:

Are you sure you extended the actor class? Seems it’s saying that you are trying to override non existing classes. (there is also a reference to UObject which would suggest you are extending the base class somewhere instead of an actor)

Can you post the line where you define your class? (under the UClass macro)