Commit Graph

1530 Commits

Author SHA1 Message Date
Matt Peters
e3be932357 Cooker: AdditionalPluginDirectories: Fix staging to look in the RemappedPlugins directory when cooking DLC plugins that are in AdditionalPluginDirectories.
Fix cooker to store all metadata in the RemappedPlugins.
Fix cooker for even normal DLCs to store all metadata in the DLC's directory rather than the project's directory.
#jira UE-192828
#rn Bugfix, Core
#rb Zousar.Shaker

[CL 27205588 by Matt Peters in ue5-main branch]
2023-08-18 12:05:51 -04:00
per larsson
bc04deeaf4 IAS - changed cosmetic bundling to use wildcards
#rb PJ.Kack
#rnx

[CL 27166808 by per larsson in ue5-main branch]
2023-08-17 03:08:25 -04:00
david harvey
89147b45dd Add version of automation Platform.RunClient that takes a DeploymentContext
#jira UE-179187
#rnx

[CL 27098132 by david harvey in ue5-main branch]
2023-08-15 04:05:08 -04:00
per larsson
d3456a5503 UAT - extended PakFileRules with list of allowed chunk names when generating on demand chunks
#rb PJ.Kack
#rnx

[CL 26950389 by per larsson in ue5-main branch]
2023-08-09 03:46:09 -04:00
sebastien lussier
fc658d89a3 WorldPartition - WorldPartitionBuilder.Automation.cs: Test if SubmitTags is null before accessing
#rb trivial

[CL 26909917 by sebastien lussier in ue5-main branch]
2023-08-07 22:38:45 -04:00
dmytro ivanov
2536e616e1 Update cmake to 3.22.1
#jira UE-192126
#rb Chris.Babcock

[CL 26894364 by dmytro ivanov in ue5-main branch]
2023-08-07 14:56:20 -04:00
andrew grant
725db830a1 Fixes regression where BenchmarkBuild script would not reliably measure build performance.
The fix is to restore the <= 5.1 behavior of UBT where the MaxParallelActions argument specifies the maximum number of actions to execute in parallel, not a cap on UBTs heuristic-based selection.

This change also modifies BenchmarkBuild so it will default to the available processor count if no -cores argument is specified. This ensures the behavior of repeated runs will be deterministic as UBT may select different values if the system free memory changes

#jira UE-192236
#rb swarm
[REVIEW] [at]Joe.Kirchoff
#tests Ran UBT / BenchmarkBuild with arguments that forces the number of actions higher than the locally available core count

[CL 26889927 by andrew grant in ue5-main branch]
2023-08-07 13:35:03 -04:00
Ryan Hummer
3ebc0e1bcf Removing mono/xbuild part 1
* Updating references to use dotnet
* Add new RunDotnet scripts
* Removing Mono sh scripts and references to them

#rnx
#jira UE-153293
#rb josh.adams, zack.neyland, brandon.schaefer

[CL 26737744 by Ryan Hummer in ue5-main branch]
2023-08-01 10:02:58 -04:00
Josh Adams
a27e83d8cb - Added support to CMake (the distro and some PlatformScripts scripts) for VisionOS. a future CMake version will likely have VisionOS support builtin, but this gets basic functionality, copied from TVOS
- Refactored the IOS/TVOS support in BuildCMakeLib.Automation.cs to share code, so that the VisionOS support isn't a third copy/paste
#rb adam.kinge

[CL 26664135 by Josh Adams in ue5-main branch]
2023-07-27 22:55:12 -04:00
rex hill
0ad3515722 Log when DumpManifest is called to help debug what is overwriting a manifest
#rnx
#jira

[CL 26625065 by rex hill in ue5-main branch]
2023-07-26 18:21:04 -04:00
adam kinge
ba9d2fc198 Set the correct sdk to use for iOS device and iOS Simulator builds
#jira UE-168571
#rb josh.adams

[CL 26575877 by adam kinge in ue5-main branch]
2023-07-25 11:42:25 -04:00
oleg krasnov
92e2d46d3c Integrate automatic bisection feature into UAT
#jira UE-186970
#rb jerome.delattre martin.ridgers

[CL 26458706 by oleg krasnov in ue5-main branch]
2023-07-19 09:14:51 -04:00
per larsson
d88a3146b4 IAS - set both encryption and requested encryption key when overriding on demand pakchunks
#rb none
#rnx

[CL 26308192 by per larsson in ue5-main branch]
2023-06-29 07:45:30 -04:00
per larsson
0aa5e3e83a IAS - updated handling of on demand pak file rules
- on demand pak file rules now respect the bOverrideChunkManifest property which means
that if not set to true together with OverridePaks=<MyPakName>, on demand content
will be placed in the <basechunkname>+<optionalondemand/ondemand>.pak
- this change makes bStageLoose and bOnDemand create the same pakchunks unless overriden with bOverrideChunkManifest=true

