Commit Graph

9747 Commits

Author SHA1 Message Date
Josh Adams
72f6ecef4a - Updated default AutoSDK install location to work across host platforms better
#rb brandon.schaefer

[CL 14897939 by Josh Adams in ue5-main branch]
2020-12-10 11:01:54 -04:00
Ben Marsh
31021ed18b UBT: Fix PCH usage on Clang.
#jira UE-103802
#rb none

[CL 14895570 by Ben Marsh in ue5-main branch]
2020-12-09 21:49:24 -04:00
christopher waters
4102ce0311 Removing unused d3d9 code from Lightmass
#jira none
#rb zach.bethel

[CL 14891025 by christopher waters in ue5-main branch]
2020-12-09 15:44:05 -04:00
Phillip Kavan
11c00323ea Remove exposed parts of the Blueprint nativization feature (deprecated), and decouple it from the editor/cooking phase.
#jira UE-103261
#rb Michael.Noland

[CL 14882147 by Phillip Kavan in ue5-main branch]
2020-12-08 16:28:03 -04:00
geoff evans
ff38fc9323 Add copyright boilerplate
#jira UE-104215

[CL 14878753 by geoff evans in ue5-main branch]
2020-12-08 10:55:35 -04:00
Tim Smith
f678576713 Added a limit to the number of actions live coding will handle by default. The user can change these limits and even request that the compilation try again withot enforcing the limit.
#rb ben.marsh
#jira UE-81480

[CL 14878398 by Tim Smith in ue5-main branch]
2020-12-08 09:47:08 -04:00
geoff evans
6b85337533 Create IterationProfile automated tests to gather raw trace data from Editor
UAT:
Add a new EditorTests runner, existing runner is derelict (will be deleted in upcoming merge from UE4)
BuildGraph is project-agnostic, forked and modified from EngineTest's build graph. Follow up change will try to generalize this logic for future benefit.
Requires specification on the cmdline of project content to use and platform to run on. Project content is specified in DefaultEngine.ini.
EditorTest plugin and log error/warning handling is all handled on the command line to be unobtrusive to production uprojects

EngineTest Plugin:
Add new EditorIterationTests.cpp and a simple test object. This is copied from another test for now for the sake of iteration profiling having its own filter and automation behavior.

AutomationController:
bTreatLogErrorsAsTestErrors was specified in some ini files, but was bugged. Restore this likely deleted config variable and check it when scanning log results

Reverb:
Add Iteration test group

EngineTest:
Add Iteration test group

#rb jerome.delattre, francis.hurteau
#fyi andrew.grant

[CL 14874020 by geoff evans in ue5-main branch]
2020-12-07 17:51:46 -04:00
Jerome Delattre
bb9343019d Make sure path are fully qualified when coping artifact files with Gauntlet
#jira none
#rnx
#rb none

[CL 14874002 by Jerome Delattre in ue5-main branch]
2020-12-07 17:48:26 -04:00
Alexis Matte
ed3e1719ca Interchange Fbx skeletal mesh support phase 1
#rb richard.talbotwatkin
#jira UEENT-3853

[CL 14870441 by Alexis Matte in ue5-main branch]
2020-12-07 12:03:25 -04:00
Jerome Delattre
ee8b6387d8 # Simplify gauntlet report for Horde
Introduce Gauntlet.ITestReport interface
 - enable attaching artifact to report through ITestReport.AttachArtifact(string)
 - enable reporting errors and warnings to ITestReport

Deprecate CreateReport(TestResult, Context, Build, Artifacts, ArtifactPath) and favor to CreateReport(ITestReport)

Generate a simplified report for Horde Test Data

Better support copying artifacts with long path on Windows

#jira none
#rb Andrew.Grant

[CL 14859929 by Jerome Delattre in ue5-main branch]
2020-12-04 17:30:52 -04:00
Joakim Lindqvist
79dd070e7d Fixed path to UBT in Include Tool which broke when we moved UBT for net core.
#jira UE-103973

[CL 14855672 by Joakim Lindqvist in ue5-main branch]
2020-12-04 12:40:28 -04:00
Joakim Lindqvist
302f1f8ddd UBT can now filter out any project which requires dotnet support from the solution, which we do for VS2017 as it does not support Dotnet Core 3+
#rb ben.marsh

[CL 14855498 by Joakim Lindqvist in ue5-main branch]
2020-12-04 12:20:48 -04:00
Matt Kuhlenschmidt
cf8bbcede7 deprecate Slates EnableMenuAnimations api. This feature has been disabled and has not worked since 4.0. Turning it on by accient causes massive issues with menus.
[CL 14844960 by Matt Kuhlenschmidt in ue5-main branch]
2020-12-03 13:16:18 -04:00
Devin Doucette
5ca9fa38e0 Updated AutoSDK to allow unprivileged execution of the install/uninstall hooks when possible
#rb Josh.Adams

#ushell-cherrypick of 14843361 by Devin.Doucette

