Problems with UserWidget in c++

Hi, I´m in the simple shooter section. I get an error with this lines and I can´t get past it.

UPROPERTY(EditAnywhere)
TSubclassOf DeadScreenClass;

I Get:
|Error|LNK1120|1 unresolved externals

|Error|LNK2019|unresolved external symbol __declspec(dllimport) class UClass * __cdecl Z_Construct_UClass_UUserWidget_NoRegister(void) (_imp?Z_Construct_UClass_UUserWidget_NoRegister@@YAPEAVUClass@@XZ) referenced in function void __cdecl `dynamic initializer for ‘public: static struct UECodeGen_Private::FClassPropertyParams const Z_Construct_UClass_AFPSTimePlayerController_Statics::NewProp_DeadScreenClass’’(void) (??__E?NewProp_DeadScreenClass@Z_Construct_UClass_AFPSTimePlayerController_Statics@@2UFClassPropertyParams@UECodeGen_Private@@B@@YAXXZ)|FPSTime|C:\Users\Ryzen\Unreal\FPSForTheWin\Intermediate\ProjectFiles\Module.FPSTime.cpp.obj|1||

Severity Code Description Project File Line Suppression State
Error MSB3073 The command C:\Program Files\Epic Games\UE_5.3\Engine\Build\BatchFiles\Build.bat FPSTimeEditor Win64 Development -Project=C:\Users\Ryzen\Unreal\FPSForTheWin\FPSTime.uproject -WaitMutex -FromMsBuild exited with code 6. FPSTime C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

I don´t really know what to do here. Some help please.

1 Like

Later in the video is solved…

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms