MacOS: Git and Rider problem

Summary

I pushed my project to github. but when I want to git clone it and work on it. it doesnt build correctly

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Other

Steps to Reproduce

  1. git clone GitHub - AndreM222/Tag-AI-Sandbox: This project merges all of the projects meant for my AI research into one project to put it into action.
  2. Open the project and try to open uproject. (It couldnt build and asked to do form source)
  3. Opened rider and tried building from there (failed to get unreal libraries on build).

Expected Result

Open project

Observed Result

CONSOLE: /Users/Shared/Epic Games/UE_5.4/Engine/Build/BatchFiles/Mac/Build.sh Tag_AI_SandboxEditor Mac Development -Project=“/Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Tag_AI_Sandbox.uproject” -buildscw
0>Setting up bundled DotNet SDK
0>/Users/Shared/Epic Games/UE_5.4/Engine/Build/BatchFiles/Mac/../../../Binaries/ThirdParty/DotNet/6.0.302/mac-arm64
0>Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll Tag_AI_SandboxEditor Mac Development -Project=/Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Tag_AI_Sandbox.uproject -buildscw
0>Log file: /Users/andre/Library/Application Support/Epic/UnrealBuildTool/Log.txt
0>Using ‘git status’ to determine working set for adaptive non-unity build (/Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox).
0>Creating makefile for Tag_AI_SandboxEditor (command line arguments changed)
0>Choosing MODERN XCODE based on .ini settings
0>Building Tag_AI_SandboxEditor…
0>Determining max actions to execute in parallel (11 physical cores, 11 logical cores)
0> Executing up to 11 processes, one per physical core
0>Using Parallel executor to run 24 action(s)
0>------ Building 24 action(s) started ------
0>[1/24] Compile [Apple] SharedPCH.Engine.Project.ValApi.Cpp20.h
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:14:
0>InputCoreTypes.h(51,2): Error : a type specifier is required for all declarations
0> 51 | GENERATED_USTRUCT_BODY()
0> | ^
0>ObjectMacros.h(732,37): Reference : expanded from macro ‘GENERATED_USTRUCT_BODY’
0> 732 | #define GENERATED_USTRUCT_BODY(…) GENERATED_BODY()
0> | ^
0>ObjectMacros.h(730,29): Reference : expanded from macro ‘GENERATED_BODY’
0> 730 | #define GENERATED_BODY(…) BODY_MACRO_COMBINE(CURRENT_FILE_ID,_,LINE,GENERATED_BODY);
0> | ^
0>ObjectMacros.h(725,37): Reference : expanded from macro ‘BODY_MACRO_COMBINE’
0> 725 | #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
0> | ^
0>ObjectMacros.h(724,43): Reference : expanded from macro ‘BODY_MACRO_COMBINE_INNER’
0> 724 | #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B#c##D
0> | ^
0>(174,1): Reference : expanded from here
0> 174 | CURRENT_FILE_ID_51_GENERATED_BODY
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/CoreUObject/Public/CoreUObjectSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Containers/Map.h:9:
0>Set.h(303,29): Error : no type named ‘ElementInitType’ in ‘TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>’
0> 303 | typedef typename KeyFuncs::ElementInitType ElementInitType;
0> | ~~~~~^
0>Map.h(879,17): Reference : in instantiation of template class ‘TSet<TTuple<unsigned int, FKey>, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 879 | ElementSetType Pairs;
0> | ^
0>Map.h(1026,33): Reference : in instantiation of template class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1026 | class TSortableMapBase : public TMapBase<KeyType, ValueType, SetAllocator, KeyFuncs>
0> | ^
0>Map.h(1162,21): Reference : in instantiation of template class ‘TSortableMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1162 | class TMap : public TSortableMapBase<InKeyType, InValueType, SetAllocator, KeyFuncs>
0> | ^
0>InputCoreTypes.h(776,21): Reference : in instantiation of template class ‘TMap<unsigned int, FKey>’ requested here
0> 776 | TMap<uint32, FKey> KeyMapVirtualToEnum;
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/CoreUObject/Public/CoreUObjectSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:6:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Algo/Reverse.h:6:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Templates/UnrealTemplate.h:9:
0>UnrealTypeTraits.h(402,35): Error : no type named ‘ConstPointerType’ in ‘TCallTraits<TSetElement<TTuple<unsigned int, FKey>>>’
0> 402 | typedef typename TCallTraits::ConstPointerType ConstPointerType;
0> | ~~~~~~~~~~~^~
0>UnrealTypeTraits.h(412,50): Reference : in instantiation of template class ‘TTypeTraitsBase<TSetElement<TTuple<unsigned int, FKey>>>’ requested here
0> 412 | template struct TTypeTraits : public TTypeTraitsBase {};
0> | ^
0>SparseArray.h(326,35): Reference : in instantiation of template class ‘TTypeTraits<TSetElement<TTuple<unsigned int, FKey>>>’ requested here
0> 326 | void Insert(int32 Index,typename TTypeTraits::ConstInitType Element)
0> | ^
0>Set.h(1412,19): Reference : in instantiation of template class ‘TSparseArray<TSetElement<TTuple<unsigned int, FKey>>, TSparseArrayAllocator<>>’ requested here
0> 1412 | ElementArrayType Elements;
0> | ^
0>Map.h(879,17): Reference : in instantiation of template class ‘TSet<TTuple<unsigned int, FKey>, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 879 | ElementSetType Pairs;
0> | ^
0>Map.h(1026,33): Reference : in instantiation of template class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1026 | class TSortableMapBase : public TMapBase<KeyType, ValueType, SetAllocator, KeyFuncs>
0> | ^
0>Map.h(1162,21): Reference : in instantiation of template class ‘TSortableMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1162 | class TMap : public TSortableMapBase<InKeyType, InValueType, SetAllocator, KeyFuncs>
0> | ^
0>InputCoreTypes.h(776,21): Reference : in instantiation of template class ‘TMap<unsigned int, FKey>’ requested here
0> 776 | TMap<uint32, FKey> KeyMapVirtualToEnum;
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/CoreUObject/Public/CoreUObjectSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Containers/Map.h:9:
0>Set.h(1630,51): Error : no type named ‘KeyType’ in ‘TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>’
0> 1630 | typedef typename TTypeTraits::ConstPointerType ReferenceOrValueType;
0> | ~~~~~~~~~~~~~^
0>Set.h(1766,30): Reference : in instantiation of template class ‘TSet<TTuple<unsigned int, FKey>, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TBaseKeyIterator’ requested here
0> 1766 | class TKeyIterator : public TBaseKeyIterator
0> | ^
0>Map.h(875,13): Reference : in instantiation of member class ‘TSet<TTuple<unsigned int, FKey>, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TKeyIterator’ requested here
0> 875 | SetItType SetIt;
0> | ^
0>Map.h(966,30): Reference : in instantiation of template class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TBaseKeyIterator’ requested here
0> 966 | class TKeyIterator : public TBaseKeyIterator
0> | ^
0>Map.h(1000,54): Reference : in instantiation of member class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TKeyIterator’ requested here
0> 1000 | FORCEINLINE TKeyIterator CreateKeyIterator(typename TKeyIterator::KeyArgumentType InKey)
0> | ^
0>Map.h(1026,33): Reference : in instantiation of template class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1026 | class TSortableMapBase : public TMapBase<KeyType, ValueType, SetAllocator, KeyFuncs>
0> | ^
0>Map.h(1162,21): Reference : in instantiation of template class ‘TSortableMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1162 | class TMap : public TSortableMapBase<InKeyType, InValueType, SetAllocator, KeyFuncs>
0> | ^
0>InputCoreTypes.h(776,21): Reference : in instantiation of template class ‘TMap<unsigned int, FKey>’ requested here
0> 776 | TMap<uint32, FKey> KeyMapVirtualToEnum;
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/CoreUObject/Public/CoreUObjectSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Containers/Map.h:9:
0>Set.h(1630,51): Error : no type named ‘KeyType’ in ‘TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>’
0> 1630 | typedef typename TTypeTraits::ConstPointerType ReferenceOrValueType;
0> | ~~~~~~~~~~~~~^
0>Set.h(1751,35): Reference : in instantiation of template class ‘TSet<TTuple<unsigned int, FKey>, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TBaseKeyIterator’ requested here
0> 1751 | class TConstKeyIterator : public TBaseKeyIterator
0> | ^
0>Map.h(875,13): Reference : in instantiation of member class ‘TSet<TTuple<unsigned int, FKey>, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TConstKeyIterator’ requested here
0> 875 | SetItType SetIt;
0> | ^
0>Map.h(950,35): Reference : in instantiation of template class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TBaseKeyIterator’ requested here
0> 950 | class TConstKeyIterator : public TBaseKeyIterator
0> | ^
0>Map.h(1006,64): Reference : in instantiation of member class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>::TConstKeyIterator’ requested here
0> 1006 | FORCEINLINE TConstKeyIterator CreateConstKeyIterator(typename TConstKeyIterator::KeyArgumentType InKey) const
0> | ^
0>Map.h(1026,33): Reference : in instantiation of template class ‘TMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1026 | class TSortableMapBase : public TMapBase<KeyType, ValueType, SetAllocator, KeyFuncs>
0> | ^
0>Map.h(1162,21): Reference : in instantiation of template class ‘TSortableMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’ requested here
0> 1162 | class TMap : public TSortableMapBase<InKeyType, InValueType, SetAllocator, KeyFuncs>
0> | ^
0>InputCoreTypes.h(776,21): Reference : in instantiation of template class ‘TMap<unsigned int, FKey>’ requested here
0> 776 | TMap<uint32, FKey> KeyMapVirtualToEnum;
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/CoreUObject/Public/CoreUObjectSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>Map.h(1176,26): Error : no type named ‘KeyInitType’ in ‘TSortableMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’
0> 1176 | typedef typename Super::KeyInitType KeyInitType;
0> | ~~~~^
0>InputCoreTypes.h(776,21): Reference : in instantiation of template class ‘TMap<unsigned int, FKey>’ requested here
0> 776 | TMap<uint32, FKey> KeyMapVirtualToEnum;
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/CoreUObject/Public/CoreUObjectSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:7:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Async/AsyncWork.h:11:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Core/Public/Misc/Compression.h:5:
0>Map.h(1177,26): Error : no type named ‘KeyConstPointerType’ in ‘TSortableMapBase<unsigned int, FKey, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<unsigned int, FKey, false>>’
0> 1177 | typedef typename Super::KeyConstPointerType KeyConstPointerType;
0> | ^

