Building engine source. Fails on Plugin

When building UE5 from source I get this error.

It seems as the plugin CADLibrary isn’t building properly.

There is this menthod HashCombine that fails because it is not given the correct number of arguments. So of course I would like to know how to fix this, but I would also like to know how I could go by disabling Plugins in the build process. I’m pretty confident that I don’t need the CADLibrary.

How I built the engine:

  • Clone git repo, branch UE5-main
  • Inside repo dir I run Setup.bat, then GenerateProjectFiles.bat
  • Inside Visual Studio 2019 I change configuration to ‘Development Editor’ and ‘Win64’ architechture.
  • Right click UE5 project and select build.
  • About 1.5 hours in the build fails.

EDIT: I looked over my Visual Studio settings and found I didn’t have the Unreal Engine build installed. So I followed this guide to be sure I didn’t miss anything Setting Up Visual Studio for Unreal Engine | Unreal Engine Documentation

Appreciate any help I can get!

Setting up the visual studio settings didn’t fix the problem.

Hi @anonymous_user_60083892,
The git repo [ue5-main] often fails as its updated many times a day and may not be reliable at its cutting edge.

I have made available a version that compiles and works on Vs 2019 and VS 2022 Preview
Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER - Development Discussion / Unreal Engine 5 Early Access - Unreal Engine Forums

Ii rebuild this every new version of VS 2022 Preview
because it works with 2019 as well.

I cannot fix [ue5-main], because its Epic Staff version.

Thanks! I will try your example and let you know if it works! :slight_smile:

Solution for me at the moment was to checkout the latest released commit for Early-access. Then I manage to get further.

We’ll see if I get stuck somewhere else :slight_smile: