UE5 C++ Compile Time is Substantially Longer

I’m still looking for insights or solutions to this problem.

I’ve done a little more sleuthing:

  • I’ve disabled many built-in plugins we don’t need. This reduced the number of build actions to 2622, but yielded no measurable improvement to compile time.
  • I’ve tested without our corporate antivirus disabled. This had no measurable effect. Our UE directory was already excluded, so this only would have affected some in-memory scanning.
  • I’ve tested with both VS2019 and VS2022 with similar results.
  • I’ve diffed a few response files from before and after the upgrade and I don’t see any impactful changes to compiler flags.

Having compile time straight up double in UE5 is frustrating.