#rb none
#rnx

[CL 26229620 by per larsson in ue5-main branch]
2023-06-26 04:18:32 -04:00
dan thompson
c54316a591 UnrealPak now uses the CookMetadata file to optionally write out size information for plugins. This information is written back to the cook metadata file, and is enable via a project packaging setting.
#rb fabian.giesen

[CL 26194673 by dan thompson in ue5-main branch]
2023-06-22 17:32:20 -04:00
leon huang
b3b7f0a6dc Localization:
Update the Localize UAT command to better handle gathering for plugins.
- Introduced the -IncludePluginsDirectory parameter to include all plugins under a particular directory
- Introduce the ExcludePluginsDirectory parameter to exclude all plugins under a particular directory
- Introduce the EnableIncludedPlugins flag to add all  included plugins that pass the exclude filter to the -EnablePlugins editor command line parameter to ensure the plugins are enabled for gathering.
#rb: Jamie.Dale
#jira: none
#test Used the new commands to perform gathers for directories of plugins and enabling plugins that are not on by default.

[CL 26161937 by leon huang in ue5-main branch]
2023-06-21 16:45:17 -04:00
zousar shaker
c5d05e1f4e 2nd attempt:
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26123110 by zousar shaker in ue5-main branch]
2023-06-20 10:53:32 -04:00
per larsson
3bed8ef537 I/O - support for uploading on demand I/O store containers to S3 with UnrealPak
- added support for uploading containers marked as on demand directly from UnrealPak.exe
- removed C# based upload logic from automation scripts
- removed on demand I/O store writer since this change reads chunks directly from container files instead of loose files

Example usage:
UnrealPak.exe -Upload=<ContainerPathOrWildcard> -ServiceUrl=<URL> -Bucket=<BucketName> -AccessKey=<Key> -SecretKey=<Key>

Read credentials from an AWS key chain file with the following command line:
-CredentialsFile=<Path> -CredentialsFileKeyName=<EntryName>

Specify -KeepUploadedContainers to prevent UnrealPak to delete on demand containers after the upload has been completed.
Specify -BucketPrefix=<Path> to upload chunks to a specific sub directory within the bucket.

#rb none

[CL 26115169 by per larsson in ue5-main branch]
2023-06-20 04:21:22 -04:00
zousar shaker
71aecc1264 [Backout] - CL26049351
[FYI] dan.engelbrecht
Original CL Desc
-----------------------------------------------------------------
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26085241 by zousar shaker in ue5-main branch]
2023-06-19 02:23:59 -04:00
dan engelbrecht
9679996964 Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26049362 by dan engelbrecht in ue5-main branch]
2023-06-16 09:32:36 -04:00
chris constantinescu
eaa0b0ae58 Allow plugins "Tests" folder that can include test target and module files.
#rb Jerome.Delattre, Dave.Haslam
#jira UE-188420

[CL 25985206 by chris constantinescu in ue5-main branch]
2023-06-14 13:23:01 -04:00
dmytro ivanov
b025ed1bc5 #jira: none
Don't pass -EnablePlugins= when there are no plugins enabled to avoid issues with plugin manager argument parsing

[CL 25896325 by dmytro ivanov in ue5-main branch]
2023-06-09 12:21:24 -04:00
eric knapik
52215d80a3 #Jira: FORT-617630
Adding buildgraph option to EnablePlugins for cooking and building. Enabling a plugin in the buildgraph will enable it for cook and compilation but will not enable it in the application that must be done via other means
Updating BuildCookRun commands so they pass the EnablePlugins command through the build system

[FYI] Taylor.Robert

[CL 25881480 by eric knapik in ue5-main branch]
2023-06-08 16:23:30 -04:00
dmytro ivanov
15a6f27a3e Pass RunCommandline during launch to improve iteration times on mobile by not needing to rebuild .apk every time, because they are not passed via staged build anymore.
#jira UE-185550
#rb adam.kinge

[CL 25868747 by dmytro ivanov in ue5-main branch]
2023-06-08 08:25:43 -04:00
james singer
e5215ab3d3 Allow -vulkandebug to use our distributed vulkan validation layers for both Windows and Linux
Tested with editor and packaged project builds with and without installed Vulkan SDK and it functioned as expected

#preflight 64653fcaf033744ae6af8e56
#jira UE-159251
#review-25517129 @josh.adams, @jeannoe.morissette
#rb Jeannoe.Morissette

[CL 25758808 by james singer in ue5-main branch]
2023-06-02 09:04:53 -04:00