I just upgraded from Unreal Engine 4 to Unreal Engine 5.3.1, and I’ve run into an issue with inheriting from UUserWidget. I managed to isolate all the issues to anytime I try to inherit from UUserWidget (deleting these solves the problems, and I can compile).
I even was able to reproduce the issues with a very minimal example (posted below).
This is a picture of all the errors it generates: https://puu.sh/JR1rV/ee068ec042.png
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "View_Basic.generated.h"
/**
*
*/
UCLASS()
class TESTGAME_API UView_Basic : public UUserWidget
{
GENERATED_BODY()
};