0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:14:
0>InputCoreTypes.h(780,1): Error : unknown type name ‘CURRENT_FILE_ID_780_PROLOG’
0> 780 | UCLASS(abstract)
0> | ^
0>ObjectMacros.h(740,21): Reference : expanded from macro ‘UCLASS’
0> 740 | #define UCLASS(…) BODY_MACRO_COMBINE(CURRENT_FILE_ID,
,LINE,PROLOG)
0> | ^
0>ObjectMacros.h(725,37): Reference : expanded from macro ‘BODY_MACRO_COMBINE’
0> 725 | #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
0> | ^
0>ObjectMacros.h(724,43): Reference : expanded from macro ‘BODY_MACRO_COMBINE_INNER’
0> 724 | #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B#c##D
0> | ^
0>(178,1): Reference : expanded from here
0> 178 | CURRENT_FILE_ID_780_PROLOG
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:14:
0>InputCoreTypes.h(783,2): Error : a type specifier is required for all declarations
0> 783 | GENERATED_BODY()
0> | ^
0>ObjectMacros.h(730,29): Reference : expanded from macro ‘GENERATED_BODY’
0> 730 | #define GENERATED_BODY(…) BODY_MACRO_COMBINE(CURRENT_FILE_ID,
,LINE,GENERATED_BODY);
0> | ^
0>ObjectMacros.h(725,37): Reference : expanded from macro ‘BODY_MACRO_COMBINE’
0> 725 | #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
0> | ^
0>ObjectMacros.h(724,43): Reference : expanded from macro ‘BODY_MACRO_COMBINE_INNER’
0> 724 | #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B#c##D
0> | ^
0>(182,1): Reference : expanded from here
0> 182 | CURRENT_FILE_ID_783_GENERATED_BODY
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:19:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h:6:
0>SlateColor.h(43,2): Error : a type specifier is required for all declarations
0> 43 | GENERATED_USTRUCT_BODY()
0> | ^
0>ObjectMacros.h(732,37): Reference : expanded from macro ‘GENERATED_USTRUCT_BODY’
0> 732 | #define GENERATED_USTRUCT_BODY(…) GENERATED_BODY()
0> | ^
0>ObjectMacros.h(730,29): Reference : expanded from macro ‘GENERATED_BODY’
0> 730 | #define GENERATED_BODY(…) BODY_MACRO_COMBINE(CURRENT_FILE_ID,
,LINE,GENERATED_BODY);
0> | ^
0>ObjectMacros.h(725,37): Reference : expanded from macro ‘BODY_MACRO_COMBINE’
0> 725 | #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
0> | ^
0>ObjectMacros.h(724,43): Reference : expanded from macro ‘BODY_MACRO_COMBINE_INNER’
0> 724 | #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B#c##D
0> | ^
0>(186,1): Reference : expanded from here
0> 186 | CURRENT_FILE_ID_43_GENERATED_BODY
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:19:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h:9:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h:6:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Layout/Margin.h:8:
0>SlateVector2.h(119,2): Error : a type specifier is required for all declarations
0> 119 | GENERATED_BODY()
0> | ^
0>ObjectMacros.h(730,29): Reference : expanded from macro ‘GENERATED_BODY’
0> 730 | #define GENERATED_BODY(…) BODY_MACRO_COMBINE(CURRENT_FILE_ID,
,LINE,_GENERATED_BODY);
0> | ^
0>ObjectMacros.h(725,37): Reference : expanded from macro ‘BODY_MACRO_COMBINE’
0> 725 | #define BODY_MACRO_COMBINE(A,B,C,D) BODY_MACRO_COMBINE_INNER(A,B,C,D)
0> | ^
0>ObjectMacros.h(724,43): Reference : expanded from macro ‘BODY_MACRO_COMBINE_INNER’
0> 724 | #define BODY_MACRO_COMBINE_INNER(A,B,C,D) A##B#c##D
0> | ^
0>(4,1): Reference : expanded from here
0> 4 | CURRENT_FILE_ID_119_GENERATED_BODY
0> | ^
0>In file included from /Users/andre/Documents/Unreal Projects/Tag_AI_Sandbox/Intermediate/Build/Mac/arm64/Tag_AI_SandboxEditor/Development/Engine/SharedPCH.Engine.Project.ValApi.Cpp20.h:3:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:5:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/Slate/Public/SlateSharedPCH.h:19:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Application/SlateApplicationBase.h:9:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Layout/SlateRect.h:6:
0>In file included from /Users/Shared/Epic Games/UE_5.4/Engine/Source/Runtime/SlateCore/Public/Layout/Margin.h:8:
0>SlateVector2.h(194,45): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 194 | return FDeprecateSlateVector2D(FVector2f::RoundToVector());
0> | ^~~~~~~~~~~~~
0>SlateVector2.h(199,21): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 199 | return FVector2f::Equals(UE::Slate::CastToVector2f(V), Tolerance);
0> | ^~~~~~
0>SlateVector2.h(204,45): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 204 | return FDeprecateSlateVector2D(FVector2f::GetSignVector());
0> | ^~~~~~~~~~~~~
0>SlateVector2.h(209,45): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 209 | return FDeprecateSlateVector2D(FVector2f::GetAbs());
0> | ^~~~~~
0>SlateVector2.h(214,21): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 214 | return FVector2f::ClampAxes(MinAxisVal, MaxAxisVal);
0> | ^~~~~~~~~
0>SlateVector2.h(219,21): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 219 | return FVector2f::GetRotated(AngleDeg);
0> | ^~~~~~~~~~
0>SlateVector2.h(224,21): Error : cannot initialize object parameter of type ‘const UE::Math::TVector2’ with an expression of type ‘const FDeprecateSlateVector2D’
0> 224 | return FVector2f::GetSafeNormal(Tolerance);
0> | ^~~~~~~~~~~~~
0>SlateVector2.h(385,2): Error : non-const lvalue reference to type ‘FVector2f’ (aka ‘TVector2’) cannot bind to a value of unrelated type ‘FDeprecateSlateVector2D’
0> 385 | UE_SLATE_BINARY_ASSIGNMENT_VECTOR_OPERATORS_B(FVector2d, UE_SLATE_VECTOR_DEPRECATED_DEFAULT())
0> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0>SlateVector2.h(356,4): Reference : expanded from macro ‘UE_SLATE_BINARY_ASSIGNMENT_VECTOR_OPERATORS_B’
0> 356 | static_cast<FVector2f&>(A) += UE::Slate::CastToVector2f(B);
0> | ^ ~
0>fatal error: too many errors emitted, stopping now [-ferror-limit=]
0>20 errors generated.
0>Total time in Parallel executor: 3.13 seconds
0>Total execution time: 5.04 seconds

