Solution of Error C2766 :
MassEntityTypes.cpp
Annotate the this script part
//DEFINE_TYPEBITSET(FMassFragmentBitSet);
//DEFINE_TYPEBITSET(FMassTagBitSet);
//DEFINE_TYPEBITSET(FMassChunkFragmentBitSet);
//DEFINE_TYPEBITSET(FMassSharedFragmentBitSet);
Solution of Error MSB3073 with code 6:
- Enter the modification in the Visual Studio Installer to download all msvc v142 build tools from individual components (ARM and x64/x86)
- Move the Unreal Engine source file to C:\
- Open the UE5.sln file to change it: “Project->Configuration Properties->General->OutputDirectory”, change the value to “inherit from parent or project defaults”
- Now try to build it
If the build fails, upgrade Visual Studio to 2022 and try the above process from scratch