[5.8] BuildPatchTool fails with "FeatureLevel was not provided"

Summary

When packaging a project with bBuildHttpChunkInstallData=True and assets assigned to chunks > 0, BuildPatchTool (BPT) fails with: FeatureLevel was not provided. Please provide the FeatureLevel commandline argument which matches the existing client support.

What Type of Bug are you experiencing?

Foundation (C++ Tools, Profiling, & Pipeline)

Steps to Reproduce

  • Enable bBuildHttpChunkInstallData=True in DefaultGame.ini
  • Assign at least one asset to a chunk ID > 0 (via Primary Asset Labels or similar)
  • Set HttpChunkInstallDataDirectory and HttpChunkInstallDataVersion
  • Package the project (BuildCookRun with -stage -manifests -createchunkinstall)

Expected Result

BPT generates chunk manifests successfully.

Observed Result

BPT fails with message “FeatureLevel was not provided. Please provide the FeatureLevel commandline argument which matches the existing client support.”

Affects Versions

5.8

Platform(s)

Windows

Additional Notes

Add the following line after CmdLine += " -stdout";: CmdLine += " -FeatureLevel=LatestJson";