Problem with upgrading to 5.4.2

Severity Code Description Project File Line Suppression State Details
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.h 40
Error C2143 syntax error: missing ‘,’ before ‘*’ DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.h 40
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.h 40
Error C2143 syntax error: missing ‘,’ before ‘*’ DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.h 40
Error C2664 ‘void URPGAttributeMenuWidgetController::BroadcastAttributeInfo(const FGameplayTag *,const int) const’: cannot convert argument 1 from ‘const T’ to ‘const FGameplayTag *’ DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.cpp 34
Error C2511 ‘void URPGAttributeMenuWidgetController::BroadcastAttributeInfo(const FGameplayTag &,const FGameplayAttribute &) const’: overloaded member function not found in ‘URPGAttributeMenuWidgetController’ DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.cpp 53
Error C2597 illegal reference to non-static member ‘URPGWidgetController::AttributeSet’ DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.cpp 56
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.h 40
Error C2143 syntax error: missing ‘,’ before ‘*’ DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Widgets\Controller\RPGAttributeMenuWidgetController.h 40
Error C2338 static_assert failed: ‘’%d’ expects integral arg (eg. char, int, long, etc.)’ DuTraveller C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\Core\Public\String\FormatStringSan.h 109
Error C3861 ‘IsPendingKill’: identifier not found DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\RPGMagicProjectile_Aoe.cpp 42
Error C3861 ‘IsPendingKill’: identifier not found DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\RPGMagicProjectile.cpp 89
Error C2027 use of undefined type ‘UDT_AttributeSet’ DuTraveller C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h 286
Error C2338 static_assert failed: ‘Attempting to cast between incomplete types’ DuTraveller C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h 286
Error C2139 ‘UDT_AttributeSet’: an undefined class is not allowed as an argument to compiler intrinsic type trait ‘__is_base_of’ DuTraveller C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\INCLUDE\type_traits 1298
Warning C4996 ‘Cast::FStaticWarningMsg_329::condition’: Attempting to use Cast<> on types that are not related DuTraveller C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h 329
Error C4702 unreachable code DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Inventory\Equipment_ItemObject.cpp 48
Error C4702 unreachable code DuTraveller C:\Unreal\Github\UE\DuTraveller\DuTraveller\Source\DuTraveller\Inventory\Equipment_ItemObject.cpp 59
Error MSB3073 The command C:\Program Files\Epic Games\UE_5.4\Engine\Build\BatchFiles\Build.bat DuTravellerEditor Win64 DebugGame -Project=C:\Unreal\Github\UE\DuTraveller\DuTraveller\DuTraveller.uproject -WaitMutex -FromMsBuild -architecture=x64 exited with code 6. DuTraveller C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets 44

Same issue if I try to do it with & with 5.3.2 is working perfectly fine and for some reason visual studio wont work properly either