Hello. I have a little issue witch my UE5 source build. I have this error while i’m going to compile my source build, and i don’t know what i can do to solve this problem:
4> [1/30] Compile Module.MassEntity.cpp
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Private \ MassEntityTypes.cpp (7): error C2766: explicit specialization; “StructTracker” is already defined
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Public \ MassEntityTypes.h (106): note: see previous definition "private: static FStructTracker TScriptStructTypeBitSet :: StructTracker "
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Private \ MassEntityTypes.cpp (8): error C2766: explicit specialization; “StructTracker” is already defined
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Public \ MassEntityTypes.h (107): note: see previous definition "private: static FStructTracker TScriptStructTypeBitSet :: StructTracker "
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Private \ MassEntityTypes.cpp (9): error C2766: explicit specialization; “StructTracker” is already defined
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Public \ MassEntityTypes.h (108): note: see previous definition "private: static FStructTracker TScriptStructTypeBitSet ChunkFragment> StructTracker "
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Private \ MassEntityTypes.cpp (10): error C2766: explicit specialization; “StructTracker” is already defined
4> D: \ EpicGames \ UE_5.0S \ UnrealEngine \ Engine \ Plugins \ Runtime \ MassEntity \ Source \ MassEntity \ Public \ MassEntityTypes.h (109): note: see previous definition "private: static FStructTracker TScriptStructTypeBitSet SharedFragment> StructTracker "
4> C: \ Program Files \ Microsoft Visual Studio \ 2022 \ Community \ MSBuild \ Microsoft \ VC \ v170 \ Microsoft.MakeFile.Targets (44.5): error MSB3073: Command "… \ … \ Build \ BatchFiles \ Build.bat -Target = “UnrealEditor Win64 Development” -Target = “ShaderCompileWorker Win64 Development -Quiet” -WaitMutex -FromMsBuild "was exited with code 6.
4> Compiling the project “UE5.vcxproj” completed - FAILED.
========== Build: 3 successful, 1 failed, 0 updated, 0 skipped =
If someone can help me witch fixing this i will be very happy.
For all help thanks. (if this question is bad section, sorry but i don’t know where to put that)