[CL 14843993 by Devin Doucette in ue5-main branch]
2020-12-03 11:37:32 -04:00
Joakim Lindqvist
be533b7d58 Brought back -nocompile and -compile options in UAT even if they are not used, to avoid erroring out when these gets forward by the batch file which will not remove already handled flags.
#jira UE-103979
#rb none

[CL 14842976 by Joakim Lindqvist in ue5-main branch]
2020-12-03 07:27:51 -04:00
Joakim Lindqvist
f55c77be93 Renamed UnrealBuildToolCore.sln to just UnrealBuildTool and updated with the new project names after we switched it over to net core.
[CL 14842956 by Joakim Lindqvist in ue5-main branch]
2020-12-03 07:21:06 -04:00
Joakim Lindqvist
e3307d5157 Changed pdb format to not use portable pdbs (which is the default in net core) and instead back to our old pdb configuration.
This resolves a issue with PCBs were pdbcopy failed to run because it does not support portable pdbs.

#rb none

[CL 14837800 by Joakim Lindqvist in ue5-main branch]
2020-12-02 15:29:59 -04:00
Joakim Lindqvist
017048f505 Changed pdb format to not use portable pdbs (which is the default in net core) and instead back to our old pdb configuration.
This resolves a issue with PCBs were pdbcopy failed to run because it does not support portable pdbs.

#rb none

[CL 14837521 by Joakim Lindqvist in ue5-main branch]
2020-12-02 14:54:53 -04:00
Josh Adams
b2e578ee68 - Fixed debugging AutomationTool in Visual Studio with netCore changes
#rb joakim.lindqvist

[CL 14836195 by Josh Adams in ue5-main branch]
2020-12-02 12:57:17 -04:00
Tim Smith
6f44d722dc Minor fix to how UBT is located. The ini file setting includes the Engine directory so the prefix path needed to be changed to root instead of engine.
#rb trival

[CL 14835862 by Tim Smith in ue5-main branch]
2020-12-02 12:25:00 -04:00
Joakim Lindqvist
e7039d3d35 UBT and UAT now use .NET Core instead of Framework and Mono. This means that we use the same runtime on Windows, Linux and Mac. Further benefits including newer C# features and a lot of intresting features for the future around AOT and Tiered compilation.
Some behavior changes:
Output paths - Both tools are now output to a subdirectory of Binaries/Dotnet, I believe most hardcoded paths have been fixed up but there may be tools that will fail because of this.
UAT Plugin Building - As .NET Core does not support AppDomain unloading, how we build the plugins has changed quite a bit, these are now built before UAT is started rather then by UAT itself. If you just start UAT via RunUAT.bat/sh this should just continue to work.

#rb ben.marsh

[CL 14834347 by Joakim Lindqvist in ue5-main branch]
2020-12-02 06:57:13 -04:00
Uriel Doyon
b9444f338f Added support for UVolumeTexture and UTexture2DArray streaming.
Texture 2D array streaming is implemented through FTexture2DArrayMipAllocator_Reallocate
Volume texture streaming is implemented through FVolumeTextureMipAllocator_Reallocate.
New generic stream out implementation in FTextureStreamOut.

Fixed different issues in FTexture2DMipDataProvider_IO relatively to optional bulks and IO errors.

Added UTexture::GetSurfaceDepth() for 3d textures.
Added UTexture::GetSurfaceArraySize() for array textures (where cubemaps return 6).

Moved UTexture2D::CancelPendingTextureStreaming() and UTexture2D::LevelIndex to UTexture.

Renamed UTexture2DArray::GetNumSlices() to UTexture2DArray::GetArraySize().

Fixed missing "virtual" keyword in base class UTextureMipDataProviderFactory.

Updated the texture editor UI so that it shows Texture2DArray array sizes and Texture3D depth.
Unified the UI for cubemaps so that it shows as an array with size 6.

Reimplemented "LODGroups" command to make it coherent with latest changes.

#rb jian.ru, danny.couture, matt.peters
#fyi mihnea.balta
#jira 	UE-97975, UE-81395, UE-102061, UE-84427

[CL 14832616 by Uriel Doyon in ue5-main branch]
2020-12-01 20:32:18 -04:00
Brandon Schaefer
b85212d00a Fix Linux for turnkey.
Assume p4 is in the $PATH somewhere

#jira none
#rb Josh.Adams

[CL 14831290 by Brandon Schaefer in ue5-main branch]
2020-12-01 17:42:21 -04:00
Zousar Shaker
af8655ef27 Prototype Wrapped Object Pointers (ObjectHandle/ObjectPtr)
Fix error encountered when using NativePointerUpgradeTool on UnrealEditor project and encountering a source file that is UTF8 encoded but lacking a BOM.

#rb devin.doucette

[CL 14828373 by Zousar Shaker in ue5-main branch]
2020-12-01 11:46:47 -04:00
Patrick Laflamme
1b65e55820 Logged ensures file/line/condition/message captured by CrashReportClientEditor in the analytic diagnostic log.
#rb Jamie.Dale

[CL 14823953 by Patrick Laflamme in ue5-main branch]
2020-11-30 17:56:19 -04:00