question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Working setup for UE 4.21

See original GitHub issue

I’ve spent the last couple weeks (on and off) getting FastBuild to work with UE 4.21. I’ve included my setup in the gist below, hopefully it’s useful to someone before 4.22 undoubtedly breaks something again.

This was testing with a complete clean & rebuild with a slightly modified version of UE 4.21 . I have not tested this configuration with any FastBuild caching.

An overview of the changes and additions:

  • Created some extension methods for VCEnvironment to patch things that were removed or changed from 4.19 . Some of the solutions in here aren’t very clean and may require some retooling. I placed this under UnrealBuildTool\Platform\Windows\VCEnvironmentFastbuildExtensions.cs (See gist for code).
  • Set bEnableUndefinedIdentifiedWarnings to false in UnrealBuildTool\Configuration\ModuleRules.cs. This was breaking compilation with Windows 10 SDK. (See gist for code).
  • Added an action to support ActionType.BuildProject in FASTBuild.cs. This may not work for everything. I’ve only seen this action type used for copying files so that is what it does in the BFF file. FASTbuild.cs also modified to work with modified VCEnvironment.
  • ActionGraph and BuildConfiguration required no changes compared to 4.19 .

View changes in code: https://gist.github.com/RiceKab/60d7dd434afaab295d1c21d2fe1981b0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
liamkfcommented, Jan 25, 2019

Hi there! We just haven’t run with caching recently, I don’t see why it couldn’t be working though… 😃

As far as Xbox distribution goes, https://github.com/fastbuild/fastbuild/issues/363 and https://github.com/fastbuild/fastbuild/issues/438 still remain in effect unfortunately…

0reactions
ttvdcommented, Apr 11, 2019

It does look like it will take significant amount of effort to get xb1 working with fastbuild due to /zw. PCH and the fact that some core modules have to be compiled with /zw complicates things.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing UE 4.21 : r/unrealengine
I'm having a difficult time getting UE4.21 installed. I can't find a way to install it directly through the launcher as others have ......
Read more >
Setting Up Visual Studio for Unreal Engine
Tips, tricks, and techniques for setting up Visual Studio to work with Unreal Engine.
Read more >
UE 4.21 - How To Enable Python Plugin - YouTube
16K views · 4 years ago #Python #PythonTutorial #UnrealEngine ...more. Alex Quevillon [En] (Unreal Engine Tutorials). 3.1K. Subscribe.
Read more >
Getting Started in Unreal Engine 4: Beginner Tutorial - YouTube
By learning how to use the Marketplace, you'll be setting yourself ... You'll learn how Begin Play works and we'll do a simple...
Read more >
How to Enable Destructible Mesh ue4 4.21 - YouTube
... on how to enable destructible mesh in 4.21 +++++++++++++++++++ www.markom3d.com ... How To Setup Destructible Assets In Unreal Engine 5.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found