Use checks in shipping build, without modifying .Target.cs file


I want to enable check() in shipping builds. The current way to do this is by modifying project’s Target.cs file like

if (Configuration == UnrealTargetConfiguration.Shipping)
    BuildEnvironment = TargetBuildEnvironment.Unique;
    bUseChecksInShipping = true;

The above method requires us to have source code of unreal engine for build, because of the BuildEnvironment=TargetBuildEnvironment.Unique setting. But, I do not want to do it this way, because having source code to build project as a requirement is bad for my project. Is there another way to use check() in shipping builds?


I have similar question. Did u find an answer?

return true;

return true;
return false;