diff --git a/ue-package.ps1 b/ue-package.ps1 index 9599cb1..044e206 100644 --- a/ue-package.ps1 +++ b/ue-package.ps1 @@ -229,6 +229,12 @@ try { } + # We need to build the host Editor target explicitly first, which will be used + # to run the "Cook" stage. If we don't do this, then any source plugins will + # be missing in a clean checkout build and the cook stage will fail + Write-Output "Building Editor (for Cooking)" + ue-build.ps1 -mode:dev -src:$src -nocloseeditor -dryrun:$dryrun + $ueEditorCmd = Get-UEEditorCmd $ueVersion $ueinstall $runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix"