Can not package shipping builds when enable ScriptableToolsFramework plugin in UE5.7.0

Hi, There is a problem when packaging a shipping build in UE5.7.0. Here is how to repro it:

  1. Using UE5.7.0 to create a C++ project.
  2. Enable ScriptableToolsFramework plugin in that project.
  3. Try to build the shipping game.

So if you build the shipping game, it will immediately raise an error saying that “Non-editor build cannot depend on non-redistributable modules“. Building development game is ok.

So I searched this error in the whole solution and found that UBT reports “License Violations“ error.

Also I can not override “Target.bCheckLicenseViolations = false“ in project’s build.cs file because it is read-only.

So how can I solve this problem? Many Thanks!!!

After debugging the UBT process, I found that I can override the “IsRedistributableOverride” in all the modules which are non-redistributable to true. I am not sure if this is a good solution because there might be “License Violations” but anyway this will make shipping builds compile.

1 Like

It seems only source code engine builds that modifing the build.cs files will work. On installed engine builds, changing these (setting IsRedistributableOverride to true) will not package shipping games.