Cant compile to save my life / GENERATED_BODY() stops compiling

I assume you need to add the UCLASS() macro above the definition of the Display class, or you need to remove the UFUNCTION(…) macro from its GetDisplayResolution() function.


UCLASS()
class CARZ_API Display
{
    GENERATED_BODY()
    ...
};