Commit Graph

918 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
justin marcus
fafa5ef21b [Backout] - CL27070697
Allow loading bundle config from editor INI file.

[CL 27140552 by justin marcus in ue5-main branch]
2023-08-16 11:07:14 -04:00
jeff fisher
d5fbfa08db UE-189611 ARImageDetection Fails to Launch on Android - Error: Unable to load plugin 'XRBase'
-The logic in NativeProjects.cs IsHybridContentOnlyProject which decides whether we need to build an executable for a project was always using the buildhost platform (usually win64) to decide which plugins were active.  This caused it to miss enabled code plugins that build for the actual target platform but not the host platform and potentially not do an executible build when one is required.
-Now we pass the TargetPlatforms for the current build into ConditionalMakeTempTargetForHybridProject so that we can test against them.  If any project in this list needs code built we will make a temp target.
#jira UE-189611 UE-192833
#rb Josh.Adams

[CL 27101769 by jeff fisher in ue5-main branch]
2023-08-15 10:07:26 -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
justin marcus
e00bf5329c Fix bad merge
- see 27072463

#jira

[CL 27073909 by justin marcus in ue5-main branch]
2023-08-14 12:17:43 -04:00
justin marcus
c76e72c0de Allow loading bundle config from editor INI file.
#rb James.Doverspike, Peter.Sauerbrei, PJ.Kack

[CL 27072509 by justin marcus in ue5-main branch]
2023-08-14 11:53:29 -04:00
justin marcus
557b02454e Add UseDetailedInstallSizes to generate size metadata even if UseChunkDBs is false. UseDetailedInstallSizes defaults to true.
[REVIEW] [at]Eric.Knapik [at]Thomas.Ross

[CL 26856550 by justin marcus in ue5-main branch]
2023-08-04 15:11:18 -04:00
zousar shaker
2e699f26d6 Fix bug where the "silent" mode for project cooking could still emit an exception if the return code from the commandlet was outside the positive signed integer range.
#rb graeme.thornton

[CL 26824508 by zousar shaker in ue5-main branch]
2023-08-03 16:00:54 -04:00
ryan hummer
b8460946bc Change UnrealBuildException to print as errors
* Give it a unique exit code
* And introduce a new output format MinimalError to give minimal info output, but as an error

#rnx
#jira UE-191956
#rb joe.kirchoff, marc.audy, bryan.johnson

[CL 26823591 by ryan hummer in ue5-main branch]
2023-08-03 15:42:02 -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
Ben Marsh
860736cdbd EpicGames.Core: Record the .NET activity stack on log events. Can be used to supplement logs with context-specific information allowing more granular information about errors and warnings.
[CL 26683383 by Ben Marsh in ue5-main branch]
2023-07-28 15:10:41 -04:00
jorgenpt
7db5461ddc UAT: Explicitly set input encoding for processes #8439
#jira UE-127895

[CL 26542088 by jorgenpt in ue5-main branch]
2023-07-24 10:19:00 -04:00
gary yuan
fc2e67f8c6 Add null check
#rb self

[CL 25955753 by gary yuan in ue5-main branch]
2023-06-13 12:52:40 -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
robert millar
6bdae7d69e Additional crash reporting information.
- Whether the binaries were created with debug info.
- Engine 'compatible' version from build info.
- CIS job URL that created the binaries.
- Currently executing CIS job URL.

#rb johan.berg

[CL 25796770 by robert millar in ue5-main branch]
2023-06-05 13:22:14 -04:00
Skylonxe
32669a4675 #10506: Handle altsync and noaltsync values added in recent P4D versions.
[CL 25793074 by Skylonxe in ue5-main branch]
2023-06-05 11:27:05 -04:00
josh adams
f6381544e2 - Allow a project to override the Main SDK version for a platform (the platform's project Engine.ini would set
[OverrideSDK]
  SDKVersion=x.y.z
and AutoSDK, or anything using GetMainVersion(), would use that version string instead
- If multiple targets are built in one run of UBT/UAT, it will error out because there is no support to switch SDKs (and builds happen in parallel, etc)
- This is not a complete solution, because it can cause problems with shared tools like ShaderCompileWorker, when different projects are on different SDKs and they have one SCW to share
- Renamed GetMainVersion to GetMainVersionInternal(), and wrapped that in a new non-vitual GetMainVersion() that calls GetMainVersionInternal() (and handles the ini overrides)
#rb david.harvey,dave.barrett
#jira UE-185364
#preflight 647a12e7b0670733186c928e

[CL 25767233 by josh adams in ue5-main branch]
2023-06-02 13:42:59 -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
ryan hummer
691a7755bc Fixing password empty check
#rnx
#rb none
#preflight none

[CL 25750779 by ryan hummer in ue5-main branch]
2023-06-01 21:49:20 -04:00
ryan hummer
211bdec81d Don't attempt to log into p4 on a builder and with no password supplied
#rnx
#rb chad.garyet
#preflight 6478db3d6f48a70666dc93d5

[CL 25739701 by ryan hummer in ue5-main branch]
2023-06-01 16:11:40 -04:00
David Harvey
783909a793 Adding hook for any platform-specific files that are needed when staging DLC.
#rnx
#jira UE-127706
#rb trivial
#preflight 6464c553fa4cf416512efcc5

[CL 25505256 by David Harvey in ue5-main branch]
2023-05-17 08:41:19 -04:00
Wojciech Krywult
9fe0243168 AutomationTool: Fixed 'Launch failed' messages in the editor after terminating a successfully launched game.The problems was caused by us treating all non-zero results as errors while some platforms return different non-zero codes to provide additional information.
Resolved by adding IProcessResult::bExitCodeSuccess virtual property which may be overridden on the affected platforms to explicitly indicate which exit codes are allowed.

#preflight 6462a07a592448f08bde34e4
#rb David.Harvey
#jira UE-178885
#rnx

[CL 25497459 by Wojciech Krywult in ue5-main branch]
2023-05-16 16:56:31 -04:00
Josh Adams
9d4caec55a - Brought the idea of hybrid/temp targets for content only projects that need to be treated as code, to UBT instead of UAT. Generate temp targets when building or generating projects
- Only active when the project generator says it supports ContentOnly projects, although that is just for now until Xcode can test it out, in case it causes Visual Studio issues
#rb joe.kirchoff
#preflight 64638f4a4404e3cdd240327f

[CL 25490732 by Josh Adams in ue5-main branch]
2023-05-16 11:49:47 -04:00
dan engelbrecht
df83c93b28 Use UnRealPak to copy loose files using a special package enabling zenstore usage.
#precommit 6461fa95592448f08b9df249
#rb zousar.shaker

[CL 25472827 by dan engelbrecht in ue5-main branch]
2023-05-15 09:49:17 -04:00