Platform(s)

MacOS

I was able to fix it by uninstalling unreal engine 5.4.4 and reinstalling it back. I do not know why was that a requirement but now it works.

Now without making any changes to the project. All I did was close and after a while I reopened the project and crash and got the following output.

LoginId:29adeeab5a4e5522a7d73b8ad166b49f
EpicAccountId:81ca664db3cd4eb7baf6b726351052af

Assertion failed: WorldManagers.Find(World) == nullptr [File:./Runtime/Engine/Private/Animation/SkinWeightProfileManager.cpp] [Line: 42]

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x1083a8844 (filename not found) [in UnrealEditor-Core.dylib]
FOutputDevice::LogfImpl(char16_t const*, ...) Address = 0x1086d3a04 (filename not found) [in UnrealEditor-Core.dylib]
FDebug::CheckVerifyFailedImpl2(char const*, char const*, int, char16_t const*, ...) Address = 0x10861d344 (filename not found) [in UnrealEditor-Core.dylib]
FSkinWeightProfileManager::OnWorldInit(UWorld*, FWorldInitializationValues) Address = 0x11a53c17c (filename not found) [in UnrealEditor-Engine.dylib]
TBaseStaticDelegateInstance<void (UWorld*, FWorldInitializationValues), FDefaultDelegateUserPolicy>::ExecuteIfSafe(UWorld*, FWorldInitializationValues) const Address = 0x11a5e1534 (filename not found) [in UnrealEditor-Engine.dylib]
void TMulticastDelegateBase<FDefaultDelegateUserPolicy>::Broadcast<IBaseDelegateInstance<void (UWorld*, FWorldInitializationValues), FDefaultDelegateUserPolicy>, UWorld*, FWorldInitializationValues>(UWorld*, FWorldInitializationValues) const Address = 0x11c6ab194 (filename not found) [in UnrealEditor-Engine.dylib]
UWorld::InitWorld(FWorldInitializationValues) Address = 0x11c6523a0 (filename not found) [in UnrealEditor-Engine.dylib]
UWorld::InitializeNewWorld(FWorldInitializationValues, bool) Address = 0x11c6556f8 (filename not found) [in UnrealEditor-Engine.dylib]
UWorld::CreateWorld(EWorldType::Type, bool, FName, UPackage*, bool, ERHIFeatureLevel::Type, FWorldInitializationValues const*, bool) Address = 0x11c656840 (filename not found) [in UnrealEditor-Engine.dylib]
UEngine::Init(IEngineLoop*) Address = 0x11c422f40 (filename not found) [in UnrealEditor-Engine.dylib]
UEditorEngine::InitEditor(IEngineLoop*) Address = 0x1136c0fb4 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UEditorEngine::Init(IEngineLoop*) Address = 0x1136c6570 (filename not found) [in UnrealEditor-UnrealEd.dylib]
UUnrealEdEngine::Init(IEngineLoop*) Address = 0x1144f8654 (filename not found) [in UnrealEditor-UnrealEd.dylib]
FEngineLoop::Init() Address = 0x10454f5b8 (filename not found) [in UnrealEditor]
EditorInit(IEngineLoop&) Address = 0x114504b90 (filename not found) [in UnrealEditor-UnrealEd.dylib]
GuardedMain(char16_t const*) Address = 0x1045632c4 (filename not found) [in UnrealEditor]
-[UEAppDelegate runGameThread:] Address = 0x10457d364 (filename not found) [in UnrealEditor]
-[FCocoaGameThread main] Address = 0x1085909c4 (filename not found) [in UnrealEditor-Core.dylib]
Unknown() Address = 0x19a5b1444 (filename not found) [in Foundation]
Unknown() Address = 0x1993002e4 (filename not found) [in libsystem_pthread.dylib]
Unknown() Address = 0x1992fb0fc (filename not found) [in libsystem_pthread.dylib]

so when I make a gamemode it always breaks the project. that is very wierd. I am not even telling it to use it. I just right click in unreal engine editor in c++ folder to make a gamemode and it breaks.

It seems that when it makes a game mode the it adds in the
projectname.project →

"AdditionalDependencies": [
				"Engine"
]

it causes it to break. Removing it fixes it but I am sure this will be needed. I will keep looking.

So at the end something I did which fixed it is making a new project and pass everything along. Now it can include the dependencies.

  1. Made a project with same name outside “Unreal Projects” so they wont collide with each other.
  2. Then passed the scripts and compiled.
  3. After that I closed the project and sent the files form content to the new one.
  4. Before opening, I made a tmp directory outside of “Unreal Projects” and moved the old one there and and new one to “Unreal Projects”.
  5. Finally opened and everything worked the same.

[!Warning]
My order of moving prevents the following from happening.

If you just make a new one with new name or keep it outside where your original project path is.
AND IF you use Blueprints, you will need to setup the values again if you where calling structs, enums, etc. inside or it will tell you its invalid type or not exist.

I still don’t know why that problem happened, but I hope this helps anyone.