Recently I tried to add a new c++ class to my project, which inherits from a custom AActor class I’ve made. I do, already, have several other custom c++ classes inherit from this class with no issues. The Problem:
When adding the new class using the in Engine Window the project no longer compiles, giving me the following error:
After tying some things, I found a new new error that appears in Visual studio before the errors as seen in the log above. The .generated file seems unable to be opened:
/** Enumeration that specifies particular classes of unit */
enum class EPhysicalUnitType
{
Distance, Angle, Speed, Temperature, Mass, Force, Frequency, DataSize, LuminousFlux, LuminousIntensity, Illuminance, Luminance, Time, PixelDensity, Multipliers,
// Symbolic entry - do not use directly
NumberOf,
};
Thank you very much, I really appreciate the time you take to help me.
adding UENUM() did help a bit… I now have a new error, which seems really random, honestly
just one error now:
I think I’ll reinstall ue5 and see if I can get it working