I’ve been using Incredibuild but it seems that it always stops compiling after 1 error. I’ve tried to use bStopXGECompilationAfterErrors as explained in the docs, but it appears to be no longer supported? How can I prevent XGE from stopping after first compile error?
Where and how are you setting bStopXGECompilationAfterErrors? We tried a very simple test with the variable set to false and the build continued past the first error that we had introduced.
1> Performing full C++ include scan (building a new target)
1> Creating makefile for OlokEditor (changes to module files)
1> Errors detected while compiling C:\Olok\Intermediate\Build\BuildRules\OlokModuleRules.dll:
1>c:\Olok\Source\Olok\Olok.Build.cs(23,9): error CS0103: The name ‘bStopXGECompilationAfterErrors’ does not exist in the current context
1>EXEC : error : UnrealBuildTool encountered an error while compiling source files
It was just pointed out to me that I overlooked something that I should have noticed. The variable you are trying to set is part of a different class. Try using this line instead: BuildConfiguration.bStopXGECompilationAfterErrors = false;
We have not heard back from you for a few days. Do you still need any help with this issue? I will be marking this issue as resolved for internal tracking purposes, but please feel free to add a comment and re-open the post if you need any more help.