BuildGraph Installed Engine Build doesn't use the PublishDir option

Hi.

In InstalledEngineBuild.xml there is a PublishDir option that doesn’t seem to be hooked up to anything:

PublishDir isn’t referenced anywhere else in the script and when I override it, the build is not published to the location I specify but always to LocalBuilds/Engine (the default value of PublishDir).

Is publishing to PublishDir supposed to be implemented by adding a final publish step to the InstalledEngineBuild.xml, or by changing the various references to ‘$(RootDir)/LocalBuilds/Engine’ in the script to refer to PublishDir, or by some other means?

Thanks.

Hi Rob,

Are you packaging your build for final publishing and want to chose the directory it outputs the build to?

If so, in File > Package Project > Packaging Settings… you can modify the Staging Directory to select where the packaged game will be output.

If I misunderstood, can you describe your ultimate goal, so I can provide a more relevant answer?

Cheers,

Jonathan

This is intended to be a version of the editor that we build and distribute locally to our content creators, as we’ll make engine and editor changes from time to time. The BuildGraph ‘Make Installed Engine Build’ plan is intended to create a distributable version of the editor (it’s the 4.13 version of ‘Rocket Build’ from previous versions).

So I’m not trying to build/package a .uproject with an editor I’ve built myself, I’m trying to build/package the editor itself for our team to use to work on .uprojects.

Does that make sense?

Hi Rob,

Our engine build team has changed the use of that file, and consequently PublishDir is indeed not hooked up to anything anymore.

Changing the publish directory is not a feature we currently support, so modification of that in the build system would be a DIY situation.

One straightforward approach may be to leave the publishing as is, and instead add a build step to the end that executes a script which copies the built editor to whichever directory you intend.

Cheers,

Jonathan