Commit Graph

950 Commits

Author SHA1 Message Date
Jason Bestimt
011680795f Merging //UE4/Main to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Unblocking robomerge

#RB:none

[CL 4524004 by Jason Bestimt in Dev-VR branch]
2018-10-30 11:00:11 -04:00
ben marsh
5a701625db Copying //UE4/Release-Staging-4.21 to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4502288 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4502301 by ben marsh in Dev-VR branch]
2018-10-24 11:55:58 -04:00
Ryan Vance
90d1459471 #rb none
Unblocking robomerge at 4468496

[CL 4475023 by Ryan Vance in Dev-VR branch]
2018-10-16 14:11:36 -04:00
jason bestimt
3d121a822b #CodeReview: jason.bestimt,nick.whiting,mike.beach,ryan.vance
Merge conflict.
jason.bestimt, please merge this change by hand.
More info at https://robomerge.epicgames.net#DEVVR

















































































































































































































































































































--------------------------------------
Copying //UE4/Release-Staging-4.21 to //UE4/Dev-Main (Source: //UE4/Release-4.21 [at] 4447256)

============================
  MAJOR FEATURES & CHANGES
============================

Change 4447256 by Joe.Graf

	Added a video settings field to the debug menu so you can see your choice

	#jira: UE-65026, UE-65017

Change 4446451 by Matt.Kuhlenschmidt

	Fix inline edit conditions not supporting undo

	PR #4854: UE-61432: Add FScopedTransaction to SetEditConditionState (Contributed by projectgheist)


	#jira UE-61432

Change 4446389 by Mieszko.Zielinski

	Fixed navmesh tiles AABB being calculated wrong for large agents #UE4

	#jira UE-65038

Change 4446171 by Matt.Kuhlenschmidt

	Fix crash resetting cascade distributions to default

	#jira UE-64458

Change 4446143 by Uriel.Doyon

	Re-worked fix from CL 4442729 to handle !SUPPORTS_INDEPENDENT_SAMPLERS

	#jira UE-64695

Change 4446071 by Jeff.Fisher

	Duplicating for 4.21 Change: 4446057 UE-64942 Material Switching in MRMesh
	-Fixed run time material switching on MRMesh
	#jira UE-64942

	Files:
	//UE4/Dev-VR/Engine/Source/Runtime/MRMesh/Private/MRMeshComponent.cpp#24
	//UE4/Dev-VR/Engine/Source/Runtime/MRMesh/Public/MRMeshComponent.h#16

Change 4445939 by Joe.Conley

	#jira UE-54503 - Transparency for textures applied to the spectator screen for VR

	Added a flag bUseAlpha that is checked in FDefaultSpectatorScreenController::RenderSpectatorModeMirrorAndTexture(), if (SpectatorScreenModeTexturePlusEyeLayout_RenderThread.bDrawEyeFirst).  It can be set with the SetSpectatorScreenModeTexturePlusEyeLayout Blueprint node.

Change 4445917 by Matt.Kuhlenschmidt

	Guarad against crash when destroying asset view items

	#jira UE-61108

Change 4445911 by Matt.Kuhlenschmidt

	Guard against null objects in asset editors

	#jira UE-64499

Change 4445574 by Wyeth.Johnson

	Kill volume cleanup, helper function for cone, edge case on pendulum
	#jira none

Change 4445472 by Matt.Collins

	UE-64680

	The new depth bounds optimization in PostAO doesn't work with MSAA. The AO target and depth buffer are different sample counts. Forcing this feature off for now.
	In the future if we want to turn it back on we will either have to resolve the depth buffer or increase the AO target sample count.

	#jira UE-64680

Change 4444917 by Bogdan.Vasilache

	UE-63963 - Fix FSystemTextures.InitializeTextures initialization ordering
	#jira UE-63963

Change 4444779 by andrew.porter

	QAGane: Updating focus so we can select UMG test button in TM-PlaybackControls

	#jira UE-29618

Change 4444678 by Richard.Wallis

	Clone of Dev-Rendering CL 4444343:

	Fix for eyedropper in the Color Picker window not grabbing any color values on Mac.  Bug also says Linux - unable to verify if its the same issue so kept change to Mac specific code.

	#jira UE-53789

Change 4444677 by Lauren.Ridge

	Context menu opening cancels a rename
	#jira UE-64525

Change 4444321 by Michael.Dupuis

	#jira none: uncomment the lazy obj ptr warning as the integration is completed

Change 4444288 by Simon.Tourangeau

	BP_SunPosition now has a soft ref to BP_SkySphere to prevent cross level referencing

	#jira UE-64607

Change 4444287 by JeanMichel.Dignard

	Copied 4442004 Daniel.Coelho

	Fix for being unable to trigger on variants from UMG blueprints

	#jira UE-64948

Change 4444105 by Mitchell.Wilson

	Saving assets to resolve UMeshDescription warnings
	#jira UE-64022

Change 4444080 by Ben.Marsh

	Fix path to Win64 DLLs when building DDC on Linux.

	#jira

Change 4444036 by Patrick.Boutot

	Fix crash when there are too many pending task in ImageWriteQueue.
	#jira UE-64991

Change 4443920 by Ben.Marsh

	Fix runtime dependencies not being enumerated for modules that aren't linked into a binary.

	#jira UE-65024

Change 4443889 by Ben.Marsh

	Copy Windows DDCUtils DLLs when building DDC for Linux on the Win64 host platform.

	#jira UE-64975

Change 4443882 by Ben.Marsh

	Fix CIS compile error in UE4Game HTML5.

	#jira

Change 4443531 by Nick.Shin

	#jira UE-65015  HTML5: Project Crashes During Launching Engine due to "Texture format 'R8G8B8A8_UINT' not supported"

	this solution was based on: UE-48208

Change 4443358 by Joe.Graf

	Changed the world mapping state conversion in ARKit to return NotAvailable, Mapping, Mapped

	#jira: UE-65023

Change 4443217 by Dan.Oconnor

	Fixed crash after hitting stop when in-stack-debugging
	Clear GPlayInEditorID when stopping PIE at a blueprint exception/breakpoint

	#jira UE-64895, UE-65005, UE-65008

Change 4443200 by Max.Chen

	Sequencer: Now accouting for frame rate when copying key tangents when converting from matinee to level sequence.

	#jira UE-65020

Change 4443062 by Dan.Oconnor

	Fixed crash when undoing after deleting a function graph that has a math expression node

	#jira UE-62134

Change 4442903 by Lauren.Ridge

	Allowing material graph nodes to have duplicate names in all cases except creating a new parameter from a constant
	#jira UE-64421

Change 4442878 by Joe.Graf

	Disabled the clion ignore file generation on Windows since it isn't supported correctly there

	#jira: UE-64871

Change 4442840 by Max.Chen

	Control Rig: Fix crash tearing down sequencer object spawner

	#jira UE-65013

Change 4442810 by Ethan.Geller

	Fix build for SoundVisualizations plugin: add const qualifiers for WaveInfo. #jira none #rb none #fyi aaron.mcleran

Change 4442769 by Brandon.Schaefer

	Linux: Use the size of our In Rect which is the size of our buffer rather then the size of the Texture which is not always the same size as the buffer

	#jira UE-64785
[at]Rolando.Caloca, [at]Arciel.Rekman

Change 4442758 by Dan.Oconnor

	"Assign [Delegate Name]" blueprint context menu entries now properly create a custom event node again
	#jira UE-65000

Change 4442729 by Uriel.Doyon

	Changed GetForwardDynamicShadowFactors implementation to use Texture2DSampleLevel instead of Load.
	This is because we sometime bind the GWhiteDummy when the light attenuation buffer is not required, which is a 1x1 texture.

	#jira UE-64695

Change 4442724 by Max.Chen

	Sequencer: Added back in ScrubHandleUp/Down for the VisualLoggerTimeSliderController to fix missing brush warning

	#jira UE-64994

Change 4442519 by Marc.Audy

	Avoid broadcasting events that could result in invalidating the array we're iterating.
	#jira UE-64959

Change 4442460 by JeanMichel.Dignard

	Fixed crash with VRED importer
	- DataTable wasn't counting its changes properly resulting in a failed check.

	#jira UE-64982

Change 4442216 by Ethan.Geller

	Unshelved from pending changelist '4438353':

	Ensure const correctness in USoundWave cook processing.

Change 4442191 by Mitchell.Wilson

	Updating min ios version to resolve warnings.
	#jira UE-64815

Change 4442124 by Arciel.Rekman

	Another fix for lock up on starting without audio devices (UE-64506).

	#jira UE-64506

Change 4442006 by Ben.Marsh

	Fix debug info being included for Lumin binaries on Mac.

	#jira UE-65002

Change 4441939 by Ben.Marsh

	Fix inability to package Mac targets from Windows.

	#jira UE-64148

Change 4441374 by tim.gautier

	QAGame: Resaved Niagara assets.
	Rebuilt lighting / resaved TM-ShaderModels
	#jira UE-29618

Change 4441369 by Rolando.Caloca

	UE4.21 - hlslcc - Fix UAV getting removed

	#jira

Change 4441347 by Michael.Dupuis

	#jira UE-63631: LOD Distribution settings, must be > 1.01 as otherwise 1/1 will not give correct result.

Change 4441132 by Dan.Oconnor

	Remove unused dtor

	#jira None

Change 4441108 by Dan.Oconnor

	Fix leaking entries for PLACEHOLDER classes in the new ClassToPlaceholderMap

	#jira UE-64971

Change 4441096 by tim.gautier

	Adding the VRMode_Ball asset for VRMode testing.
	#jira UE-29618

Change 4441093 by Ryan.Gerleve

	Fix the writer's size issue in the auth handler when requesting resends. This fixes packet over/underflows. Also make it so that dropall drops all of auth's packets as well.

	#Jira UE-63796, UE-64156

	#AUTOMERGE using branch //UE4/Dev-Networking_to_//UE4/Release-4.21 of change#4374419 by Jake.Leonard on 2018/09/18 15:41:48.

Change 4441065 by Ryan.Gerleve

	Fix using SetIp(uint) on an IPv6 only platform so that both cases are handled properly. Should contain the same flow as the IPv6 framework.

	#Jira UE-64129

	#AUTOMERGE using branch //UE4/Dev-Networking_to_//UE4/Release-4.21 of change#4374299 by Jake.Leonard on 2018/09/18 15:23:37.

Change 4441052 by Ben.Zeigler

	#jira UE-64446 Fix crash on cooked devices when using GameplayCues but not explicitly setting a manager
	It is unsafe to reference dynamic objects from a CDO so spawn an instance of the default class

Change 4441042 by Ryan.Gerleve

	Remove the bForceUDP from the new CreateSocket signature. This is an argument that came in from UE3 and is not supported. It should not continue to exist anymore.

	#Jira: UE-63879

	#AUTOMERGE using branch //UE4/Dev-Networking_to_//UE4/Release-4.21 of change#4356623 by Jake.Leonard on 2018/09/10 20:35:09.

Change 4441005 by Ben.Zeigler

	#jira UE-64446 Call InitGlobalData from ActionRPG sample and set up path for cue notifies. All projects using abilities should do this

Change 4440944 by Ryan.Gerleve

	Because addrconfig is not supported on HTML5. This is not documented anywhere, so any query with the flag will just be removed from any queries.

	#Jira UE-63791

	#AUTOMERGE using branch //UE4/Dev-Networking_to_//UE4/Release-4.21 of change#4356538 by Jake.Leonard on 2018/09/10 19:35:29.

Change 4440912 by Ryan.Gerleve

	Skip lobbies we are already a part of when generating matchmaking results. This allows us to not try to fetch data on ourselves.

	#Jira UE-63543

	#AUTOMERGE using branch //UE4/Dev-Networking_to_//UE4/Release-4.21 of change#4356532 by Jake.Leonard on 2018/09/10 19:34:39.

Change 4440861 by Ben.Zeigler

	#jira UE-61890 Fix XGE shader compilation on newer incredibuilds by checking registry for path

Change 4440850 by Michael.Dupuis

	#jira UE-62426: Reset InstanceCountToRender if the static mesh is valid or we have no instances

Change 4440514 by Ben.Marsh

	Add additional info to comment around optimization being disabled due to codegen bug.

	#jira

Change 4440501 by Ben.Zeigler

	#jira UE-64971 Fix resolving export tracker to clean itself up after resolving. This fixes the immediate crash, but there may be another way it can end up crashing so this needs further investigation as the structure is unsafe

Change 4440479 by Rex.Hill

	Fix debug hud not rendering when swapping between PIE/SIE modes
	#jira UE-64704

Change 4440447 by Joe.Graf

	Rename/move AR samples

	#jira: UE-64944

Change 4440338 by Joe.Graf

	Cleaned up leftover files from the bad 4.20->Dev-VR merge

	#jira: UE-64957

Change 4440318 by Joe.Graf

	Fixed the bad asset merge that happened from 4.20 back to Dev-VR

	#jira: UE-64957

Change 4440237 by Ben.Zeigler

	#jira UE-64960 Disable validating data dialog when saving, and ony show if > 0.1 seconds

Change 4440157 by Mieszko.Zielinski

	Fixed a bug in how UNavModifierComponent handles FKConvexElems #UE4

	#jira UE-60987

Change 4440017 by Mitchell.Wilson

	Saving SunlightColorLUT in KiteDemo to resolve warnings.
	#jira UE-64744

Change 4439856 by Jurre.deBaare

	Crash when trying to "Update Mesh Section" on any procedural mesh just after "Clear Mesh Section" and "Create Mesh Section" for different vertices and triangles.
	#fix Ensure that we recreate the scene proxy whener a mesh section is updated with a larger amount of vertices than original, this will reinit the vertex buffers to the correct sizes
	#jira UE-60607

Change 4439831 by Ben.Marsh

	Fix ClangEditor CIS warning.

	Change MSVC_PRAGMA to not be defined when compiling using Clang on Windows. Also add a link to bad codegen report on Microsoft's developer forum for an instance of optimization being disabled.

	#jira

Change 4439828 by mason.seay

	Added variable to blueprint

	#jira UE-29618

Change 4439763 by Jurre.deBaare

	#jira UE-62048
	PR #4892: HLOD System: Fix crash when static mesh has no valid material (Contributed by user37337)
	#fix slightly modifier fix

Change 4439731 by Joe.Graf

	Rename/move AR samples

	#jira: UE-64944

Change 4439715 by Cosmin.Sulea

	UE-64937 - IphonePackager cannot verify UDID on new devices (XS or newer)
	#jira UE-64937

Change 4439697 by Wyeth.Johnson

	Metadata errors and fixes
	#jira none

Change 4439658 by Michael.Dupuis

	#jira UE-63831: Added some guard to prevent the crash

Change 4439605 by Michael.Dupuis

	#jira UE-53944: Added some asserto help track what could be happening in this case

Change 4439516 by Ben.Marsh

	UBT: Set the permissions on directories containing scripts to be executed as part of remote builds.

	#jira UE-64860

Change 4439395 by Michael.Dupuis

	#jira UE-63637: When doing migration from 4.18, if the data was in a BP, use a Reset instead of a Reserve, as otherwise we will end up with twice the amounf of instances.

Change 4439197 by Michael.Dupuis

	#jira UE-63242
	#jira UE-63123:
	Integrate from Dev-Editor branch

Change 4439162 by Mieszko.Zielinski

	Made sure NavigationSystemConfig respects GEngine->NavigationSystemClassName #UE4

	#jira UE-62991

Change 4439106 by Cosmin.Sulea

	UE-64603 - Android Devices do not show up in device list for Device Output Log
	#jira UE-64603

Change 4438283 by Ben.Zeigler

	#jira UE-63825 Integrate pull request:
	PR #5073: Implement LoadGameFromMemory function. (Contributed by KelbyG)

Change 4438242 by Ben.Zeigler

	Test case for #jira UE-63705. To verify, open WeakReferencedPrimaryAsset and note that the UntrackedMeshPtr is set to AT_StaticMesh.
	Then, right click and show references, that mesh should NOT show up, as it is marked as Untracked via metadata

Change 4438238 by Ben.Zeigler

	#jira UE-63843 Temporary fix for Visual Studio 2017 compile bug causing crashes in Audio Mixer code

Change 4438237 by Ben.Zeigler

	#jira UE-64770 Fix bug where AssetManager could fail to call delegates in sync load mode

Change 4438236 by Ben.Zeigler

	#jira UE-64466 Fix issues with debug builds with ENABLE_NAN_DIAGNOSTIC and TransformNonVectorized, it's not safe to use the FVector constructor as it will always ensure. Also unified checks with the vectorized version to be consistent

Change 4438234 by Ben.Zeigler

	#jira UE-63705 Add full support for Untracked soft object references, enable by adding that tag to the metadata for a property or using FSoftObjectPathSerializationScope with NeverCollect
	If set the references will not be automatically cooked, reported to the asset registry, or cause warnings when deleting a referenced actor
	They are meant to be used for cases where they are just used as a lazy cache, such as things converted from FLazyObjectPtr
	The reference from Foliage to it's base actor is now an Untracked SoftObjectPtr instead of a LazyPtr

Change 4437969 by Michael.Lentine

	Fix gpu skin cache with multiple cloth sections.

	#jira ue-62951

Change 4437907 by Joe.Graf

	Rename/move AR samples

	#jira: UE-64944

Change 4437901 by Mikey.Boyd

	Resaved QA-Promotion and TM-ShaderModels to clear up warnings for Linear Color Curves in UE-64949.

	#jira UE-29618

Change 4437877 by Dan.Oconnor

	Guard against double-queuing in Macro BP gather phase

	#jira None

Change 4437615 by Sorin.Gradinaru

	UE-64624 App fails to open when packaged for Distribution - Android
	#jira UE-64624
	#Android
	#4.21

	As Chris.Babcock mentioned, this is caused by an app pause event triggered when the obb downloader starts and puts the activity in background. Adding a flag to ignore the first app pause in this situation.

Change 4437541 by Andrew.Porter

	QAGame: Updating location of an animation so it can be visiblty in the sequence

	#jira UE-29618

Change 4437078 by Mitchell.Wilson

	Updating lerp tooltip based on updates by Sam Deiter.
	#jira UEDOC-8219

Change 4436943 by Bogdan.Vasilache

	UE-61698 - Android + Mouse: Hover events and Get Mouse Position on Viewport not working
	#jira UE-61698

Change 4436915 by Dan.Oconnor

	Remove debugging hook accidentally added in 4235135

	#jira None

Change 4436204 by Joe.Graf

	Switched the AREnvProbe sample to Metal 2.1 to fix the z-fighting that happens in 2.0 and below

	#jira: UE-64932

Change 4435856 by Arciel.Rekman

	Fix CIS (UE-64925).

	#jira UE-64925

Change 4435811 by Mark.Satterthwaite

	Sort out the way we report R11G11B10 support for Metal so that it should work correctly on iOS & tvOS.

	#jira UE-64905

Change 4435783 by Brandon.Schaefer

	libvpx: Rebuild on centos7

	#jira UE-64887

Change 4435710 by Thomas.Sarkanen

	Fixed crash drag-dropping a variable onto a state machine

	#jira UE-64539 - [CrashReport] UE4Editor-CoreUObject.dylib!CastLogError()

Change 4435694 by Andrew.Grant

	Removed some stale Orion tests

	#jira UE-64857

Change 4435662 by Ben.Marsh

	Rework the way that custom icons are used on Windows.

	* For code projects, the custom icon is embedded into the resource when compiled from UBT. This ensures the custom icon is set even before packaging, and removes the need for a deployment step.
	* For content projects, the custom icon is set after packaging using the previous method.

	#jira UE-64527

Change 4435599 by Michael.Lentine

	Avoid crash with null materials

	#jira ue-64819

Change 4435596 by Michael.Lentine

	Account for the case where skeletal mesh doesn't exsit in the component body setup.

	#jira ue-63104

Change 4435563 by Brandon.Schaefer

	SDL2: Fix pointer barriers on resize/move and multimonitor

	Part of this change is from PR 5041 (thanks yaakuro)

	#jira UE-60461, UE-63372

Change 4435557 by Michael.Lentine

	Allow for non uniform scaling in some of the capsule functions.

	#jira ue-59651

Change 4435518 by Mitchell.Wilson

	Saving two assets to resolve empty engine version warnings in RemoteSessionApp
	#jira UE-64747

Change 4435416 by Robert.Manuszewski

	Fixing a Cook On The Fly server crash when an asset that has been requested by the client is missing from the server

	#jira UE-64616

Change 4434780 by Uriel.Doyon

	Fixed Niagara proxy rendering in ES2 while the shaders are not available.

	#jira UE-64666

Change 4434758 by Joe.Graf

	Fixed the use of deprecated NSKeyedArchiver and NSKeyedUnarchiver methods

	#jira: UE-64913

Change 4434757 by Joe.Graf

	Removed invalid plugins that were specified for the AR samples

	#jira: UE-64914

Change 4434497 by Joe.Graf

	Fixed incomplete merge of ARSharedWorld sample

	#jira:  UE-64673

Change 4434281 by Joe.Conley

	#jira UE-63793 - ARKit Crash with Session Type: Image

	Removing error logging since it's also getting logged higher up in the callstack.

Change 4434250 by Joe.Conley

	#jira UE-63793 - ARKit Crash with Session Type: Image

	Instead of an assert (and thus crash) if Session Configuration is null (which happens if device/os doesn't support ARKit 2.0), just print out an error to the log and keep running.

Change 4434173 by Aaron.McLeran

	Fix for audio device shutdown

	-- Actually, need to make sure the flush code doesn't execute on platforms without threads. This will still fail on HTML5

	#jira UE-64619

Change 4434112 by Aaron.McLeran

	Bug fix pausability

	- Pausing sound while stopping can cause a crash when updating the sound

	#jira none

Change 4433986 by Michael.Lentine

	Avoid dereferencing null.

	#jira ue-63593

Change 4433954 by Michael.Lentine

	Use correct enable flag.

	#jira ue-64801

Change 4433867 by Uriel.Doyon

	Fixed integration issue from Niagara with "Collision Query" module

	#jira UE-64906

Change 4433779 by Dan.Oconnor

	Mirror 4379405 from Dev-Framework
	Add flags to track bMarkedObjectsPendingKill and bCleanedUpWorld to ensure that sublevels are cleaned up properly

	#jira UE-64227

Change 4433771 by Dan.Oconnor

	Mirror 4365800 from Dev-Framework
	Avoid marking a blueprint as modified when the compiler renames a graph

	#jira UE-63942

Change 4433763 by Dan.Oconnor

	Mirror 4363197 from Dev-Framework
	Perform a placeholder resolve pass immediately after the CDO has been serialized

	#jira UE-62928

Change 4433716 by Chris.Bunner

	#author Bogdan.Vasilache
	Comitting shelf 4433043 for UE-64237.

	#jira UE-64237

Change 4433609 by Uriel.Doyon

	Fixed how UNiagaraDataInterfaceCurlNoise release its render resource by adding a release command in BeginDestroy.

	#jira UE-64898

Change 4433524 by zak.parrish

	Final functionality for AR SaveLoad now in place. Just needs cleanup/commenting and About screen
	#JIRA UE-64681

Change 4433512 by Christina.TempelaarL

	Mirror 4373989 from Dev-Editor.
	Cascade: Copy particle emitter properties when invoking Duplicate Emitter or Export Emitter in the Cascade editor.
	#jira UE-63856

Change 4433328 by Chris.Babcock

	Fix ConfigRules.jar parsing for Linux line endings

	#jira UE-64892
	#ue4
	#android

Change 4433279 by Zachary.Wilson

	Switching DoF methods for PostProcess volumes in QA_PostProcessing and TM_Showflags_LightingFeatures.
	#jira UE-64659

Change 4433092 by Dan.Oconnor

	Fix missing include

	#jira None

Change 4433046 by Michael.Lentine

	Renamed command to relfect actual behavior.

	#jira ue-55368

Change 4433024 by Ben.Marsh

	PR #5154: Prevent crunch_x64.exe from showing in Git commit changes (Contributed by projectgheist)


	#jira

Change 4432990 by Wyeth.Johnson

	Fixing issues related to particle mass and gravity
	#jira none

Change 4432979 by Uriel.Doyon

	Fixed DOF when enabling Pre-Exposure
	Added units to the intensity property of point, spot, rect, directional and sky lights.
	Refactored the VisualizeHDR so that it shows the HDR view is a PIP on top of the main render.
	Fixed PixelInspector results being affected by pre-exposure.
	Added a pre-exposure output value to the PixelInspector.
	Moved ExposureCompensation to the Exposure tab in post-process settings.
	Changed max slider intensity for directional light to be in 120 000 lux
	Changed max slider intensity for sky light to be in 50 000 cd/m2
	Non bUseInverseSquaredFalloff point lights now have their units forced to ELightUnits::Unitless
	Moved light units to advanced display, now that the unit is embeded in the Intensity property
	Added Candela, Lux and CandelaPerMeterSquared units to the engine units
	Fixed meta data properties to support the "Units" keyword.

	#jira UE-64881

Change 4432953 by Chris.Gagnon

	CL 4356067 copied to Release-4.21
	#jira UE-63861

Change 4432934 by Chris.Gagnon

	CL 4399650 copied to Release-4.21
	#jira UE-64070

Change 4432913 by Dan.Oconnor

	Mirror 4363175 from Dev-Framework
	Reuse subobjects during archetype reinstancing path

	#jira UE-59135

Change 4432901 by Michael.Lentine

	Adding missing counter.

	#jira ue-59969

Change 4432895 by Dan.Oconnor

	Mirror 4344890 from Dev-Framework
	Make FObjectFinder visibile to reference collectors and properly replace subobjects on the CDO. This fixes instability after reloading the FirstPersonCharacter blueprint
	#jira UE-54419, UE-63061

Change 4432805 by Uriel.Doyon

	Fixed error when compiling some Niagara GPU particles
	#jira UE-64885

Change 4432789 by Michael.Lentine

	Fix comments.

	#jira 58064

Change 4432766 by Ben.Marsh

	Fix issues with mismatched solution/project configurations.

	* Every C++ project now has an "invalid" configuration. Trying to build any solution configuration which does not apply to the project will now build that, which prints an error rather than building a completely different configuration.
	* Available configurations are now parsed from C# files, so the "Release" configuration will now be used if "Development" is not available, and platforms are supported correctly.
	* Programs are now built in game and editor configurations.

	#jira UE-59288

Change 4432649 by Michael.Lentine

	Resize Temp instead of Out.

	#jira ue-62919

Change 4432540 by Chris.Bunner

	[Duplicating 4432262] - HLOD visibility state is now cleared when not in use.
	#jira UE-64432

Change 4431926 by Chad.Garyet

	Integrating changes from dev-build over to release-4.21
	- Add win64 host support to DDC Group Linux
	- Change project params split to remove empty entries
	- Change BuildDerivedDataCache to skip building a feature pack if there are no project specific platforms for it out of the available targetplatforms
	#jira UE-62311

Change 4431602 by Simon.Therriault

	Merging MediaBundle fix

	#jira UE-64853

Change 4431481 by Brandon.Schaefer

	Linux: Break grabs and bring down pointer barreirs when we have crashed

	#jira UE-63981

[at]Arciel.Rekman

Change 4431456 by Jules.Blok

	Merging CL 4428447 from Dev-VR - Update the WMR plugin for Dev-Rendering changes.

	#jira UE-64507

Change 4431310 by Robert.Manuszewski

	Fixed a crash when setting the initial size of the disregard for Garbage Collection pool to a value greater than 66560.

	#jira UE-64844

Change 4431307 by Sorin.Gradinaru

	UE-64749 App crashes on device when a Widget Blueprint in use contains a Web Browser widget

	#jira UE-64749
	#Android
	#iOS
	#4.21

	Moving SharedThis(this) out of the WB Window's constructor

Change 4431161 by Robert.Manuszewski

	Fixing CIS

	#jira none

Change 4431153 by Sorin.Gradinaru

	UE-63263 Startup movies are not playing on tvOS

	#jira UE-63263
	#4.21
	#tvOS

	Startup movies need AppleMoviePlayer.uplugin, which was never enabled for tvOS.
	Same behavior as an iPhone/iPad, slightly stuttering at first run, plays fine afterwards

Change 4430958 by Matt.Collins

	Returns the default context from GetCurrentContext if none is set. Fixes crash in UE-64369. This is probably not 100% correct - we should fix all the cases where GetCurrentContext is called and a context is not set.

	#jira UE-64369

Change 4430862 by Matt.Collins

	Turning GPU Command Buffer timing back on. Enables correct profiling.

	#jira UE-64841

Change 4430813 by Marcin.Undak

	Linux: fixed editor launch with no audio device

	#jira UE-64506

Change 4430783 by Ben.Marsh

	Include Mac build files on Windows (eg. shell scripts, mono) to support remote compilation.

	#jira UE-64684

Change 4430761 by Ben.Marsh

	Fix issues with running DsymExporter remotely from a PC, and reorder engine filters to reduce the amount of junk which has to be re-transferred every time.

	#jira UE-63883

Change 4430445 by Chris.Gagnon

	Copy of CL 4416373
	Extend GCompilingBlueprint lifetime to include BroadcastBlueprintReinstanced when compiling synchronously

	#jira None

Change 4430103 by Ben.Marsh

	Make sure Newtonsoft is included in the installed engine build. (Also ignore *.build.cs that aren't enumerated from the targets we build; they won't be usable)

	#jira UE-64777

Change 4430050 by Ben.Marsh

	PR #5151: Fix BuildPlugin automation command to include Shaders folder (Contributed by pluranium)


	#jira UE-64781

Change 4430037 by Ben.Marsh

	UBT: Fix generating and checking for UHT manifest in the wrong location. If a target does not have a script plugin, the manifest should not be stored in the project binaries directory.

	#jira

Change 4430035 by Alexis.Matte

	Port a fix from cl: 4366690
	Fix the material ID when creating generating reduce LODs from a mesh where the materials was re-order to the FBX order.

	#jira UE-64028

Change 4429730 by Ryan.Vance

	#jira UEVR-1322

	Instead of tearing down and spinning up the render thread / rhi thread pipeline on pause, simply disable and enable rendering.
	This leaves the rendering infrastructure intact, but with no work to do.

Change 4429709 by Ryan.Vance

	#jira UE-64289

	Distortion correct mesh generation needs to happen on the render thread.

Change 4429690 by Ryan.Vance

	#jira UE-63538

	From 4.20.3 hotfix: 4333358
	Test render target texture size if available to ensure we don't do an extra upscale when not needed.
	The render target size is not updated when the backing render target texture is reallocated.

Change 4429671 by Ryan.Vance

	#jira UE-63333

	Lumin needs task threads to avoid saturating a single core. Reverting to previous task thread behavior for lumin.

Change 4429489 by Mitchell.Wilson

	Saving curve assets to resolve warnings.
	#jira UE-64744

Change 4429160 by Wyeth.Johnson

	First pass at integrating mass as a first class citizen. This includes solver changes, a new gravity force, and updates to a number of other force modules and templates
	#jira none

Change 4429064 by Mitchell.Wilson

	Updating default iOS version to 10 in samples and templates
	#jira UE-64815

Change 4428944 by Michael.Trepka

	Fixed issues with cursor locking on window activation on Mac

	#jira UE-13768

Change 4428879 by Ben.Marsh

	Fix error generating dsyms on Mac through the remote toolchain.

	#jira UE-63883

Change 4428729 by Ben.Marsh

	Fix warning about missing expat libs when generating projects from installed build on Mac.

	#jira UE-64740

Change 4428710 by Dan.Oconnor

	When recompiling a blueprint macro library we now do a full compile of all dependent blueprints

	#jira UE-63284

Change 4428331 by frankie.dipietro

	Update TM-FocusPriority to utilize a looping Music file

	#jira UE-29618

Change 4428295 by Rex.Hill

	Fixed debug hud not drawing during simulate in editor
	#jira UE-64704

Change 4428255 by Zachary.Wilson

	Removing Bokeh and Gaussian DoF tests that were displaying a warning
	#jira UE-64659

Change 4428236 by Andrew.Rodham

	Sequencer: Fixed edge case where equvalent range bounds were not considered equal

	#jira UE-64742

Change 4428210 by zak.parrish

	#JIRA UE-64681

	Getting proper save reporting in place on AR Save Load

Change 4428146 by Ben.Marsh

	Fix CIS error.

	#jira

Change 4428046 by Chris.Babcock

	Fix bad merge

	#jira UE-64784
	#ue4
	#android

Change 4427865 by Ben.Marsh

	Add missing include causing CIS error.

	#jira

Change 4427846 by Ben.Marsh

	When we detect a hang and send an ensure crash report, include the callstack of the thread that hung.

	#jira UE-63982

Change 4427716 by Peter.Sauerbrei

	deprecate IOS 9
	#jira UE-64018

Change 4427575 by Cody.Albert

	Fixed ShooterGame best score logic

	#jira UE-64514

Change 4427537 by Frank.Fella

	Niagara - Disable the houdini plugin in engine test since we're not actively testing it and it's causing lots of cooking problems.
	#jira UE-64736

Change 4427273 by Stefan.Boberg

	PR #5123: Small typo in Engine.h (Contributed by Vatyx)


	#jira UE-64496

Change 4427126 by Simon.Tovey

	Merging from Dev-Niagara 4427076

	Fix for static analysis warnings.

	#jira UE-64717

Change 4427014 by Simon.Therriault

	Fix for MediaFrameworkUtilities plugin

	#jira UE-64774

Change 4426983 by Ben.Marsh

	Remove natvis file from UE4 project.

	#jira

Change 4426920 by Sorin.Gradinaru

	Unshelved from pending changelist '4398174':

	UE-54804 Graphical stuttering for weapon model on Lenovo S939 in First Person Template Project

	#jira UE-54804
	#Android
	#4.21

	The bug was generated by CL3840215 - the fix for UE-53592: Assertion right after rendering scene on Lenovo S939. I've retested UE-53592 on my side and it's OK.

	Also, when building a sample (eg. First Person) on //Dev-Main, the game crashed at start with:
	D/UE4 (22619): Assertion failed: glProgramParameteri [File:C:/Work/UE4_Main/Engine/Source/Runtime/OpenGLDrv/Private\Android/AndroidOpenGL.h] [Line: 479]

Change 4426571 by Ben.Marsh

	Fix UAT compile error.

	#jira

Change 4426569 by Ben.Marsh

	UnrealVS: Fix single-file compile not working for foreign projects where the engine folder contains a space.

	#jira UE-64752

Change 4426529 by Ben.Marsh

	Various fixes/improvements to program plugins.

	* Runtime plugins are no longer loaded for every program (as was the case in 4.20)
	* If a module is whitelisted for a specific program, it will be enabled regardless of whether the Type is  "Program" or not.
	* The bCanBeUsedWithUnrealHeaderTool flag in the plugin descriptor is now translated into support for the "UnrealHeaderTool" program on load.
	* Restored support for the RuntimeAndProgram module type.
	* Plugins are now enabled in UHT by passing the project on the command line, rather than passing explicit plugins to enable.

	#jira UE-64247, UE-64595

Change 4426481 by Jeff.Fisher

	UE-64597 //UE4/Release-4.21 - Build DDC Win64 - BP_DebugMenu has been saved with empty engine version
	-resaved
	#jira UE-64597

Change 4426400 by Ben.Marsh

	Fix extra blank line at the end of ManagedProcess output.

	#jira UE-64780

Change 4426398 by Arciel.Rekman

	Linux: fix ARM server build (UE-64775).

	#jira UE-64775

Change 4426126 by Dan.Oconnor

	Harden EdGraphPin serialization

	#jira UE-64500

Change 4426071 by Dan.Oconnor

	Added logging to Blueprint merge operation
	#jira UE-58891

Change 4426061 by Phillip.Kavan

	Fix for an EDL runtime assertion on load when constructing the CDO for a nativized Blueprint class that contains an instanced object reference of another nativized Blueprint class type that references an instance of a non-nativized Blueprint class as a nested, class-owned subobject.

	- Mirrored from //UE4/Dev-Framework (4413311).

	#jira UE-62514

Change 4426031 by Phillip.Kavan

	Fix potential data loss in inherited SCS component default value overrides at runtime in a cooked build for an instance of a non-nativized child Blueprint class that inherits from a nativized parent Blueprint class.

	- Mirrored from //UE4/Dev-Framework (4365827).

	#jira UE-63757

Change 4425975 by Phillip.Kavan

	Fix potential CDO validation failures at cook time during the C++ code generation pass when Blueprint nativization is enabled.

	- Mirrored from 4371073.

	#jira UE-63647

Change 4425952 by Chris.Babcock

	Add notification channel for Android 26 compatibility

	#jira UE-62741
	#ue4
	#android

Change 4425916 by Dan.Oconnor

	Added logging to package reloading
	#jira UE-63834

Change 4425857 by Rolando.Caloca

	UE4.21 - FIx crash on html5

	#jira UE-64690

Change 4425808 by Jeff.Fisher

	Merging using Dev-VR_to_Release-4.21 Change: 4425273 UEVR-1333 MRMesh normals problems
	-Normals should not be world scaled.
	#jira UEVR-1333

	Files:
	//UE4/Dev-VR/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/MeshTrackerComponent.cpp#13

Change 4425722 by Rolando.Caloca

	UE4.21 - Android compile fix

	#jira

Change 4425408 by Phillip.Kavan

	Fix UBT warnings when building/packaging with Blueprint nativization enabled.

	- Mirrored from //UE4/Dev-Framework (4352144).

	#jira UE-62946, UE-63311

Change 4425238 by frankie.dipietro

	Update TM-FocusPriority so that tests may utilize 8 audio channels

	#jira UE-29618

Change 4425232 by Jamie.Dale

	Fixed crash when re-pointing an object referenced in Python

	#jira UE-64363

Change 4425194 by Phillip.Kavan

	Support a proper fallback to construct any native 'noexport' struct-typed literal term in a nativized Blueprint class.

	- Mirrored from //UE4/Dev-Framework (4347635).

	#jira UE-63364

Change 4424786 by Brian.Zaugg

	Add support for new iOS UserNotifications framework, enabled if min iOS version is set >= 10.

	#jira UE-51041, UE-59178

Change 4424584 by Ben.Marsh

	Include the Visual Studio .natvis file as a solution item, to fix problems with VS2017 15.8.5 not finding it in a makefile project.

	#jira UE-64733

Change 4424410 by Max.Chen

	Sequencer: Fix deprecation

	#jira UE-48190

Change 4424364 by Frank.Fella

	Niagara - Fix static analysis for SItemSelector.h - Preflight passed.
	#jira UE-64719

Change 4424291 by Shaun.Kime

	Volume texture work should not be pulled over from Dev-Niagara yet
	#jira UE-64756

Change 4424021 by Jason.Bestimt

	Merging CL 4401151 from Dev-VR - Adding destructor to SoundPresets

	#JIRA:none

Change 4423955 by Brandon.Schaefer

	Linux: Add a timer when we lose focus to check if we have lost application focus

	#jira UE-63931

Change 4422974 by Robert.Manuszewski

	Fixing CIS

	#jira UE-64741

Change 4422709 by Jason.Bestimt

	Merging CL# 4419752 from Dev-VR - Fixes to prevent audio from crashing on exit

	#JIRA: none

Change 4422691 by Jamie.Dale

	Fixing localization warnings

	Added support for gathering from the newly added UI_COMMAND_EXT macro

	#jira

Change 4422394 by Sorin.Gradinaru

	UE-64066 TM-Gameplay Load Game does not work on TVOS

	#jira UE-64066 TM-Gameplay Load Game does not work on TVOS
	#tvOS
	#4.21

	Blocker: GRHIHDRDisplayOutputFormat must have a default value for tvOS (PF_B8G8R8A8, just like mac or ios for non-hdr). The issue appeared at CL4092793 [at] //UE4/Dev-Rendering, 5/24/2018

Change 4422285 by Jamie.Dale

	Fixing localization warnings

	#jira

Change 4421911 by Chris.Babcock

	Fix issues with LLDB data formatters with 2 byte characters

	#jira UE-64737
	#ue4

Change 4421833 by Wyeth.Johnson

	#jira 64735
	Sample Skel Mesh refactor to fix it not initializing, still bugged for vertex colors

Change 4421316 by Jamie.Dale

	Fixing localization warnings

	#jira

Change 4421223 by Ben.Marsh

	Add an experimental setting to enable support for long paths in the content browser.

	#jira

Change 4421197 by Jamie.Dale

	Fixing localization warnings

	#jira

Change 4421191 by Jamie.Dale

	Fixing localization warnings

	#jira

Change 4421179 by Rolando.Caloca

	UE4.21 - Vulkan - Add missing viewport resize function
	- Separate num buffers per usage

	#jira

Change 4420955 by Michael.Trepka

	Ignore tooltips and cursor decorator windows when determining the window under cursor on Mac

	#jira UE-64645

Change 4420323 by Robert.Manuszewski

	Reimplementing CL #4402016 from Dev-Core:

	Fixed cooked materials not working in the editor

	#jira UE-64389

Change 4420227 by Rex.Hill

	Fix USD Linux compiler warning

	#jira UE-63658

Change 4420198 by Ben.Marsh

	UBT: Detect changes to source directories and invalidate the makefile if they are newer. Forces the makefile to be rebuilt when files are added or removed.

	#jira UE-42601

Change 4420194 by Mitchell.Wilson

	Saving color curve assets to resolve warnings.
	#jira UE-64724

Change 4419740 by Jamie.Dale

	Don't force LocRes files to always use Unicode strings

	The automatic Unicode detection works just fine for them, and changing this can produce considerably smaller (up-to 50% smaller!) LocRes files

	#jira

Change 4419728 by Mikey.Boyd

	Updating TM-MaterialAttributes map and MaterialAttributes_Widget for cleaner testing of UEQATC-3497. Set the level to the default GameMode, updated the level blueprint, and disabled interaction with the widget bp.

	#jira UE-29618

Change 4419646 by Ben.Marsh

	UBT: Determine the correct user directory when remote compiling on Mac, rather than inferring it from the user name. The user name can be changed after an account is created.

	#jira UE-64071

Change 4419529 by Jules.Blok

	Merging CL 4323685 from Dev-VR - Fix GLES occlusion queries when HDR is disabled.
	Add occlusion query support for Multi-View.
	Add ShowFlag to visualize occlusion query bounding meshes.

	#jira UE-62347

Change 4419528 by Jules.Blok

	Merging CL 4323400 from Dev-VR - Remove StereoPair in favor of visibility map merging introduced in CL 4036044

	#jira UE-62738

Change 4419525 by Stefan.Boberg

	Reduce CPU usage for Cook-on-the-fly server by not busy-waiting for assets to cook.

	Added an event which is signaled when a network request has been received. The main COTF loop blocks on this event when the cook request queue is empty. This reduces CPU usage while keeping the request latency low.

	#jira UE-51348
graeme.thornton, martin.ridgers

Change 4419034 by Ben.Marsh

	Allow plugins specified on the command line to override engine plugins.

	#jira UE-64685

Change 4419015 by Frank.Fella

	Niagara - Fix linux compile error from CL 4418815.
	#jira UE-63379

Change 4418931 by Frank.Fella

	Niagara - Fix Win32 compile issue caused by cl 4418639
	#jira UE-61823

Change 4418887 by Frank.Fella

	Merging from Dev-Niagara all plugin content updates.
	#jira UE-64711

Change 4418883 by Uriel.Doyon

	Fixed GPU emitters not being ticked correctly on the renderthread.

	#jira UE-64710

Change 4418817 by Chris.Babcock

	Fix for x86 and x86_64 Android architectures with NDK14b

	#jira UE-64708
	#ue4
	#android

Change 4418815 by Frank.Fella

	Merging from Dev-Niagara 4399353 for nicholas.goldstein

	Improve discoverability of and navigability to parent Emitters in Systems
	#jira UE-63379

Change 4418709 by Frank.Fella

	Merging from Dev-Niagara 4397394 for nicholas.goldstein

	Add missing entries and param creation subcategory to Set Variables module.
	#jira UE-63373

Change 4418639 by Frank.Fella

	Merging from Dev-Niagara 4360525, 4360676, 4364096 for Simon.Tovey

	Some compile time optimizations

	- Moved large map of hlsl keyword replacements from C++ to ini file to improve compile times.
	- Now not using templates to handle input parameters to data interface. Now taking a bit from the bytecode offset to denote constant vs register.
	- As well as improving compile times, this also makes DIs far easier to write and maintain so I've rolled out to all DIs. Has no affect on perf.
	- Moved some things into the VectorVM namesspace.

	#jira UE-61823

Change 4418333 by Mark.Satterthwaite

	Fix incorrect usage of a CFDictionary passed into IOServiceGetMatchingServices which releases it for us. #rb none #jira UE-62569

Change 4418323 by zak.parrish

	Checking in files for SaveLoad - almost done. Need to update save status and do the helpAbout screen
	#JIRA UE-64681

Change 4418307 by Frank.Fella

	Merging from Dev-Niagara 4357655 for nicholas.goldstein

	Fix various capitalization inconsistencies in niagara stack menus
	#jira UE-63371
	#jira UE-63446

Change 4418242 by Frank.Fella

	Merging from Dev-Niagara 4356331 for nicholas.goldstein

	Add Spacer between Event Handler header row and added Event Handler properties
	#jira UE-63390

Change 4418222 by Dan.Oconnor

	Close blueprint editor when replacing a blueprint, avoiding crash when using the merge tool to reload a blueprint

	#jira UE-64435

Change 4418217 by Frank.Fella

	Merging from Dev-Niagara 4356318 for nicholas.goldstein

	Adjust DisplayName generation of linked inputs in Niagara Stack input options to show the entire namespace and to not pass through FName::NameToDisplayString
	#jira UE-63387
	#jira UE-60349

Change 4418163 by Frank.Fella

	Merging from Dev-Niagara 4346597, 4346602, 4346709, 4353333, 4353344, 4353346, 4353355, 4355466, 4355948, 4356192

	Niagara - New emitter and new system dialogs

	#jira UE-63765

Change 4418114 by Mark.Satterthwaite

	Assert that Metal heaps and sub-allocated buffers are actually created properly to catch OoM errors. #rb none #jira UE-62235

Change 4417947 by Ben.Marsh

	Compile DebugGame version of the launch module for installed builds.

	#jira UE-64604

Change 4417554 by Joe.Conley

	Merging using Dev-VR_to_Release-4.21

	#jira UE-63210 - "Stereo layers persist in HMD after VR Preview"
	#jira UE-54565 - "Packaged game/Editor with Stereo Layers crashes when exiting game through steam VR overlay"

	Remove check(VROverlay) in FSteamVRHMD::GetStereoLayers() and just return nullptr if it is null.

	Revert previous fix for UE-54565 that caused UE-63210

Change 4417553 by Joe.Conley

	Merging using Dev-VR_to_Release-4.21

	#jira UE-64054 MRC - Mixed Reality Calibration app does not let users toggle between attachment devices.

	Enumerate Motion Sources was getting called before the Motion Controller modular features were being added.

	Added a delay before calling Enumerate Motion Sources.

Change 4417552 by Joe.Conley

	Merging  to Release-4.21 (//UE4/Release-4.21)

	#jira UE-63579 Assert when having too many VR devices

	Increase max controllers to support more.

Change 4417533 by Ben.Marsh

	Fix IPhonePackager not being included in installed builds created on a Mac.

	#jira UE-58493

Change 4417495 by Joe.Conley

	Back out changelist 4417484

	Integrate automatically submitted this before I could convert it to an edit, back out.

	#jira UE-63579 Assert when having too many VR devices

Change 4417484 by Joe.Conley

	Merging using Dev-VR_to_Release-4.21

	#jira UE-63579 Assert when having too many VR devices

	Increase max controllers to support more.

Change 4417438 by Ben.Marsh

	Prevent unzipped frameworks from being removed every time a remote IOS compile is started, preventing iterative builds.

	#jira

Change 4417422 by Ben.Marsh

	PR #4937: UE-62508: Add option to project launcher to include prerequisites com. (Contributed by projectgheist)

	#jira UE-62508

Change 4417362 by Ben.Marsh

	Fix compile warning when converting a blueprint project to native.

	#jira UE-63802

Change 4417357 by Jerome.Delattre

	Copying from Dev-Enterprise CL 4364256
	Fix typo in FGenericPlatformMemory::DumpStats to properly report the free virtual memory.

	#author Martin.Sevigny

	#jira

Change 4417350 by Jerome.Delattre

	Copying from Dev-Enterprise CL 4364260
	SceneCapture: Don't CaptureOnMovement if CaptureEveryFrame is enabled. This prevent the capture from happening twice in 1 frame.

	#author Martin.Sevigny
	#jira UE-64686

Change 4417333 by Uriel.Doyon

	Reduced the amount of interpolants in FVertexFactoryInterpolantsVSToPS by the Niagara when using DynamicParameters.
	Now only the param required are used where as before the count was defined by the max index.
	#jira UE-63712

Change 4417318 by Dan.Oconnor

	Improve error messaging when a class creates its CDO while the class layout is being created

	#jira UE-64534

Change 4417276 by Frank.Fella

	Merging 4340773 from Dev-Niagara for nicholas.goldstein
	Add UProperty Specifiers to PropertyMetaData to fix displayed name and tooltip
	#jira UE-63233

Change 4417226 by Frank.Fella

	Merging 4340719 from Dev-Niagara for nicholas.goldstein
	Disable Widget focus of expander arrows and pulldown arrows in Niagara Stack to prevent unexpected tab selection
	#jira UE-63380

Change 4417196 by Patrick.Boutot

	Create a 10bit media texture for CharBGR10A2 media format.

	#jira UE-64682

Change 4417193 by Patrick.Boutot

	Keep a reference to the current MediaProfile's proxy to prevent GC
	Move MediaProfileSettings to default config.

	#jira UE-64475

Change 4417192 by Patrick.Boutot

	Deprecate ABGR16 and Float RGB from EDefaultBackBufferPixelFormat. They are not supported by D3DX SwapChain. The jira has more info on which formats are supported.
	#jira UE-63090

Change 4416191 by zak.parrish

	Resaving Debug menu for TP_ARBP template
	#JIRA UE-64678

Change 4416030 by Marc.Audy

	Remove broken test (as best it can be told it could never have worked)
	#jira UE-64547

Change 4415784 by Marc.Audy

	PR #5133: UE-64479 Fix the icon display for the Timeline node replication status (Contributed by mamoniem)
	PR #5132: UE-64479: Replicated icon shows up for timelines in BP (Contributed by projectgheist)
	#jira UE-64479
	#jira UE-64596
	#jira UE-64606

Change 4415763 by Steve.Robb

	Fixes for improperly initialized USTRUCT() members.

	#jira UE-64551
	#jira UE-64546

Change 4415723 by Rolando.Caloca

	UE4.21 - Remove Linux hack for Vulkan

	#jira

Change 4415679 by Rolando.Caloca

	UE4.21 - Copy fix from 4415584 and 4401641
	- Added support for -vulkanpresentmode=N where N is a VkPresentModeKHR
	- This prevents the CPU from getting more than one frame ahead of the GPU. In addition to making the Vulkan RHI more consistent with the DX RHIs and reducing game input latency, this also fixes the issue where memory for volatile uniform buffers could be overwritten by the CPU before the GPU was done with it. This could happen when running in immediate present mode with frame pacing and smoothing disabled, as the CPU could get several frames ahead of the GPU.

	#jira

Change 4415654 by Jamie.Dale

	Fixed the editor failing to load the native game localization data during init

	#jira UE-64097

Change 4415635 by Jamie.Dale

	Fixed null pointer access in setting helpers

	#jira

Change 4415630 by Jamie.Dale

	Ensure we GC at various points that could have left lingering references to items being content hot-reloaded

	#jira

Change 4415624 by Jamie.Dale

	Ensure that the transient instance created by the material editor is marked pending-kill once the material editor is closed

	This fixes an issue where a lingering material editor instance would re-apply old material constant values after a content hot-reload, as the content hot-reload would call PostEditChange on the lingering instance.

	#jira

Change 4415620 by Jamie.Dale

	Fixed type validation of objects within containers

	#jira UE-64151

Change 4415613 by Jamie.Dale

	Fixed crash when deleting a package without an SSC state

	#jira

Change 4415592 by Marcin.Undak

	UAT: Aways create directory before saving encryption parameters

	#jira none

Change 4415590 by Jamie.Dale

	Merging CL# 4357533, CL# 4366557 and CL# 4374101

	#jira

Change 4415577 by Marcin.Undak

	Linux: fixed WebM crash

	#jira UE-64157

Change 4415340 by frankie.dipietro

	Empty M_VolumeSampler for testing

	#jira UE-29618

Change 4415334 by frankie.dipietro

	Adjust M_VolumeSample test material to use Emissive

	#jira UE-29618

Change 4415085 by Ben.Marsh

	Restore const signature for FApplePlatformCrashContext::ReportCrash() for compatibility with callbacks.

	#jira

Change 4415032 by Ben.Marsh

	Fix Mac compile error due to calling non-const function.

	#jira

Change 4415005 by frankie.dipietro

	Add M_VolumeSample to QAGame to aid Volume Texture testing

	#jira UE-29618

Change 4414930 by Ben.Marsh

	Include portable callstacks in ensures.

	#jira UE-64574

Change 4414631 by Graeme.Thornton

	Fix for crash when running automation tests

	#jira UE-64652

Change 4414055 by Dan.Oconnor

	Remove use of FAssetData to avoid side effects that can result in CDO creation

	#jira UE-64534

Change 4413933 by Jeff.Fisher

	Merging using Dev-VR_to_Release-4.21

	4374589 UE-57680 [CrashReport] UE4Editor_SteamVR!FSteamVRModel::GetRawMeshData() [steamvrassetmanager.cpp:307]
	-Added some more logging to try to figure out why this is crashing.  Logs the resourceID of the steamVRMesh which might tell us if this is happening with some specific hardware.  Also logs index and vertex counts and pointers to see if the data is somewhat malformed or just completely invalid.

	4380355 UE-57680 [CrashReport] UE4Editor_SteamVR!FSteamVRModel::GetRawMeshData() [steamvrassetmanager.cpp:307]
	-Two more log lines for steamvr shutdown.  Maybe we are trying to get the models after shutdown and get bad data?

	#jira UE-57680


Change 4413599 by Mitchell.Wilson

	Saving SunlightColorLUT to resolve warning.
	#jira UE-64648

Change 4413343 by Ben.Marsh

	Add Rsync filters to installed build on Windows.

	#jira UE-64623

Change 4413276 by Ben.Marsh

	Remove logic that prevents UHT compiling on Mac during a remote build.

	#jira UE-64493

Change 4413205 by Ben.Marsh

	Fix missing dependencies from installed build on Mac and Linux.

	#jira UE-64629

Change 4413154 by Jason.Bestimt

	Merging CL 4379292 from Dev-VR - Fixes for mobile static draw list using incorrect material render proxy

	#JIRA: UEVR-1321

Change 4413148 by Jason.Bestimt

	Merging CL 4373138 from Dev-VR - Fix for media texture crash on Lumin

	#JIRA: UEVR-1319

Change 4413142 by Jason.Bestimt

	Merging CL 4347297 from Dev-VR - Swapping double to single quote to fix Mac Editor packaging for Lumin

	#JIRA: UE-63556

Change 4412619 by Jason.Bestimt

	Merging CL 4331753 from Dev-VR - Allowing output log to capture warning and error verbosity from commandline output it receives (like launch on Lumin)

	#JIRA: UE-62981

Change 4412526 by Jason.Bestimt

	Merging CL 4311018 from Dev-VR - Preventing multiple lumin frame timing hints while the graphics context isn't valid

	#JIRA: UE-62031

Change 4412517 by Jason.Bestimt

	Merging CL 4304939 from Dev-VR - Commenting out Eye Tracker init log until the feature is complete.

	#JIRA: UE-61413

Change 4412515 by Jason.Bestimt

	Merging CL 4304711 from Dev-VR - Downgrading sandbox jail warning to log, as it is expected output

	#JIRA: UE-62992

Change 4412508 by Jason.Bestimt

	Merging CL 4303846 from Dev-VR - Fix for fully qualified name in header

	#JIRA: UE-62068

Change 4412496 by Jason.Bestimt

	Merging CL 4303647 from Dev-VR - Fixing synth style warnings in Lumin Sample

	#JIRA: UE-62068

Change 4412491 by Jason.Bestimt

	Integrating CL 4303618 from Dev-VR to remove Lumin Emulator plugins

Change 4412425 by Mitchell.Wilson

	Updating GetLinearColor nodes in BP_Sky_Sphere to GetClampedLinearColor nodes. Saving curves due to the change to resolve warnings.
	#jira UE-64228

Change 4412349 by Lauren.Ridge

	Adding custom version to linear color curve assets
	#jira UE-64228

Change 4412302 by Ben.Marsh

	Include the full filename of the config file if we can't save a backup. Attempt to track down UE-64554.

	#jira UE-64554

Change 4412161 by frankie.dipietro

	Adding bUsedWithStaticLighting flag to M_Roughness_0 to fix RectLight test

	#jira UE-29618

Change 4411692 by tim.gautier

	Minor adjustment to M_Tree_FallTreeMerged_01 - added a StaticSwitchParam
	#jira UE-29618

Change 4411522 by Lauren.Ridge

	PostLoad check and additional GetClampedColorValue BP function for linear color curves
	#jira  UE-64228

Change 4411494 by Francis.Hurteau

	Copied 4359025 Francis.Hurteau
	Test if have a valid continuation before running it when setting continuation on a ready future

	#jira UE-64567

Change 4411151 by Jeff.Fisher

	Merging using Dev-VR_to_Release-4.21

	4345353 UE-62255 Google 6DOF Motion Controller Support
	-Added support for 6DOF controller tracking on daydream.
	-Project Settings->Android->Advanced APK Packaging->Configure GoogleVR to support specific hardware configurations-> Set to Daydream(6.6 DoF) to enable support for two 6dof controllers. A single 3dof controller is also supported by this configuration, as is a single 6dof controller.
	-Currently the 3dof controller is detected only by noticing that the positions returned for all controllers are exactly 0,0,0 per Google reccomendation.  A future API should make it explicit when a controller is 3dof or 6dof.
	-Currently we arbitrarily make the controller at index 0 the right and the one at 1 the left.  A future api should let us query for controller handedness.

	4346387 Fixing build break in GoogleVRControllerFunctionLibrary.h

	4349142 Fixing GoogleVRController build warning

	4349742 Fixing AndroidRuntimeSettings build errors.

	4350977 Fix for static analysis warning

	4351170 Build fix for bad assert

	#jira UE-62255

Change 4410947 by Lina.Halper

	#DUPEMERGE

	Fixes many reference pose issues, where they want to add node, and how it updates, and how they could move

	- mainly execution can be disabled by button, and  we will mark to compile when it needs recompile due to hierarchy change
	- added quick warning to log when hierarchy is missing
	- still lots of things need more iteration
	- fixed assets

	#jira: UE-63136

Change 4410550 by Lauren.Ridge

	Fix for ListView not propagating selection change events
	#jira UE-64118

Change 4410527 by Lauren.Ridge

	Adding condition to guard against crash when pasting comments
	#jira UE-63214

Change 4410512 by Marcin.Undak

	UAT: Create manifest directory, before writing to it

	#jira none

Change 4410511 by Lauren.Ridge

	Fix for crash on spamming trigger presses in VR mode
	#jira UE-63608

Change 4410489 by Lauren.Ridge

	Fix for disappearing UI handle in VR mode
	#jira UE-63622

Change 4410364 by Ben.Marsh

	PR #5138: Fix bForceBuildShaderFormats not being read correctly in TargetRules (Contributed by rlabrecque)

	#jira UE-64611

Change 4410086 by Ben.Marsh

	UAT: Show timing/agent info in UAT the same way as in UBT, to make it easier to track down badly configured agents.

	(Originallly CL 4343393 in Dev-Build)

	#jira

Change 4410018 by Lina.Halper

	#DUPE MERGe
	Merging using Dev-Anim<->Release4.21

	fix motion blur issue on poseable mesh component

	#jira: UE-62296

Change 4409981 by Simon.Tourangeau

	SunPosition plugin

	#jira UE-64075

Change 4409913 by Michael.Kirzinger

	Fix FUniqueNetIdRepl serialization for out of engine OSSs. Use FNetBitReader/Writer in the serialization test so it properly tests network replication

	#jira UE-63326
[at]josh.markiewicz

Change 4409838 by Simon.Tourangeau

	Integrate misc nDisplay fixes from Dev-Enterprise

	- nDisplayLauncher: Removed useless no-val command line arguments
	- Fixed Editor crash when translation direction is set in BP_DemoWand_Blueprint
	- Use quotation marks for paths
	- A lot of nDisplay warings "wand not found"
	- nDisplayLauncher passes custom arguments at beginning
	- Update blueprints (resubmit + comments)
	- Single view for monoscipic devices
	- Move swap eye attribute to [cluster_node]
	- Removed viewport flip feature
	- Disable input on slave nodes
	- Fix for GL3/4 monoscopic device. Missed changes for 'Viewport positioning fix'.
	- Removed custom swap_int
	- Fixed demo blueprints
	- Fixed crash in DC components when the DC is not initialized
	- Fixed visibility of some inherited members
	- Fixed Editor crash on second PIE session start
	- Fix for viewport positioning
	- BP API docs (comments)
	- Turn off some screen effects in the nDisplay template project

	#jira UE-64170

Change 4409812 by Simon.Tourangeau

	USD SDK updated to v18.09

	Merged from Dev-Enterprise

	#author Rex.Hill
	#jira UE-64140

Change 4409754 by Graeme.Thornton

	Copy of CL 4385549 from Dev-Core

	Try and detect a serialize function inside arbitrary preprocessor blocks and throw an error
	Make a couple of other "can't have things inside preprocessor blocks" messages consistent with this one

	#jira none

Change 4409671 by Jeff.Fisher

	Merging using Dev-VR_to_Release-4.21

	4392743 UE-63646 MagicLeap 4.21 redirects need updating
	-Made redirectors more specific, found a way to do the updates without the MatchSubstring package update flag, to avoid a warning about how it is very slow.

	#jira UE-63647

Change 4409395 by Ben.Marsh

	Fix Python.build.cs adding locally generated *.pyc files as runtime dependencies. Since these files are not tracked as build products, they will not exist on other build machines, causing warnings when building DDC.

	#jira

Change 4408881 by Max.Chen

	Sequencer: Added missing ini change for 4395032

	#jira UE-64258

Change 4408670 by Max.Chen

	Sequencer: Step to next/prev key no longer uses ExclusiveEndFrame - 1. This fixes cases where you want to step to the last key of a section and add another animation clip that doesn't overlap.

	#jira none

Change 4408662 by Max.Chen

	Sequencer: Removed derived blueprint type for level sequence director blueprints

	#jira UE-64258

Change 4408661 by Max.Chen

	Sequencer: When evaluating a range of a sequence, all overlapping segments of that range are now guaranteed to be up-to-date and compiled.

	This is a newer version of 4280319 which was backed out in 4317353, with the TRange::Overlaps issues addressed.

	#jira UE-63336
	#jira UE-62873

Change 4408660 by Max.Chen

	Sequencer: Fix crash when converting matinee assets to sequences due to changes in events. Event keys will now have blueprint event endpoints created in the level sequence blueprint when converting.

	#jira none

Change 4408354 by Marc.Audy

	Fix additional cases where GetBlueprint could get called without a valid blueprint, thus checking
	#jira UE-62444

Change 4408286 by Joe.Conley

	#jira UE-64552 [CrashReport] UE4Editor_MagicLeap!UImageTrackerComponent::TickComponent() [imagetrackercomponent.cpp:391]

	MagicLeap ImageTrackerComponent: Adding check for PLATFORM_LUMIN to prevent PIE crash running code that was designed to only run on device.

	This had been fixed previously but somehow the fix got lost merging between streams.

Change 4408252 by Brandon.Schaefer

	Doubles in the form of 1e+9999 can be larger then 30 chars, set aside more room

	#jira UE-64582

Change 4408076 by Mike.Erwin

	UAT: fix Iterative Deploy leaving behind old files on Android
	(copy 4369737 from Dev-Build)

	For iterative deploy on Android, files & directories not in staging will be zapped from the device.

	The following directories are spared, to maintain config & logs on device:
	Engine/Saved
	Engine/Config
	ProjectName/Saved
	ProjectName/Config

	Tested with Samsung Galaxy S6+ (Android 6.0) and Google Pixel 2 (Android 9.0)

	#android
	#jira UE-61686

Change 4408070 by Mike.Erwin

	UAT: iterative deploy no longer prevents cleaning of staging directory
	(copy 4369732 from Dev-Build)

	Partial fix for
	#jira UE-58838 UE-61686 UE-62879

	Might need additional work to reduce file copies from Build to Stage.

Change 4407741 by Ben.Marsh

	UBT: Avoid trying to figure out which mobile provision to use for a project when we already know the path to the provision we want. Also fix certificate not being updated if mobile provision changes.

	#jira

Change 4407632 by Jamie.Dale

	Removed pyc files from Python SDK

	#jira UE-64531

Change 4407622 by Jamie.Dale

	Updated Python SDK copy script to exclude pyc files

	#jira UE-64531

Change 4407431 by Anousack.Kitisa

	Copied 4392037 Anousack.Kitisa
	Modified API for UV map generation.

	#jira UE-63814

Change 4407427 by Ben.Marsh

	Suppress warning for missing DebugNonUFS files when staging installed build.

	#jira UE-64579

Change 4407401 by Anousack.Kitisa

	Copied 4383601 Anousack.Kitisa
	[StaticMeshEditor]:
	* Fixed material assignment issue when re-importing Datasmith static mesh after deleting a section from the mesh.
	* Fixed material issue when deleting a section from a mesh and undoing and chaging material on the mesh.

	#jira UE-62480

Change 4407274 by Joe.Graf

	Over merge reverted

	#jira: fix

Change 4407268 by Anousack.Kitisa

	Copied 4369800 Anousack.Kitisa
	Import/export FBX metadata on SkeletalMesh and Skeleton assets.

	#jira UEENT-1881

Change 4407220 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - AR samples updated

	#jira: UE-64673

Change 4407213 by Rolando.Caloca

	UE4.21 - Copy 4403346
	DR - Fix post opaque extension running before lights

	#jira

Change 4407208 by Anousack.Kitisa

	Copied 4369604 JeanLuc.Corenthin
	- Fixed indexing issue with FOverlappingCorners object created using a FmeshDescription object:
	    - Changed logic in building of FOverlappingCorners to be based on index of wedge, number of wedges equal 3 times the number of triangles like in FRawMesh, instead of index of vertex instances.
	   - Updated BuildVertexBuffer to take this new logic in account.
	- Fixed crash in FMeshDescriptionOperations::CreateMikktTangents:
	   - MikkTSpace sdk does not handle properly faces with 0 vertices which occur with mesh description with invalid polygons.

	#jira UE-62478, UE-63758

Change 4407188 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Fixed missing include when not using unity builds

	#jira: UE-64673

Change 4407179 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added a way to see the ARKit CPU consumption across all of its threads

	#jira: UE-64673

Change 4407178 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Bug fix for landscape image detection being at the wrong distance

	#jira: UE-64673

Change 4407174 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Improved debug rendering of AR tracked images

	#jira: UE-64673

Change 4407165 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added post edit change to force correct aspect ratios when editing physical size for detected images

	#jira: UE-64673

Change 4407162 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Reverted premature merge

	#jira: merge

Change 4407156 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21

	#jira: merge

Change 4407146 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Point cloud rendering additions

	#jira: UE-64673

Change 4407134 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added some config properties to box component for debug rendering

	#jira: UE-64673

Change 4407128 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added missing #ifdef

	#jira: UE-64673

Change 4407127 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - AR point cloud debug rendering support added

	#jira: UE-64673

Change 4407119 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARVideoSettings sample

	#jira: UE-64673

Change 4407113 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added a device orientation query in addition to the event that is present

	#jira: UE-64673

Change 4407109 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Fixed a missing nullptr check that was causing AR apps to crash

	#jira: UE-64673

Change 4407105 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added support for rotating an image while generating a jpeg for ARSharedWorld sample

	#jira: UE-64673

Change 4407101 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added a set of properties to override thread priorities when using ARKit and UE4 is causing ARKit to starve

	#jira: UE-64673

Change 4407098 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21

	#jira: merge

Change 4407093 by Francis.Hurteau

	Copied 4372687 Francis.Hurteau
	Fix potential assert when changing ProtocolVersion based on ping messages

	#jira UE-64035

Change 4407088 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Added scaling to jpeg creation for ARSharedWorld sample

	#jira: UE-64673

Change 4407082 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARSharedWorld sample

	#jira: UE-64673

Change 4407078 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Fix for null session config being passed to AR system

	#jira: UE-64673

Change 4407074 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARSharedWorld sample

	#jira: UE-64673

Change 4407064 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARSharedWorld sample

	#jira: UE-64673

Change 4407061 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARSharedWorld sample

	#jira: UE-64673

Change 4407052 by JeanLuc.Corenthin

	Copy CL #4392021
	  - Fixed crash when importing model thru VRED importer
	  - Includes changes to StaticMeshBuilder.cpp made in CL #4369604

	#jira UE-64152

Change 4407051 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARSharedWorld sample

	#jira: UE-64673

Change 4407045 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Code suupport for streaming ar shared worlds

	#jira: UE-64673

Change 4407039 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - ARSharedWorld sample

	#jira: UE-64673

Change 4407032 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Improved AR template

	#jira: UE-64673

Change 4407030 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Better BP exposure of GetMappingStatus for AR

	#jira: UE-64673

Change 4407017 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Better double free fix for ar env probes

	#jira: UE-64673

Change 4407012 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Double free fix for env probes

	#jira: UE-64673

Change 4407007 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - AREnvProbe sample

	#jira: UE-64673

Change 4407006 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - AREnvProbe sample

	#jira: UE-64673

Change 4407003 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - AREnvProbe sample

	#jira: UE-64673

Change 4406999 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Render doc fix for non-editor builds

	#jira: merge

Change 4406994 by Anousack.Kitisa

	Copied 4362955 JeanMichel.Dignard
	Static Mesh Library : SetLodFromStaticMesh
	- Assign materials to new LOD sections based on source mesh LOD.
	- Copy LOD build settings from source.

	#jira UE-63659, UE-64016

Change 4406992 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Fix for CLion IDE usage

	#jira: merge

Change 4406987 by Joe.Graf

	Merging using Dev-VR_to_Release-4.21 - Fix for missing property decoration for video modes

	#jira: UE-64673

Change 4406944 by Max.Chen

	Sequencer: Stop all sounds on tear down

	#jira UE-63501

Change 4406942 by Mark.Satterthwaite

	Duplicate CL #4398322: Rebuild mtlpp using Xcode 10 so Metal 2.1 works on iOS.

	#jira N/A

Change 4406880 by Anousack.Kitisa

	Copied 4356072 Anousack.Kitisa
	[StaticMeshEditor]:
	* Moved the UV channel removal functionality from the LOD details panel to the UV drop-down menu.

	#jira UEENT-1827

Change 4406826 by Francis.Hurteau

	Copied 4366928 Jeremie.Roy
	Fix crashes related to the UndoHistory.
	Add missing UndoBufferChangedDelegate broadcasts in EditorTransaction

	#jira UE-64096

Change 4406820 by Anousack.Kitisa

	Copied 4350474 Johan.Duparc
	Fix UEditorAssetLibrary::DoesAssetExist to handle sub object name

	#jira UE-62333

Change 4406783 by Anousack.Kitisa

	Copied 4348861 Anousack.Kitisa
	[StaticMeshEditor]:
	* Fixed vertices being merged even though they don't share mergeable attributes.

	#jira UE-62980

Change 4406752 by Anousack.Kitisa

	Copied 4348838 Anousack.Kitisa
	Fixed ConvertAnyPathToObjectPath returning wrong path for objects that are named differently than their package.

	#jira UE-62333

Change 4406721 by Brandon.Schaefer

	Linux: Set FORCE_ANSI_ALLOCATOR when using -EnableTSan to avoid multiple definitions

	#jira UE-62804

Change 4406461 by Francis.Hurteau

	Copied 4382276 Francis.Hurteau
	Fix syncing streaming level visibility state with undo/redo

	#jira UE-64315

Change 4406459 by Ben.Marsh

	Fix temporary files containing dependency lists being created in Engine directory. Move them under Engine/Intermediate instead.

	#jira

Change 4406451 by Brandon.Schaefer

	Linux: Dont try to make current if our current window was the SplashScreen window we just destroyed

	#jira UE-64211

Change 4406440 by Chris.Babcock

	Remove AKEYCODE_BACK from valid gamepad keycodes to allow it when controllers are disabled

	#jira UE-64350
	#ue4
	#android

Change 4406382 by Anousack.Kitisa

	Copied 4393087 Patrick.Boutot

	Add a shader source directory for the OpenCVLensDistortion plugin.

	#jira UE-64568

Change 4406345 by Joe.Graf

	Merge Xcode project generation fix to defaul to Legacy build mode using Dev-VR->Release-4.21

	#jira: merge

Change 4405792 by JeanMichel.Dignard

	Copied 4393315 JeanMichel.Dignard
	Better telemetry for plugin warden
	- Added more event attributes to track potential issues.

	#jira UE-64280

Change 4405776 by JeanMichel.Dignard

	Copied 4392578 JeanMichel.Dignard
	Fixed actors not saving properly on a reimport when moved to a sublevel.
	The issue is that they were being parented to actors from another level which isn't supported.
	Also, the scene component template should refer to the parent component through a TSoftObjectPtr in case it's in another package.

	#jira UE-62070

Change 4405738 by Mark.Satterthwaite

	Duplicate CL #4396224: Remove another broken bit of legacy Metal code.

	#jira UE-64128

Change 4405733 by Mark.Satterthwaite

	Duplicate CL #4399472: Handle all Metal formats in ShaderPlatformToPlatformName - I have not made this handle all formats or platforms so this function is *wrong* for a number of others and should *assert* on failure to identify a platform. This fixes incorrect shader compilation for Forward rendering on iOS.

	#jira UE-64355

Change 4405630 by JeanMichel.Dignard

	Copied 43737703 Johan.Duparc
	Prevent crash for old datasmith assets
	Clear transactional flag in user asset data that could cause a crash for Blueprint assets.

	#jira UE-63349

Change 4405481 by Sorin.Gradinaru

	UE-61699 Kindle Fire 5th Gen crashes rotating Remote Session

	#jira UE-61699
	#Android
	#4.21

	From //UE4/Dev-Mobile CL4360704

	Disabling threaded rendering for Kindle Fire HD 7 5th gen in DefaultDeviceProfiles.ini

Change 4405276 by Frankie.DiPietro

	Adding test content for Volume Textures, Iris Normals, and Subsurface Boundary Bleed Color coverage

	#jira UE-29618

Change 4405138 by JeanMichel.Dignard

	Copied 4350470 Johan.Duparc
	Fix crash on property edition for blueprint actors with templated asset user data

	#jira UE-63349

Change 4404967 by Mikey.Boyd

	Making content change to M_Translucent_PanNrm for UEQATC-244. Added a Texture Sample node to be used to test Platform Stats.

	#jira UE-29618

Change 4404909 by Robert.Manuszewski

	When enabling cooked assets in the editor, the engine will now use FArchiveAsync2 in the editor to be able to open them.

	(re-implemented CL #4400327 from Dev-Core)

	#jira UE-64389

Change 4404901 by Robert.Manuszewski

	Fixed a hang when entering PIE when Background Streaming is disabled

	#jira UE-63320

Change 4404816 by Ben.Marsh

	Fix "Non-void function should return a value" warning in CIS.

	#jira

Change 4404621 by Stefan.Boberg

	Re-enabled LLM on Editor builds since the performance issue has been addressed

	#jira UE-60020

Change 4404491 by Max.Chen

	Sequencer: Use cached object bindings when drawing motion trails.

	FindObjectId can be slow because it clears the cached bindings. Added FindCachedObjectId which retrieves the binding without clearing the cache.

	#jira UE-63347

Change 4404490 by Max.Chen

	Sequencer: Fix key reduction not working on imported fbx channel.

	Implement channel Optimize() so that it follows the curve editor's SimplifySelection by evaluating whether a key is needed (rather than removing the key and checking whether the value has changed).

	The main fix is that the tangents need to be calculated as non-normalized (ie. with the DisplayRate)

	#jira UE-62353

Change 4404488 by Max.Chen

	Sequencer: Changed HandleSingleNode fallback check for collapsed parents.

	#jira UE-64394

Change 4404486 by Max.Chen

	Sequencer: Remove restriction on hidden mobility. It's too wide to restrict transform tracks.

	#jira UE-63415

Change 4404472 by Max.Chen

	Sequencer: Restore drawing paths for selected nodes and channels

	#jira UE-64204

Change 4404468 by Max.Chen

	Sequencer: Check for property type in evaluation. This fixes an issue where the property type is changed after the track has been created.

	#jira UE-64278

Change 4404439 by Keli.Hlodversson

	Merging critical SteamVR fixes from Dev-VR
	#jira UE-63198
	#jira UE-64098
	#jira UEVR-1250

Change 4403717 by Marc.Audy

	Inline templated version of GetGameInstance

	#jira UE-62591

Change 4403702 by Marc.Audy

	PR #4944: Added template cast versions of multiple methods. (Contributed by francoap)
	#jira UE-62591

Change 4403699 by Marc.Audy

	Make reregistering an object in the significance manager an ensure not a check
	#jira

Change 4403697 by Marc.Audy

	PR #5074: Fixed minor bugs in GameUserSettings. (Contributed by phoenxin)
	#jira UE-63893

Change 4403695 by Marc.Audy

	Fix crash pasting timeline with external curve that has been force deleted
	#jira UE-64504

Change 4403693 by Marc.Audy

	PR #5077: Prevent TimelineComponent Update delegate from being executed 3 times when looping (Contributed by nedwardsnae)
	#jira UE-63927

Change 4403691 by Marc.Audy

	PR #5076: Correct icon when dragging an event dispatcher variable (Contributed by projectgheist)
	#jira UE-63895

Change 4403689 by Marc.Audy

	PR #5075: Mouse decorator when dragging a category from My Blueprint panel (Contributed by projectgheist)
	#jira UE-63894

Change 4403686 by Marc.Audy

	PR #5096: UE-64019: Use compare function for tooltip FText instead of != operator (Contributed by projectgheist)
	#jira UE-64109
	#jira UE-64019

Change 4403662 by Marc.Audy

	Ensure that objects created via duplication in PIE are correctly constructed
	#jira UE-63505

Change 4403462 by tim.gautier

	Cleaned up M_Tree_FallTreeMerged_01, added comment blocks for UEQATC-212
	#jira UE-29618

Change 4403308 by Michael.Trepka

	Update mouse position on NSDraggingUpdate event on Mac

	#jira UE-60800

Change 4403290 by Michael.Trepka

	Fixed issues with window position and size when toggling between fullscreen and windowed modes

	#jira UE-63212

Change 4403270 by Michael.Trepka

	Fixed a problem with mouse click/drag events being received by incorrect window/widget in certain conditions while dragging windows on Mac

	#jira UE-57506

Change 4403216 by Ben.Marsh

	Fix null reference exception when resolving paths.

	#jira

Change 4403213 by Ben.Marsh

	Revert change to use FileReference for executable to use in the <Spawn> task, to ensure we can use programs in the PATH.

	#jira

Change 4403209 by Ben.Marsh

	Prevent null dereference when tagging a set of files.

	#jira

Change 4403200 by Ben.Marsh

	BuildGraph: Add support for automatic parsing of collection types in BuildGraph parameters.

	#jira

Change 4403188 by Mikey.Boyd

	Adding content for Data Table test coverage.

	#jira UE-29618

Change 4403163 by Ben.Marsh

	Sanitize the contents of all the receipts in the installed engine build, to make sure they don't reference any files we don't distribute.

	#jira UE-56424

Change 4403151 by Ben.Marsh

	UBT: Don't assume that console encoding is UTF-8 when using ParallelExecutor.

	#jira UE-64248

Change 4403136 by Ben.Marsh

	Fix IWYU issues with SQLite support.

	#jira UE-64523

Change 4403116 by Ben.Marsh

	UBT: Fix project files being generated for VS2017 if the user only has AutoSDKs, and does not have the IDE installed.

	#jira UE-62726

Change 4403074 by Ben.Marsh

	UBT: Fix a couple of edge cases when parsing output from child processes.

	* If a single line was larger than 32kb, the process would be treated as having terminated.
	* If the last output line did not have a trailing newline, the line would be dropped.

	#jira UE-64234

Change 4403066 by Ben.Marsh

	Fix project browser reopening when creating a new project, if other command line arguments are present. Missing a space between the project file and previous argument list.

	#jira UE-63724


#lockdown Nick.Penwarden
#rb none

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4447546 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4452228 by jason bestimt in Dev-VR branch]
2018-10-11 11:48:32 -04:00
jason bestimt
f2890ac781 --------------------------------------
Copying //UE4/Fortnite-Staging to Dev-Main (//UE4/Dev-Main) [at] 4395008
#rb
#rnx
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-SOURCE: CL 4395058 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4398121 by jason bestimt in Dev-VR branch]
2018-09-26 10:08:47 -04:00
jason bestimt
40f7f85698 Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console [at] 4362408)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 4125165 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...[at]4124306 to //UE4/Dev-Console/...

Change 4136060 by Marcin.Undak

	Editor: fixed device unclaiming

	#jira UE-58464

Change 4190321 by Marcin.Undak

	Linux: fixes for automation and RecordPerformance

	#jira UE-61053

Change 4199010 by Marcin.Undak

	Linux: remove unnecessary -g option

Change 4201876 by Marcin.Undak

	First implementation of WebM media player for Windows and Linux

Change 4201922 by Marcin.Undak

	Whitelisted WebMem plugin only for Windows and Linux

Change 4202203 by Marcin.Undak

	WebM build fixes

Change 4223102 by Marcin.Undak

	Vulkan: console commands for testing device lost

	#jira UE-61789

Change 4225028 by Marcin.Undak

	WebMMedia: disabled on Linux until fixed compilation issues

Change 4231444 by David.Harvey

	UI - Fixing where the virtual cursor renders.  It doesn't correctly take into account DPI scale, which isn't apparent except on the Xbox One.

	Integrate as edit from FN CL 4166648.

	#jira UE-62115

Change 4233057 by Marcin.Undak

	TestPAL: added new test for string allocation size

Change 4234649 by Marcin.Undak

	Linux: switched linux plaform to 16bit wide strings

Change 4235253 by Marcin.Undak

	TestPAL: compilation fix for platforms that don't use DirectoryWatcher

Change 4235477 by Marcin.Undak

	Linux: re-enabled WebMMedia plugin

Change 4242242 by Marcin.Undak

	WebMMediaPlayer: implemented proper format retrieving. MediaFrameworkTest now works.

Change 4243321 by Marcin.Undak

	WebMPlayer: static code analisys fix

Change 4243505 by Marcin.Undak

	MediaFrameworkTest: added WebM video for testing

Change 4244646 by Marcin.Undak

	WebMMedia: improved concurrency

Change 4244735 by Arciel.Rekman

	Vulkan: skip unnecessary transitions properly (UE-62348, merge).

	(Edigrating CL 4244274 from Release-4.20)

Change 4246685 by Arciel.Rekman

	PhysX: remove Cygwin from %PATH% on Windows as it confuses CMake (UE-62326).

Change 4247808 by Marcin.Undak

	WebMMediaPlayer: added support for seeking

Change 4254841 by Marcin.Undak

	WebM: module dependencies fix

Change 4255124 by laz.matech

	Updated UMG_AllPaletterWidgets' combo box to include options so that when selected, the dropdown presents 2 options instead of it appearing like it is broken

	#jira none

Change 4256415 by Marcin.Undak

	WebM: added missing editor module

Change 4256716 by Arciel.Rekman

	Make SetReuseAddr() also set SO_REUSEPORT where available (UE-57076).

	- Pull request #4617 by malavon.

	#jira UE-57076

Change 4266049 by Marcin.Undak

	Linux: UnrealLightmass and CrashReportClient compilation fixes

	#jira UE-62521
	#jira UE-62522

Change 4266678 by Arciel.Rekman

	Merge speculative commit to get aligned pointer on mmap().

	(Edigrating CL 4225330 from //Fortnite/Main)

Change 4267998 by Anthony.Bills

	Fix DBufferC clear color due to bad merge.

	#jira UE-62649

Change 4269441 by Marcin.Undak

	GenericPlatformStrings::VarArgs() implemented %-*s, %lu, %z, %h formatting

	#jira UE-62582

Change 4269712 by Marcin.Undak

	WebMMediaPlayer: removed LibSimpleWebM

Change 4272849 by Marcin.Undak

	WebMMediaPlayer: fixed re-initialisation

Change 4277931 by Arciel.Rekman

	Linux: switch to Vulkan by default (UE-62807).

	- Default behavior: attempt Vulkan first, but in case of failure instead of quitting silently fall back to GL, unless -vulkan is passed.
	- Forcing GL is still possible.

Change 4277965 by Arciel.Rekman

	Fix standalone applications after the Vulkan switch.

Change 4277968 by Arciel.Rekman

	Linux: make CrashReportClient headful (UE-14089).

	- The -unattended flags keep even a headful CRC usable on the servers.
	- ldd did not change. Need to check Localization stuff to see if there are any deployment concerns.

	#jira UE-14089

Change 4279402 by Arciel.Rekman

	Merge from 4.20.1: Vulkan: log validation errors. Also fix handling of some message types (UE-62628).

	(Edigrating 4273516 from //UE4/Release-4.20/... to //UE4/Dev-Console/...)

Change 4279992 by Marcin.Undak

	Linux: fix SlateViewer compilation

	#jira UE-62831

Change 4285613 by Arciel.Rekman

	Vulkan: fix mismatched layout.

	- I tested with RecordPerformance on InfiltratorDemo and haven't found any impact.

Change 4285622 by Arciel.Rekman

	Merged from 4.20.2: Linux: do not refuse to start if system limits cannot be raised (UE-62515).

	- Too aggressive behavior, which can break cooking for no valid reason.
	- If a commandline argument is used, the engine will still treat inability to raise the limits as an error.

	(Edigrating 4273547 from //UE4/Release-4.20/... to //UE4/Dev-Console/...)

Change 4293083 by Arciel.Rekman

	Merging //UE4/Main[at]4291654 to //UE4/Dev-Console

Change 4295297 by Marcin.Undak

	Vulkan: temporary disable generic pipeline cache saving to prevent crashes

	#jira UE-62848

Change 4300191 by Arciel.Rekman

	Delete files added under lowercase directories.

Change 4300211 by Arciel.Rekman

	Re-add files deleted in previous commit under camel-cased paths.

Change 4300895 by Arciel.Rekman

	Linux: fix editor build

Change 4303543 by Ben.Marsh

	Fix compile error for FortGPUTestBed.

Change 4305659 by Marcin.Undak

	[Vulkan][Engine] Update the Vulkan RHI to obey r.VSync (and the vsync and novsync command-line arguments).

	Change 4222769 by Jason.Stewart[at]Jason.Stewart_AMD_Dev_Rendering_threadripper-win10 on 2018/07/19 10:55:48

		The original implementation ran into a latent thread hazard between the RHI thread and the rendering thread, where the rendering thread would try to use the backbuffer of the swap chain while the swap chain was being recreated (specifically after the swap chain recreation code had released and nulled out the back buffer, but before swap chain creation had actually happened to get a new back buffer). This implementation addresses that issue.

		This is Tim's code. I'm just submitting it as Tim is currently out of office.

Change 4305661 by Marcin.Undak

	Moved libwebm and libvpx inside WebMMediaPlayer directory

Change 4308659 by Marcin.Undak

	Linux: fixed LLDB visualizers

	#jira UE-52619

Change 4313650 by Marcin.Undak

	WebMMediaPlayer: implemented looping

Change 4321713 by David.Harvey

	removed hard-coded platform labels from device output log window in favour of ITargetPlatform::SupportsFeature + updated editor tooltip with correct platform list.

	https://ec-01.epicgames.net/commander/link/jobDetails/jobs/8641984?

Change 4321942 by Brandon.Schaefer

	Linux: Use the Target RHI list as the default ordering for which RHI is prefered

	Also update the RHI list in the project settings for our default list

	#jira UE-59487

[at]Arciel.Rekman

Change 4322230 by Brandon.Schaefer

	Treat %lf as %f in GenericWidePlatformString

	#jira UE-62582

Change 4322392 by Brandon.Schaefer

	Make sure our fmt size is large enough to check indexes

	#jira none

Change 4322895 by Brandon.Schaefer

	Actually get the current size of Src as it could have been moved down

	#jira none

Change 4327866 by Brandon.Schaefer

	Linux: Tell the platform misc what RHI we are using

	#jira none

Change 4328926 by Brandon.Schaefer

	Linux: Add haptic support for controllers

	Github PR #4167 (thanks maiself!)

	#jira UE-51681

Change 4328963 by Arciel.Rekman

	TestPAL: improve the test by randomizing allocation size.

	- The range will no longer be constrained to <=128KB at once, allocations can be as big as 16MB but they will unevenly distributed, with smaller sizes being more frequent.

Change 4329208 by Arciel.Rekman

	hlslcc: suppressed benign compiler warning during the Linux build (UE-43988).

Change 4329283 by Arciel.Rekman

	Linux: replace CachedOSPageAllocator with PooledVirtualMemoryAllocator for Linux.

	For the explanation of FPooledVirtualMemoryAllocator, see PooledVirtualMemoryAllocator.h
	For the details, test data and comparisons, message Arciel Rekman.

	Relevant command line args added:

	-vmapoolscale=<float> (defaults to 1.4)
	-vmapoolevict
	-novmapoolevict

	By default, freed memory will not be evicted from RAM (unless running on a server)

	Also changed:
	- Removed the fixed-size pool previously used by Linux (and supporting machinery like scaling it on start)
	- Replaced the way we manage free blocks from pointers to a bitmap to reduce memory footprint.

Change 4331946 by Luke.Thatcher

	[CONSOLE] [^] (merging CL 4162064) Implement new thread heart beat clock to solve the suspend/resume problem across all platforms.
	 - The hang and hitch detectors now maintain their own clocks which are ticked by their respective threads.
	 - If the title is suspended, the ticking thread will stop and the clock will stop advancing. On resume, the maximum delta in the clock is clamped to a small value, so we ignore all the time the thread was not ticking for (i.e. the duration of the title being suspended).
	 - As such, we don't need any logic for handling PLM suspend/resume in the hang and hitch detectors, so this change removes that too.

	#jira FORT-96886

Change 4331973 by Luke.Thatcher

	[CONSOLE] [^] (merging CL 4183499) Add frame-present-based hang detection.
	 - RHIs call FThreadHeartBeat::PresentFrame() whenever they present a frame to the swap chain.
	 - These calls form a separate heartbeat from the thread-based ones, allowing the hang detector to fire if, for example, the game thread is stuck in an async loading loop and is ticking the game thread heartbeat, but making no progress.
	 - Also refactored ThreadHeartBeat.cpp to move hang detection logging into a FORCENOINLINE function. This will put OnHang and OnPresentHang at the top of the callstack in retail crash dumps, making the bucketing easier to recognise.

Change 4332200 by Luke.Thatcher

	[CONSOLE] [+] (merging CL 4227517) Add PlatformDebugData to FShaderResource.
	 - We can use this to store platform specific shader symbols etc. The data gets serialized to the DDC and can be retrieved during a cook.
	 - Data is entirely discarded in cooked builds, and is a no-op on platforms which don't implement support for shader debug data.
	 - Bumped shader version to invalidate DDC keys.

Change 4332407 by Luke.Thatcher

	[CONSOLE] [CORE] [!] (merging CL 4279686) Fixed unaligned integer load macro inconsistencies.
	 - Renamed PLATFORM_SUPPORTS_UNALIGNED_INT_LOADS to PLATFORM_SUPPORTS_UNALIGNED_LOADS
	 - Merged it with REQUIRES_ALIGNED_ACCESS and REQUIRES_ALIGNED_INT_ACCESS
	 - Fixed Linux platform which had both the old macros defined to 1, which is wrong because they are mutually exclusive.

Change 4333386 by Luke.Thatcher

	[CONSOLE] [!] (merging CL 4317367) Fix compile error in AnimationCompression.h

Change 4334395 by Arciel.Rekman

	Corrected PLATFORM_DESKTOP definition.

Change 4336190 by Anthony.Bills

	(Original CL4314280) Use the debug file writer when using framepro. This buffers more data which should reduce stalls when writing out on certain platforms.

	#jira none

Change 4336291 by Anthony.Bills

	Use a clamped local clock when timing out the renderthread.

	- This prevents suspend and resume issues on platforms where suspend events may not occur or the system clock is not set to the process time.

	#jira none

Change 4336292 by Anthony.Bills

	(Orignal CL 4195778) Fix printing of the hang detector multiplier and other logging.

	"f" is the correct format specifier for a double.

	#jira none

Change 4336307 by Anthony.Bills

	(Orignal CL 4257875) Use the correct clock when printing the scoped hitch stat.

	- Needs to be the internal FGameThreadHitchHeartBeat clock incase FPlatformTime::Seconds becomes out of sync with FrameStartTime.

	#jira none

Change 4336321 by Anthony.Bills

	(Original CL 4258186) Add GetNoInit function to FGameThreadHitchHeartBeat.

	#jira none

Change 4336397 by Anthony.Bills

	Fix redefinition of macro.

	#jira none

Change 4336738 by Brandon.Schaefer

	Linux: Add options for ASan, TSan, and UBSan

	#jira UE-62784 UE-62803 UE-62804

Change 4336791 by Brandon.Schaefer

	Linux: Add missing xml comments

	#jira none

Change 4336957 by Joe.Barnes

	Integrate as edit CL#4218145:

	Convert some of our Vector macros to inline functions as thier names class with 3rd party functions.

	#jira ue-61733

Change 4338228 by Arciel.Rekman

	Switch to v12 Linux cross-toolchain (UE-63589).

	#jira UE-63589

Change 4339195 by Ben.Woodhouse

	Integrate-as-edit latest CSV profiler changes up to CL 4292187

Change 4339237 by Ben.Woodhouse

	Integrate-as-edit CL 4226269 from Fortnite/Main
	Add support for extern GPU stats, so we can use one stat across multiple CPPs
	Fix the Forward rendering GPUProjection stat

Change 4339239 by Ben.Woodhouse

	Integrate-as-edit CL 4292520 from Fortnite/Main

	Support different sized buffers for FArchiveFileWriterGeneric per-platform so we can tune per-platform as needed.
	No changes to existing defaults values of 1KB for read, 4KB for write:

	        #define PLATFORM_FILE_READER_BUFFER_SIZE 1024
	        #define PLATFORM_FILE_WRITER_BUFFER_SIZE 4096
	        #define PLATFORM_DEBUG_FILE_WRITER_BUFFER_SIZE 4096

Change 4339241 by Ben.Woodhouse

	Integrate-as-edit CL 4210462 from Fortnite/Main
	Comment out an assert while I investigate properly (doesn't appear to be fatal)

Change 4339265 by Anthony.Bills

	[Linux] Fix ContainerBuildThirdParty.sh to pick the first default interface.

	#jira none

Change 4339274 by Anthony.Bills

	[Linux] Cache the bundled toolchain when using git builds.

	- Also will not attempt to download the toolchain if AutoSDK or Multiarch root are specified.

	#jira UE-63394

Change 4339623 by Anthony.Bills

	[Linux] Update native toolchain buildscript to support clang 6.0.1

	- Main issue was due to libxml2 as an extra dependency of some test libraries, so needs to be disabled via DLLVM_ENABLE_LIBXML2.

	#jira UE-63588

Change 4339685 by Anthony.Bills

	[Linux] Update toolchain setup script to download v12 when it is available.

	#jira UE-63588

Change 4339833 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...[at]4339548 to //UE4/Dev-Console/...

Change 4339843 by Ben.Woodhouse

	Attempt to fix a weird possible bad merge issue

Change 4339890 by Ben.Woodhouse

	Fix a build issue with FN server
	#jira nojira

Change 4340314 by Anthony.Bills

	Fix mesh decal rendering when write mask is enabled and no deferred decals are in the scene.

	#jira UE-55159

Change 4341099 by Marcin.Undak

	Mediashader fix

	#jira UE-63650

Change 4341106 by Marcin.Undak

	QAGame: added MediaPlayer for Linux test

	#jira UE-59667
	#jira UE-62775
	#jira UE-62780

Change 4341107 by Marcin.Undak

	WebMMediaPlayer: blacklist all not supported platforms

	#jira UE-59667
	#jira UE-62775
	#jira UE-62780

Change 4341110 by Marcin.Undak

	WebMMediaPlayer: enable for Unix platforms

	#jira UE-59667
	#jira UE-62775
	#jira UE-62780

Change 4341804 by Luke.Thatcher

	[CONSOLE] [!] Fix memory scribble in black depth texture cube on platforms with 16-bit depth.
	 - Original code was writing a FColor into the locked texture data, which causes a 2 byte scribble if the PF_ShadowDepth format is 16-bits.

	[!] Also fixed GWhiteTextureCube being black. FColor::White is not a compile-time constant, so an initialization order problem meant the value of FColor::White is actually black when the GWhiteTextureCube constructor runs.

	#jira none

Change 4342244 by Anthony.Bills

	[Linux] Allow restarting the crashed application from the crash report client

	#jira UE-62903

Change 4342636 by Brandon.Schaefer

	Linux: Update LLVM libc++.a libc++abi.a with version 6.0.1

	#jira UE-63587

Change 4343420 by Marcin.Undak

	Fixed assert in console

	#jira UE-63643


Change 4345166 by Luke.Thatcher

	[CONSOLE] [!] (merging CL 4345072) Fix initialization order bug with FColor and FLinearColor constants.
	 - The original constants were dynamically initialized during startup. Using these constants from other global constructors may result in getting the wrong value (transparent black) if a given constructor runs before FColor/FLinearColor's constructor.
	 - Adding constexpr to the FColor/FLinearColor constructor makes these constants known at compile-time, and included in the readonly data section, so they don't require dynamic initialization.

	[~] Also restores the original constant color values in RenderUtils.cpp

	#jira none

Change 4345860 by Arciel.Rekman

	Make StompMalloc return 16-byte aligned memory on 64 bit platforms (UE-63743).

	#jira UE-63743

	(Edigrating 4345734 from Release-4.20)

Change 4345950 by Brandon.Schaefer

	Linux: Remove libelf/libdwarf fallback for symbolicating symbols during a crash

	#jira UE-63103

Change 4350249 by David.Harvey

	helper function to retrieve an LLM tag's name, including platform tags.

Change 4351184 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...[at]4348973 to //UE4/Dev-Console/...

Change 4351593 by Ben.Woodhouse

	Clean up aggressive batching (remove xbox specific #if and //TODO)
	#jira UE-46780

Change 4351734 by James.Cobbett

	Setting TM-ShaderModels_Niagara to always load

Change 4351984 by Marcin.Undak

	QAGame: restored platform media source in TM-ShaderModels map

Change 4353508 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...[at]4353110 to //UE4/Dev-Console/...

Change 4354237 by Anthony.Bills

	[Linux] Fix FortniteServer Linux compilation issues due to change over to TCHAR being char16_t.

	#jira UE-63544

Change 4354334 by Anthony.Bills

	[Linux] (Missing file from CL 4354237) Fix FortniteServer Linux compilation issues due to change over to TCHAR being char16_t.

	#jira UE-63544

Change 4355994 by Brandon.Schaefer

	Linux: Agree not Agreed

	#jira UE-63937

Change 4356068 by Joe.Barnes

	Replace a duplicate DEFINE_EXPRESSION_NODE_TYPE(bool,...) causing errors with iOS unity build compiles. Remove version in ExpressionParser.cpp and include TextFilterExpressionEvaluator.h.

	#jira ue-63877

Change 4357726 by David.Harvey

	[iOS] add clean support for device output log, after catchup.

	#jira none

Change 4357724 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...[at]4357176 to //UE4/Dev-Console/...

Change 4359634 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...[at]4359072 to //UE4/Dev-Console/...

Change 4359958 by Ben.Woodhouse

	Fix FortGPUTestbed merge issues via p4 copy (content files didn't get moved before for some reason)

Change 4361108 by Anthony.Bills

	Fix webm deprecation issues with DrawPrimitiveUp.

	#jira UE-64012

Change 4361896 by James.Cobbett

	Re-saving materials so that they render correctly outside of the editor.

Change 4362262 by Anthony.Bills

	Fix for WebM video decoder crash.

	#jira UE-64025

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-SOURCE: CL 4362700 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

#CodeReview: jason.bestimt,nick.whiting,mike.beach,ryan.vance

[CL 4365049 by jason bestimt in Dev-VR branch]
2018-09-13 14:35:54 -04:00
chris babcock
016d94e747 Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile [at] 4355761)
#lockdown Nick.Penwarden
#rb Jack.Porter

============================
  MAJOR FEATURES & CHANGES
============================

Change 4066430 by Nick.Shin

	HTML5 - fix merge stomping and add in missing SC.Metadatadir (null) object to last {if else} block

	#jira UE-58423  HTML5 Quicklaunch through UnrealFrontEnd fails on Stage Command: Error: System.NullReferenceExeception

Change 4067037 by Bogdan.Vasilache

	#jira UE-57406

	Shaders compiled for GLSL_ES2 with CFLAG_FeatureLevelES31 compiler flag will now shift to GLSL_ES3_1_ANDROID profile instead of GLSL_310_ES_EXT.

Change 4067649 by Jack.Porter

	Remove obsolete cvars from ini files
	#jira UE-54768

Change 4071833 by Bogdan.Vasilache

	#jira UE-57406

	ShaderVersion guid updated to reflect changes in the OpenGL shader compiler.

Change 4075162 by Bogdan.Vasilache

	#jira UE-53195

Change 4099176 by Jack.Porter

	Fix SpeedTree node not working on ES3_1 (Contributed by PicaroonX)

	#jira UE-59685
	PR #4761

Change 4124398 by Mi.Wang

	Add particle cutout support for feature level es31.

Change 4129400 by Sorin.Gradinaru

	UE-60226 Web Browser widget is completely white on Android

	#jira UE-60226
	#jira UE-53247
	#Android
	#4.21

	from Release-4.20 CL 4122319

	The URL from the sample app is malformed (http:www.google.com).
	Since the phone's default browser is able to correct this problem for http and https URLs, I've added this exception to the code that checks the URL prefix, re-writing the fix for UE-53247.

Change 4164212 by Nick.Shin

	minor fixes to merge from Main

	#jira none

Change 4165606 by Nick.Shin

	#jira UE-57006  QA-Promotion WebGL1 HTML5 Launch On has numerous graphical errors

	in order for UNROLL to work -- break statement needs to be removed

Change 4165823 by Nick.Shin

	HTML5 - split single large template file to smaller component (e.g. js & css) files

	custom template files are also supported on a per-project basis:

	copy
	.../Engine/Build/HTML5/GameX.*.template
	to
	<project>/Build/HTML5/.

	build will automatically pick it the project's path (otherwise fallback to the Engine's version)

	this is based on GitHub PR #4780

	#jira UE-60136  GitHub 4780 : Proposed HTML5 Changes

Change 4202481 by Sorin.Gradinaru

	UE-50492 OnUrlChanged does not fire on mobile

	#jira UE-50492
	#iOS
	#4.21

	Adding the events for load started & finished with errors

Change 4202484 by Sorin.Gradinaru

	UEMOB-454 Move the virtual keyboard out of Experimental and make it enabled by default

	#jira UEMOB-454
	#4.21

Change 4202583 by Bogdan.Vasilache

	[UE-53816] Allow texture sampling in vertex shaders for ES2 feature level
	#jira UE-53816

Change 4214064 by Nick.Shin

	Epic's GitHub policy is to treat "unknown" file extensions as "binary"

	changing filenames so that they will show up GitHub's repo

	this is in reference to GitHub PR #4780

	#jira UE-60136  GitHub 4780 : Proposed HTML5 Changes

Change 4224514 by Mi.Wang

	We should not Tick USceneCaptureComponent on DS by default.

Change 4230192 by Nick.Shin

	HTML5 READMEs

	updating old ones - and putting new ones in

	these originally came from (mostly) onboarding the chrome team on UE4 emails.  capturing most of that in markdown format.

	#jria UEMOB-255  HTML5 Multithreading

Change 4232460 by Nick.Shin

	HTML5 - fix UE_MakeHTTPDataRequest() crash

	#jira  UE-38351  ( Pri:1 - 4.21 )  Red and Blue color channels flipped on materials called from HTML5 server

Change 4234647 by Nick.Shin

	HTML5 - ERGBFormat::RGBA  vs  ERGBFormat::BGRA

	- make use of the enums in UAsyncTaskDownloadImage::HandleImageRequest()
	- enable RGBA  vs  BGRA options for JPG decoder

	#jira  UE-38351  ( Pri:1 - 4.21 )  Red and Blue color channels flipped on materials called from HTML5 server

Change 4240086 by Sorin.Gradinaru

	UE-61345 Decals in Remote Session are not rendering on some iOS devices

	#jira UE-61345
	#4.21
	#iOS

	Changed the texture compression from DXT5 to RGBA

Change 4240234 by Sorin.Gradinaru

	UE-61838 Android 'Launch On All' can't run during an existing launch on session on Windows

	#jira UE-61838
	#4.21

	Cancel previous sessions before launching the selected configuration.

Change 4244686 by Nick.Shin

	HTML5 - syncing build scripts

	#jria UEMOB-255  HTML5 Multithreading

Change 4246399 by Nick.Shin

	HTML5 - syncing PhysX build scripts

	#jria UEMOB-255  HTML5 Multithreading

Change 4267990 by Bogdan.Vasilache

	[UEMOB-405] - Mobile PIE polishing - Bezel & Rotation + related subtasks

	#jira UEMOB-405
	#jira UEMOB-458
	#jira UEMOB-459
	#jira UEMOB-460

Change 4280211 by Chris.Babcock

	Fix FD_SET macro invoke crash when Socket FD exceed 1023 (contributed by scahp)

	#jira UE-62290
	#PR #4912
	#ue4
	#android

Change 4300275 by Nick.Shin

	HTML5 - Unreal File Server - css response header fixes

	#jira UE-63009 HTML5 template page has non-centered viewport and loading banner stretches the entire screen

Change 4302328 by Nick.Shin

	#jira UE-63108  HTML5 RunMacHTML5LauncherHelper.command files do not have appropriate permissions to run on Mac

Change 4303428 by Jack.Porter

	Fixed crash during cooking for certain landscapes with collision data out of sync with render data.

Change 4307517 by Jack.Porter

	Fix warning on Mac/Linux

	#jira UE-62993

Change 4311437 by Nick.Shin

	HTML5 : re-enabling [ -s BINARYEN_TRAP_MODE='clamp'; ]

	warning: this is technically slower performing -- but, this fixes a lot of 64-bit issues (HTML5 is "only" 32-bits)

	#jira UE-63049  HTML5 Quicklaunch to Chrome crashes with RuntimeError: float unrepresentable in integer range

Change 4312602 by Chris.Babcock

	Allow some hardware buttons through if hardware keyboard disabled

	#jira UE-63260
	#ue4
	#android

Change 4312711 by Chris.Babcock

	Fix string formatting for some locales in GetMetaDataString Method (contributed by IlinAleksey)

	#jira UE-63252
	#PR #5026
	#ue4
	#android

Change 4321719 by Bogdan.Vasilache

	UE-63378 - Fixed static analysis warnings
	#jira UE-63378

Change 4331224 by Jack.Porter

	Fixed Mobile PIE resolution for iPhone 8 Plus

	#jira UE-63191

Change 4339446 by Jack.Porter

	Modified foliage thumbnail color to better show when it is inactive
	#jira UE-30824
	#5057

Change 4339458 by Dmitriy.Dyomin

	Fixed typos in glObjectPtrLabel type definitions (contributed by TheCodez)
	#4920
	#jira UE-62368

Change 4339460 by Dmitriy.Dyomin

	Fixed: bRenderInMainPass on SkeletalMeshes doesn't work on Mobile
	#jira UE-59077

Change 4339523 by Sorin.Gradinaru

	UE-61351 Error: Failed to send -1 bytes of data to RemoteConnection spammed in the editor log when closing RemoteSession on device during connection

	#jira UE-61351
	#4.21

	Not an real issue. The message is issued whenever the host (or the client) tries to send messages through an inactive channel. There is a "/ping" message sent back and forth between the host and the client, with high frequency (hence the spam) - if this message is no longer received, the host (or the client) decides to terminate the connection.

	"Downgrading" the message from Error to Log, to avoid spamming the log on release builds.

Change 4339590 by Sorin.Gradinaru

	UE-61554 Web Browser: No Transparency in 3D Widget Component on Mobile

	#jira UE-61554
	#Android
	#4.21

	Modified Web Texture Material's blend mode to "Translucent"

Change 4339595 by Sorin.Gradinaru

	[Build] UE4 Dev-Mobile - CL 4339590 - Incremental Editor Win64

Change 4339597 by Jack.Porter

	Fix static analysis CIS
	This function should be moved to SceneUtils.h and the dependency in AsyncTaskDownloadImage resolved another way.
	#jira UE-63378

Change 4339599 by Sorin.Gradinaru

	UE-56076 Android Launch On "Running..." toast intermittently doesn't appear
	#jira UE-56076
	#Android
	#4.21

	wait before getting the process list with "adb shell ps" - on some devices the list is not yet ready

Change 4339647 by Sorin.Gradinaru

	UE-54791 Planar Reflection gamma / brightness incorrect on Samsung Galaxy S5

	#jira UE-54791
	#Android
	#4.21

	The planar texture contains encoded data:
	- decode it immediately after sampling the texture
	- alpha channel was inverted during the PrefilterPlanarReflectionPS step

Change 4339654 by Sorin.Gradinaru

	UE-59697 WebBrowser SetVisibility not working on Android & iOS

	#jira UE-59697
	#4.21
	#iOS
	#Android

	SetVisibility implemented on iOS and Android's web browsers, by extending the implementation on Windows: use a list to store references to the webbrowsers in the scene , then in WebBrowserSingleton::Tick check if the cached web browsers windows or widgets ticked on the last frame

Change 4339656 by Sorin.Gradinaru

	Remove unnecessary comment in IOSPlatformWebBrowser.cpp

Change 4339666 by Bogdan.Vasilache

	[UEMOB-455] Make editor tool to dump out a device .json file for a connected Android device
	#jira UEMOB-455

Change 4339667 by Bogdan.Vasilache

	Mobile PIE bugfixes
	#jira UE-63288
	#jira UE-63282

Change 4339700 by Bogdan.Vasilache

	[bugfix] Accidentally disabled SetPreviewPlatform() call for mobile PIE simulation.

Change 4339733 by Sorin.Gradinaru

	UE-59381 Ios application default orientation

	#jira UE-59381
	#iOS
	#4.21

	- added Initial interface orientation in the generated Plist file (UIInterfaceOrientation key)
	- implemented preferredInterfaceOrientationForPresentation in the IOSViewController
	- re-arranged the orientation list in the Plist file

Change 4339781 by Sorin.Gradinaru

	UE-60716 Show cursor in Editor text boxes when focused on Android

	#jira UE-60716
	#Android
	#4.21

	Updating the widget's cursor position from the native code.
	This also overrides the fix for UE49124 Cursor in virtual keyboard and UMG don't match - initially the solution was to hide the widget's cursor.

Change 4340037 by Jack.Porter

	Added an Android Project Settings checkbox to enable detection of Vulkan device support by default. If unchecked, the -detectvulkan command line parameter can be used.

Change 4340076 by Jack.Porter

	Fix warning seen by CIS

	#jira UE-63377

Change 4340212 by Sorin.Gradinaru

	UE-63224 Android DLC profile in Project Launcher fails if there is a space in the path for the destination directory

	#jira UE-63224
	#4.21
	#Android

	Avoid enclosing path arguments in double quotes (""<path>""). MakePathSafeToUseWithCommandLine(<path>) already adds quotes when needed.

Change 4340721 by Andrew.Grant

	Fixed -vsmac argument not working with GenerateProjectFiles

	#jira nojira

Change 4340822 by Andrew.Grant

	Replaced default iOS splashcreens with UE logo
	Added missing resolutions (iPhone 5 portrait, iPad 10.5")
	Removed custom splash images from RemoteSessionApp

	#jira UE-59864, UE-61939

Change 4340857 by Chris.Babcock

	Fix virtual keyboard crashes on Android

	#jira none

Change 4341047 by Andrew.Grant

	Prevent Xcode upgrade warnings for >9.0 versions

Change 4343797 by Cosmin.Sulea

	iOS - iPhonePackager ExportCertificate command failing 100%

Change 4343823 by Sorin.Gradinaru

	UE-63334 Unreal Remote 2 does not send information about motion control

	#jira UE-63334
	#iOS
	#Android

	The functionality was commented out. Tested it for performance and it seems OK (despite the high frequency of /motion signals)

Change 4343824 by Sorin.Gradinaru

	UEMOB-185 Implement the equivalent of FAndroidJSScripting for iOS
	UE-59488 FWebBrowserWindow::UnbindUObject of IOSPlatformWebBrowser.cpp is not implemented yet

	#jira UEMOB-185
	#jira UE-59488
	#4.21
	#iOS

	New methods (using WebKit, matching the Android implementation):
	- Go back/forward
	- HandlePageLoading (loading/didCommitNavigation, loaded/didFinishNavigation)
	- HandleReceivedError (didFailNavigation)
	- execute JS code
	- controlling the client using JS commands (WKWebViewConfiguration & WKUserContentController):
		- in Android we using shouldInterceptRequest to intercept a custom resource URL (JS: XMLHttpRequest.send, document.location)
		- iOS will register handlers (JS: window.webkit.messageHandlers.<FMobileJSScripting::JSMessageHandler>.postMessage)

Change 4343845 by Sorin.Gradinaru

	Adding the signatures for FJavaWrapper's CallLongMethod, CallFloatMethod and CallDoubleMethod in the AndroidJNI.h

	#4.21
	#Android

Change 4343893 by Cosmin.Sulea

	UEMOB-465 - Add Device Output Log support for iOS
	#jira UEMOB-465

Change 4343895 by Dmitriy.Dyomin

	Fixed: DepthFade does not work in mobile emulation while MobileMSAA enabled
	#jira UE-60404

Change 4343899 by Dmitriy.Dyomin

	GitHub 4851 : Fix layer info property bNoWeightBlend not being saved after tiled landscape import (contributed by cmp-)
	#4851
	#jira UE-61437

Change 4343906 by Bogdan.Vasilache

	Editor's feature level is now saved and restored between sessions
	#jira UE-55506
	#jira UE-59688

Change 4346729 by Jack.Porter

	Fix CIS
	#jira UE-63716

Change 4347811 by Jack.Porter

	Fix dependency chain while including PIEPreviewDeviceSpecification
	#jira UE-63755

Change 4348580 by Jack.Porter

	Fix CIS issues in IOSPlatformWebBrowser
	#jira UE-63809

Change 4350092 by Jack.Porter

	Fix null pointer exception in iPhonePackager when a matching certificate cannot be found

	#jira UE-63821

Change 4350968 by Jack.Porter

	Update binaries for deployment server
	#jira UEMOB-332

Change 4353925 by Jack.Porter

	Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
	Rework PR 4912 from CL 4280211

	#jira UE-62290

Change 4354034 by Jack.Porter

	Rebuilt deployment server after backing out changes

	#jira UE-63826

Change 4354338 by Ben.Marsh

	Attempted fix for incorrect certificate errors when compiling remotely.

	* Overloaded meaning of the -Certificate argument (ie. as the output path rather than as the desired certificate when selecting a provision) was causing certificate name check to fail. Now uses a different parameter to specify the output path.
	* TVOS argument was not being passed when exporting the certificate, also causing the wrong provision/certificate pair to be selected.
	* Add support for the -bundlename argument, though it shouldn't be necessary when invoked from UBT since the UUID discovered in a previous invocation of IPP is explicitly specified.

	Since the provision UUID is already being specified to IPP, it should be able to identify the correct provision on phase -1 using this info.

	#jira UE-63859

Change 4354459 by Chris.Babcock

	Fix issue with Android PCH include files

	#jira UE-63909
	#ue4
	#android

Change 4255761 by Peter.Sauerbrei

	fix for space in manifest name
	#jira UE-63868

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-SOURCE: CL 4356719 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4356730 by chris babcock in Dev-VR branch]
2018-09-10 21:28:08 -04:00
chad garyet
59f501d62c merging over pakfile fix from dev-core
#jira none
#rb none
#lockdown nick.penwarden

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-SOURCE: CL 4346626 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4346627 by chad garyet in Dev-VR branch]
2018-09-05 21:07:27 -04:00
ben marsh
f5b6a2d7b6 Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build [at] 4336597)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 4287066 by Ben.Marsh

	BuildGraph: Prevent errors being shown when running with -listonly.

Change 4288274 by Ben.Marsh

	If unable to get dbghelp module info, fallback to use available module info (fixes PC calculations for portable stack walk)

	(Originally CL 4206596 by Josh.Engerbretson)

Change 4303760 by Ben.Marsh

	Automatically apply XML config to all platform rules objects.

Change 4304461 by Mike.Erwin

	UAT: fix breakage when cooking Blueprint projects

	Yesterday I broke this in CL 4301305. Reworked logic around the -server option was causing

	"ERROR: Server target not found. Server target is required with -server and -cook or -cookonthefly"

	This CL fixes projects that don't have a Server.Target.cs but want to -cook.

	#jira UE-60512

Change 4304652 by Ben.Marsh

	Improve error message when unable to parse the current CL from a stream.

Change 4304795 by Ben.Marsh

	Fix occasional incremental build error in AutomationScripts project. Explicit dependency on Localization output file was invalidating project dependency.

Change 4307117 by Ben.Marsh

	UAT: Fix problems making installed builds with Lumin enabled, when passing the -Clean argument to UAT.

	* UE4Build was deleting all files in the manifest before running, even if they were output by UBT.
	* Lumin was specifying AllowParallelExecutor="false" in InstalledEngineBuild.xml, which was causing each compile to be executed in isolation. Since modules are now compiled into object files separately to being linked into binaries, this was causing object files and .precompiled files to be deleted during the clean operation.
	* Individual compile tasks can now override the global "clean' option.

Change 4307187 by Ben.Marsh

	UAT: Remove code for deleting build products and retrying XGE compiles.

Change 4307411 by Chad.Garyet

	Merging 4279381 to DevBuild
	Fix for UE4Build.cs for Swarm

	#jira none

Change 4307794 by Ben.Marsh

	UBT: Add a $(TargetOutputDir) variable that can be used in UBT paths and expands to the directory containing the executable. Can be used to ensure DLLs are copied to the appropriate output folder during a build.

	Also rename the current $(OutputDir) variable (indicating the binary output directory) to $(BinaryOutputDir) to distinguish between them.

Change 4307912 by Ben.Marsh

	Remove the Embree and FBX DLLs that are checked in to Engine/Binaries/Win64, and copy them from the ThirdParty directory as part of the build process instead. This fixes issues where the editor executable is under the project directory rather than the engine directory because it's been built with custom settings (eg. as RoboRecall's editor was).

Change 4307950 by Ben.Marsh

	UBT: Add a field to the target receipt which specifies the executable to launch. Allows procedurally determining the location of the editor for a particular target.

Change 4308057 by Ben.Marsh

	UGS: Try to read the editor executable path from the target receipt, rather than guessing the executable path directly.

Change 4308651 by Ben.Marsh

	UBT: Fix project files not containing include search paths for dependent modules.

	#jira UE-62042

Change 4310103 by Ben.Marsh

	UGS: Fix exception entering custom server settings when UGS registry key does not exist.

Change 4310109 by Ben.Marsh

	UGS: Update launcher version to 1.15.

Change 4310232 by Ben.Marsh

	UBT: Catch the case where manifests are recycled if the -NoManifestChanges argument is specified.

Change 4310901 by Ben.Marsh

	UBT: Prevent continuing past manifest errors.

Change 4311049 by Ben.Marsh

	UBT: Suppress message about change to action history if the previous build product did not exist.

Change 4315494 by Mike.Erwin

	Fix backup log timestamps.

	When engine starts up, it makes a backup of previous run's log with timestamp appended. Previous code used the current engine startup time; basically recording the time it was backed up, not the time it was generated. This change honors the file's original timestamp. This way files sort properly and we get accurate information about when each log was generated.

	#jira none

Change 4318354 by Ben.Marsh

	UGS: Add proper support for DPI scaling.

Change 4318356 by Ben.Marsh

	UGS: Increase version to 1.153.

Change 4318597 by Ben.Marsh

	UGS: Make UGS launcher DPI-aware.

Change 4319205 by Ben.Marsh

	UAT: Always use the manifest for determining output files. UBT will initialize it to an empty list of files if the arguments deem it necessary.

Change 4319565 by Ben.Marsh

	UAT: Generate the manifest for each compiled target at the same time as exporting its build steps. Prevents module manifests being clobbered due to being overwritten twice.

Change 4320058 by Ben.Marsh

	UGS: Prevent "path too long" errors when enumerating files to delete. If the path is invalid, we probably never synced it in the first place, and P4 failed silently.

Change 4320559 by Ben.Marsh

	UAT: Fix ParallelExecutor not being used when XGE is not installed, and UBT being run twice for each target.

Change 4322499 by Chad.Garyet

	Adding regex to rip the first two p4 path fragments out of a project name to look for wildcard matches in the db
	Also actually now allows ability to get ids for specific projects, versus before where all ids were returned for projects that would have matched via wildcard
	Pushed to Live 8/28/18
	#jira none

Change 4323023 by Ben.Marsh

	UBT: Fix cook problems caused by copied runtime dependencies not being added to the receipt or manifest.

	#jira UE-63416

Change 4323094 by Ben.Marsh

	Add missing dependency on UnrealPak being compiled before building feature packs.

	#jira UE-63430

Change 4323330 by Ben.Marsh

	Prevent runtime dependencies being copied into installed locations.

	#jira UE-63434

Change 4325603 by Ben.Marsh

	UBT: Output a message when there is nothing to build for a target (eg. because it's an installed build)

Change 4325607 by Ben.Marsh

	UnrealPak: Prevent non-deterministic padding data when compression is disabled.

Change 4328149 by Ben.Marsh

	UBT: Fixed issue where MaxProcessorCount and ProcessorCountMultiplier settings would only affect the first class found. These values can now be configured for each executor separately, via the LocalExecutor, ParallelExecutor and SNDBS sections in BuildConfiguration.xml.

Change 4330605 by Ben.Marsh

	UGS: When browsing for a project file, always default to the directory containing the current selection.

	#jira UE-63474

Change 4333349 by Ben.Marsh

	PR #5052: Remove OutputLines = new List<string>(); (Contributed by LizardThief)


Change 4334312 by Ben.Marsh

	Update UGS version to 1.154, launcher version to 1.16.

Change 4335790 by Ben.Marsh

	UAT: Add a script that checks that the following macro pairs are correctly balanced within every source file in the engine:

	* PRAGMA_DISABLE_OPTIMIZATION and PRAGMA_ENABLE_OPTIMIZATION
	* PRAGMA_DISABLE_DEPRECATION_WARNINGS and PRAGMA_ENABLE_DEPRECATION_WARNINGS
	* THIRD_PARTY_INCLUDES_START and THIRD_PARTY_INCLUDES_END
	* PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS
	* PRAGMA_DISABLE_UNDEFINED_IDENTIFIER_WARNINGS and PRAGMA_ENABLE_UNDEFINED_IDENTIFIER_WARNINGS
	* PRAGMA_DISABLE_MISSING_VIRTUAL_DESTRUCTOR_WARNINGS and PRAGMA_ENABLE_MISSING_VIRTUAL_DESTRUCTOR_WARNINGS"
	* BEGIN_FUNCTION_BUILD_OPTIMIZATION and END_FUNCTION_BUILD_OPTIMIZATION
	* BEGIN_FUNCTION_BUILD_OPTIMIZATION and END_FUNCTION_BUILD_OPTIMIZATION
	* BEGIN_SLATE_FUNCTION_BUILD_OPTIMIZATION and END_SLATE_FUNCTION_BUILD_OPTIMIZATION

	Additional projects to scan may be specified with the -Project=<FileName> argument.

Change 4336441 by Ben.Marsh

	UGS: Halve P4 update rate (now once every 2m)

Change 4336597 by Ben.Marsh

	UAT: Add a command for stashing and unstashing a target. Useful for A/B testing. Example syntax:

	Stashing:

	RunUAT StashTarget -Name=UE4Editor -To=D:\TempEditor
	RunUAT StashTarget -Name=UE4Editor -Platform=Win64 -Configuration=Debug -To=D:\TempEditor
	RunUAT StashTarget -Name=ShooterGameEditor -Platform=Win64 -Configuration=Debug -Project=D:\P4\Samples\ShooterGame\ShooterGame.uproject -To=D:\TempEditor

	Unstashing:

	RunUAT UnstashTarget -From=D:\TempEditor

Change 4301305 by Mike.Erwin

	UAT: support multiple Client and Server targets per project.

	AutomationTool now accepts values for its -client and -server parameters.

	So if you have ClientA.Target.cs and ClientB.Target.cs, run UAT with -client=ClientB to make a build of that variant.

	If there is only one target of a particular type (true for all projects up to this point) UAT will detect and use it. If more than target is found, you must specify which one to use. Existing build commands should continue working as before.

	Project.Properties.Targets is now a List instead of a Dictionary. RocketSamples.cs is updated here, scripts in other branches might need similar changes. Tested ok in Dev-Core, 4.20, and Fortnite-Main.

	#jira UE-60512

Change 4304662 by Ben.Marsh

	Always pass an explicit file list into BuildPatchTool when chunking a build. Less prone to errors than filtering files out from a build.

Change 4304874 by Ben.Marsh

	UBT: Add an option to produce an error whenever a module manifest is changing, to make it easier to track down issues with files being modified.

Change 4319181 by Ben.Marsh

	UAT: Use enum for platform and configuration settings in UE4Build.cs.

#rb none

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-SOURCE: CL 4336671 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4336684 by ben marsh in Dev-VR branch]
2018-08-31 12:14:00 -04:00
jason bestimt
f5c215ebfe #CodeReview: jason.bestimt,nick.whiting,mike.beach
--------------------------------------
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core [at] 4285612)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3836829 by Ben.Marsh

	UBT: Fix ability to precompile plugins from installed engine builds.

Change 3839519 by Ben.Marsh

	UBT: Simplify configuring bPrecompile and bUsePrecompile settings for modules. Each rules assembly can now be configured as installed, which defaults the module rules it creates to use precompiled data.

Change 4042043 by Steve.Robb

	GitHub #4705 : Added weak lambda's for delegates and multicast delegates.

Change 4042056 by Robert.Manuszewski

	Optimized Mark Phase of GC by up to 10ms by making it run in parallel and removing a huge array presize which we didn't need.

Change 4042104 by Robert.Manuszewski

	Set the minimum GC cluster size to 5 so that GC doesn't have to process micro clusters which are more expensive than processing individual objects

	+ Exposed the minimum cluster size to ini and project settings as gc.MinGCClusterSize
	+ Added the ability to sort clusters by name/object count/mutable object count/referenced clusters count when dumping them with gc.ListClusters command

Change 4042377 by Robert.Manuszewski

	Reworked how GC and other threads (ALT specifically) interact - GC will now notify the ALT it wants to run and ALT will immediately try to finish its current work to allow that. Also the entire ALT tick is now protected against GC running at the same time to improve ALT stability.

	+ added gc.ForceCollectGarbageEveryFrame console variable that triggers a forced GC every frame

Change 4042427 by Robert.Manuszewski

	Changed FGCCSyncObject to use events when waiting for GC to finish so that it doesn't spin on non-game threads when GC is running

Change 4042482 by Robert.Manuszewski

	Unhashing unreachable objects (ConditionalBeginDestroy) will now also be done incrementally, just like the purge phase of Garbage Collection

Change 4042635 by Robert.Manuszewski

	Fix for a potential assert when incremental purge garbage is pending and something forces a full purge

Change 4044092 by Steve.Robb

	Fix for forward declared CoreUObject weakobject types in delegates when building in Clang.

Change 4044102 by Robert.Manuszewski

	Fix for a possible hang when worker threads are preventing GC from running and something is later trying to FlushAsyncLoading with the Async Loading Thread enabled

Change 4044113 by Steve.Robb

	Another Clang fix.

Change 4044160 by Robert.Manuszewski

	Disregard For GC pool will now be enabled by default in cooked builds

Change 4044287 by Steve.Robb

	Typo fix.

Change 4047723 by Graeme.Thornton

	TBA: Fixes for import/export name cache and object resolving

Change 4048015 by Graeme.Thornton

	TBA: Weak/Soft/Lazy pointer serialization changes

	* Remove FWeakObjectPtr::Serialize, move it's logic into, and replace usages of with calls to, FArchiveUObject::SerializeWeakObjectPtr(). Ensures that something is always sent to the archive so that structured archives can be kept happy in the future.
	* Added Weak/Soft/Lazy pointer handling to the structured archive slot interface and all the formatters. Binary formatters just forward the call onto their inner and text archives store as a string path reference.
	* FArchiveUObjectFromStructuredArchive caches all these pointer types and stores indices in the binary block, same as with a UObject*. All pointers are then forwarded to the underlying formatter in one go on finalization.

Change 4048021 by Steve.Robb

	Fix for binding an unbound TFunction to another TFunction with a different signature.  Also all null pointers now count as unbindings, not just nullptr.
	TIsMemberPointer added.
	TIsATFunction and TIsATFunctionRef renamed to remove the 'A's.

Change 4048544 by Robert.Manuszewski

	Fixing ConditionalBeginDestroy profiling after changes to incremental CBD.

Change 4051028 by Graeme.Thornton

	TBA: ArchiveFromStructuredArchive adapter uses Inner to determine if it is outputting to text, and sets it's own ArIsTextFormat to false

Change 4051056 by Graeme.Thornton

	TBA: High level tagged property / UObject base class text serialization
	 - UObject serialize converted to structured archive
	 - Properties written to text individually with text tags, and then binary adapted values
	 - Only saves, doesn't load

Change 4051111 by Graeme.Thornton

	TBA: Temporarily disable loading of text assets until tagged property serialization path is fixed up

Change 4051154 by Graeme.Thornton

	TBA: Convert a few uobject serializers to structured archive format for example purposes

Change 4051181 by Graeme.Thornton

	TBA: Added default structured archive implementation of SerializeItem to UProperty, which just calls the FArchive version on an FArchiveUObjectFromStructuredArchive adapter. Implemented structured archive SerializeItem for UArrayProperty

Change 4051197 by Graeme.Thornton

	TBA: ObjectProperty text serialization

Change 4051216 by Graeme.Thornton

	Restored a modified FWeakObjectPtr::Serialize function to keep backwards compatibility in code I don't have access to.

Change 4051261 by Graeme.Thornton

	TBA: Convert UMetaData to structured archive

Change 4051374 by Steve.Robb

	Incorrect assert removed.

Change 4051562 by Robert.Manuszewski

	Adding stats for the new GC internal functions

Change 4051614 by Graeme.Thornton

	TBA: Removed UProperty::SerializeItem(FArchive, ...) and replaced with UProperty::SerializeItem(FStructuredArchive::FSlot, ...). Fixed up most of them to work properly and added adapters in for any that were non-trivial.

Change 4052512 by Graeme.Thornton

	TBA: Temporary workaround for softobjectptr and lazyobjectptr uproperties not serialization anything when they know the archive is a reference collector. They should always be serializing their pointers and letting the underlying archive itself ignore them.

Change 4053917 by Robert.Manuszewski

	Clustered objects from clusters that are no longer reachable will now be marked as unreachable immediately when gathering unreachable objects

Change 4053919 by Robert.Manuszewski

	Added the ability to disable incremental BeginDestroy in ini/project settings

Change 4055518 by Daniel.Lamb

	Fixup for deterministic audio generation issue.
	Submitted on behalf of Rich.Whitehouse

	#jira nojira
	#test prefilght automated test.

Change 4056854 by Graeme.Thornton

	TBA: Added a test asset to EngineTest which contains all the different property types and test cases.

Change 4056858 by Graeme.Thornton

	TBA: Updated USetProperty to proper structured archive usage

Change 4056872 by Graeme.Thornton

	TBA: Add map property field to test object

Change 4056873 by Graeme.Thornton

	TBA: Convert UMapProperty to full structured archive

Change 4056994 by Graeme.Thornton

	TBA: Converted FText over to structured archive. Implemented saving, but not loading.

Change 4059728 by Ben.Marsh

	UBT: Add support for using adaptive non-unity builds when the engine and project are in separate repositories.

Change 4059805 by Graeme.Thornton

	Fixed typo in text serialization. Fixes CIS automation test errors

Change 4060007 by Graeme.Thornton

	TBA: FArchiveFromStructuredArchive will now access it's host slot lazily, i.e. only when a value is actually written to the archive.

Change 4060092 by Stefan.Boberg

	Added optimized Windows console window output path to GenericConsoleOutput since this slowed down cooking considerably (2 minutes spent in wprintf alone for one large dataset)

	When stdout is attached to a console we use the WriteConsoleW function instead of wprintf since the latter is very slow especially in unbuffered mode which the engine currently configures for stdout (see setvbuf call in LaunchEngineLoop.cpp).

	At some point we should reconsider this buffering policy since it's likely to slow down other platforms as well but I wanted to do a safe change for now as I don't yet fully understand why the setvbuf call is there in the first place.

Change 4060108 by Stefan.Boberg

	Introduced some additional target platform utilities to help with asset cook optimizations

	* We now assign each ITargetPlatform a zero-based ordinal value
	* Introduced FTargetPlatform and FTargetPlatformSet types to help store platform references and platform sets efficiently.

	These are not currently used in the engine but are designed to replace the existing ITargetPlatform/string/FName representations in the cooking data structures.

Change 4060143 by Graeme.Thornton

	Undo //UE4/Dev-Core/Engine/Source/Runtime/... changelist 4060007

	Needs some other changes that I haven't checked in yet...

Change 4062432 by Ben.Marsh

	Fix error message when enumerating P4 changes.

Change 4062648 by Ben.Marsh

	Add missing p4 integration action.

Change 4063620 by Graeme.Thornton

	Integrated a fix from UDN where the engine would crash when trying to load a very small encrypted file (<16bytes) from a pak file, where the read address wasn't already aligned to the AES block size.

	(https://udn.unrealengine.com/questions/431989/crash-while-reading-a-very-small-file-in-encrypted.html)

Change 4066963 by Robert.Manuszewski

	Fixing GC cluster verification code reporting false positives when a cluster is referencing another cluster through 'mutable' objects list.

Change 4067133 by Robert.Manuszewski

	Changed log verbosity when reporting individual cases of GC cluster assumption violations as they are followed by an asser anyway and this way we get the chance to see all issues before we assert at the end of these checks.

Change 4067443 by Steve.Robb

	FString can now be constructed from any char pointer type and length.

Change 4068156 by Steve.Robb

	Fix necessary because of FString constructor change in CL# 4067443.

Change 4070258 by Graeme.Thornton

	Fixes for VSCode

Change 4070372 by Graeme.Thornton

	TBA: Script struct serialization to structured archives

Change 4071913 by Ben.Marsh

	Move bulk of the code for UnrealPak into an engine developer module, so it can be used in the editor.

Change 4071914 by Ben.Marsh

	Missing files.

Change 4071937 by Ben.Marsh

	Missing header.

Change 4072015 by Ben.Marsh

	Fixes for compiling PakFileUtilities as part of the editor.

Change 4072826 by Steve.Robb

	TBitArray::Reserve() added.
	TBitArray::Add() overloaded to allow adding multiple bits.
	TSparseArray::Reserve() optimized to call the overloaded Add().

Change 4073271 by Daniel.Lamb

	Fixed add patch tier in project launcher passing the wrong commandline option to UAT.

	#test none

Change 4074708 by James.Hopkin

	#core Removed redundant Casts

Change 4074763 by Steve.Robb

	Fix for TSparseArray::Reserve() size.

Change 4076063 by Ben.Marsh

	Add an "UnrealPak" commandlet with the same functionality as the standalone UnrealPak program. Invoke by running the editor with -run=UnrealPak and the standard UnrealPak commandline options.

Change 4077064 by Robert.Manuszewski

	Fixing compile error in PakFileUtilities

Change 4077144 by Graeme.Thornton

	TBA: TextAssetCommandlet improvements

	* Collect lists of broken assets during roundtrip tests and print a summary of packages that failed each phase at the end
	* After resaving as text, load the file back as a plain JSON hierarchy to ensure the output was valid

Change 4077412 by Ben.Marsh

	Set the correct exit code for UnrealPak. Should return 0 on success, not 1.

Change 4077760 by Graeme.Thornton

	TBA: Loading fixed for tagged property serialization

	Includes conversion of all UProperty::ConvertFromType() and SerializeFromMismatchedTag() functions to use structured archives

	Lazy initialization of FArchiveFromStructruredArchive when loading, to support the possibility of an adapter being create around an object property serialize call to its inner UStruct, which then decides not to do anything and return false. Stops the ArchiveFromStructuredArchive from consuming the slot and getting upset later on when we try to serialize normal tagged properties from it.

	Disabled lazy bulk data loading from text assets. Requires a bigger change to make it work.

	Added some debug checks to json input formatter which track the current value stack size when a new object is pushed onto the stack, and makes sure that the stack has returned to the same size when the object is popped. Catches cases where we unpack an array/stream to the value stack but then don't consume all the items.

Change 4078800 by Ben.Marsh

	Change UAT to using the editor's UnrealPak commandlet rather than invoking the standalone UnrealPak executable. To improve performance when building several PAK files, also add a new -batch=<file> command which reads commands to execute in parallel from a text file.

Change 4079745 by Graeme.Thornton

	TBA: Migrated a couple of UObject Serialize functions to FStructuredArchive (SoundCue / MaterialExpressions / Editor strip flags)

Change 4079847 by Graeme.Thornton

	TBA: Add 'FindMismatchedSerializers' mode to text asset commandlet, which dumps out a list of all UClasses which don't have the CLASS_MatchedSerializers flag, meaning we can't guarantee the have Serialize functions for FArchive AND FStructuredArchive, therefore we can't use the new structured archive based serialize path. Should only ever be native instrinsic classes as UHT takes care of all other cases.

Change 4079925 by Ben.Marsh

	Fix incorrect assignment when deriving name for chunked pak file.

Change 4080214 by Ben.Marsh

	Move the ThreadPoolWorkQueue class into DotNETUtilities so it can be used by other projects.

Change 4082394 by Graeme.Thornton

	CIS fix for variable shadowing warning

Change 4082583 by Ben.Marsh

	Add a IBinarySerializable interface for types that support reading from a BinaryReader and writing to a BinaryWriter. Implementing IBinarySerializable implies a constructor taking a BinaryReader argument is available for deserializing.

Change 4082652 by Ben.Marsh

	Fix FileReference.Directory not returning a directory with a trailing backslash for files in the root directory.

Change 4082755 by Graeme.Thornton

	Fixed an erroneous usage of TUniquePtr<uint8>as a pointer to a uint8 array when creating pak files. Caused a crash when compression was enabled, and has probably surfaced because pak generation is now done by an editor commandlet rather than a standalone program.

Change 4082756 by Graeme.Thornton

	Fixed some incorrect documentation for pakfile compressed chunk headers

Change 4082883 by Graeme.Thornton

	Static analysis warning fix

Change 4082912 by Ben.Marsh

	Move ExceptionUtils into DotNETUtilities.

Change 4085291 by Graeme.Thornton

	TBA: In the Json output formatter, write float and double values out with enough precision for successful roundtripping. Added some debug only code which will immediately reconvert the string back to its original value and compare the the input

Change 4085523 by Graeme.Thornton

	TBA: Remove only explicit usage of DECLARE_FSTRUCTUREDARCHIVE_SERIALIZER. Should only be used from UHT generated code.

Change 4086037 by Robert.Manuszewski

	Fix for a potential race condition when two threads want to acquire GC lock

Change 4088655 by Graeme.Thornton

	Pak creation now uses the bEnablePakSigning setting from the crypto config json file

Change 4091474 by Steve.Robb

	Fix for TStaticBitArray::FindFirstSetBit() and TStaticBitArray::FindFirstClearBit().
	Unused variables removed.

Change 4093632 by Steve.Robb

	CIS fixes.

Change 4093656 by Graeme.Thornton

	Build fix

Change 4093744 by Ben.Marsh

	Allow per-chunk settings for whether to enable compression in UnrealPak.

Change 4099712 by Gil.Gribb

	UE4 - Fixed rare case where insufficient space was preallocated for cooldown ticks.

	#jira UE-59686

Change 4099912 by Stefan.Boberg

	Cooking timer optimizations:

	- Replaced data structures for FScopeTimer and FHierarchicalTimerInfo. Previous implementation used FString for many things and caused *lots* of heap and string concatenation activity. Replaced with a compile-time node id (using __COUNTER__) and raw string literals.
	- Removed PERPACKAGE_TIMER support (was disabled by default and was difficult to test)
	- Made it possible to toggle OUTPUT_TIMING and ENABLE_COOK_STATS independently
	- Removed some extremely tight timers because the overhead from calling QPC significantly exceeded the measured code

	This change shaved some 15% off a clean cook of Fortnite WindowsClient (en) with fully populated local DDC

Change 4100519 by Stefan.Boberg

	Quick fix for Linux build issue introduced in 4099927

Change 4105327 by Stefan.Boberg

	Cooker: Changed FHierarchicalTimerInfo so it uses a linked list for tracking child nodes, to be able to deal with any child count. Previously we assumed there would never be more than 9 children but it turns out there are cooker modes that need more.

	Fixes check when using -FullLoadAndSave to cook

Change 4105448 by Stefan.Boberg

	- Fixed Linux build warning re: member initialization order
	- Also eliminated OUTPUT_HIERARCHYTIMERS/CLEAR_HIEARCHYTIMERS macros (plain functions are fine)
	- Moved finishing-up code for FullLoadAndSave() to TickCookOnTheSide() call site to improve timer output. Previously some of the scopes would not have been closed before printing and thus the output was misleading.

Change 4109031 by Ben.Marsh

	Attribute-driven Perforce wrapper (old Epic Friday project). Offers a more complete implementation than the current P4 wrapper in UAT without requiring any platform-specific libraries. Uses the Python binary output for parsing.

Change 4109588 by Ben.Marsh

	UBT: Add extension methods for serializing a nullable type to a BinaryReader/BinaryWriter.

Change 4109595 by Ben.Marsh

	Missing project file for DotNETUtilities.

Change 4110724 by Stefan.Boberg

	Removed annotation map locking in UObjectMarks, eliminating around one minute (~3.5%) from Fortnite cook time.

	The locking was redundant since the annotation maps are managed per thread anyway.

Change 4111304 by Ben.Marsh

	UAT: Add support for setting a status message through the log class. Allows writing transient messages (eg. progress messages) which will be cleared out before writing other messages. Best used through the LogStatusScope class, which can set a status message for the duration of a using() block.

	As part of this change, the console no longer has to be added as a dedicated trace listener. Since we already special-case this listener when formatting log output, it's easier to just keep the implementation separate to the other trace listeners.

Change 4112708 by Steve.Robb

	Fix for TBitArray::MaxBits in assignment.

Change 4114133 by Stefan.Boberg

	Tweaked how low-level memory (LLM) tracker is implemented to reduce overheads.

	Previously FMemory functions would acquire the LLM singleton and call OnLowLevelFree/OnLowLevelAlloc etc which would check the bIsDisabled flag and early out if it was set. Due to how frequently these functions were called this ended up costing quite a bit.

	- This change makes the flag a static member variable instead of a member variable and therefore enables a simpler early-out to be implemented.
	- The singleton getter is also simplified to avoid hitting the threadsafe singleton construction path on every call.
	- The enable flag is no longer TAtomic - this also incurs extra overhead for no clear benefit

	Shaves approximately 3.5% (one minute) off a Fortnite cook test scenario (using -FullLoadAndSave)

Change 4115010 by Robert.Manuszewski

	Fixing CIS

Change 4115249 by Robert.Manuszewski

	Fixing async loading code asserts when exiting game very early due to an error

	#jira UE-56267

Change 4117091 by Ben.Marsh

	Prevent doubled-up lines when writing status updates with console log verbosity.

Change 4117207 by Ben.Marsh

	UGS: Do not include executables in diagnostics zip file, and ignore "no such files" error when cleaning workspace.

Change 4119175 by Ben.Marsh

	UGS: Fix crash writing version files when directory does not already exist.

Change 4119987 by Ben.Marsh

	UGS: Show a dialog box while the launcher is updating executables from Perforce, which allows cancelling the operation if necessary. Allow setting the username on the settings window, and prompt for login credentials if necessary. Should prevent situations where users have to update settings from the command prompt.

	Holding down shift during launch now shows the settings dialog rather than an immediate prompt to launch the unstable version (unstable version is shown as a checkbox on this dialog).

Change 4119991 by Ben.Marsh

	Update version number for UGS launcher to 1.13.

Change 4121943 by Robert.Manuszewski

	Don't use FArchiveAsync2 for reading packages with non-async path in editor builds as its performance is worse than the standard archive's (saves about 1 minute when doing larger cooks and 7 seconds when loading into PIE)

Change 4122592 by Steve.Robb

	GitHub #4762 : Improve wording and grammar of Math comments
	Also includes improved accuracy in FMath::ComputeBoundingSphereForCone().

Change 4122819 by Stefan.Boberg

	Don't call CreateDirectory redundantly when opening files for writing using FFileManagerGeneric::CreateFileWriter

	This change avoids calling IPlatformFile::CreateDirectoryTree if possible since this is a very expensive function especially for deep hierarchies as it performs directory creation from the root directory onwards instead of from the leaf downwards. That function should also be fixed but this change improves performance in the meantime.

Change 4122872 by Stefan.Boberg

	CreateDirectoryTree now creates directories leaf-to-root instead of the other way around. This is much more efficient since we don't spend time on system API calls for directories which already exist. This accounted for a very large amount of CPU time in cooking as the full target file directory hierarchy would be "created" for every single output file.

Change 4123109 by Stefan.Boberg

	- Disable overlapped I/O in editor / cooker. Synchronous I/O reduces the number of syscalls and Windows performs prefetching on our behalf anyway for sequential reads
	- Eliminated syscall which was issued for every write to update cached file size -- since we're the only writers to the file (file access allows read sharing at most) we can authoritatively update the file size on write completion

Change 4123455 by Ben.Marsh

	PR #4775: New build param PCHMemoryAllocationFactor to set /Zm VS build param. (Contributed by lucaswall)


Change 4124207 by Ben.Marsh

	UBT: Remove some unnecessary indirection for generated code paths.

Change 4124217 by Ben.Marsh

	UBT: Remove another unused variable from UEBuildModuleCPP.

Change 4124377 by Stefan.Boberg

	In IPlatformFile::DeleteDirectoryRecursively, attempt to delete file first and if it fails clear the readonly flag and try again

	Previously there was a call to clear the readonly flag for every deleted file and this is a waste of resources 99% of the time. The SetFileAttributes call accounted for a significant amount of time during cooker sandbox directory deletion

Change 4125071 by Stefan.Boberg

	Some tweaks to FQueuedThreadPoolBase scheduling and memory management

	- Explicitly pass in false for TArray::RemoveAt(..., bool bAllowShrinking) argument to prevent memory reallocation when arrays are drained and inevitably repopulated shortly afterwards
	- Use a MRU strategy instead of LRU when picking a thread to wake up. The MRU thread is the most likely to have a 'hot' cache for the stack etc. Picking from the back of the array also happens to be cheaper since
	no memory movement is necessary when RemoveAt is called. (This was the strategy in place before CL2600362 which seems to have changed it unintentionally)
	- Release lock as soon as a thread has been chosen, before asking the worker thread to wake up and do the work

Change 4126132 by Ben.Marsh

	UAT: Detect when stdout is redirected and prevent using backspace characters to move the cursor.

Change 4126867 by Graeme.Thornton

	TBA: Fix tagged binary formatter

Change 4127010 by Robert.Manuszewski

	AnimScriptInstances created at runtime will now also be added to the owning omponent's cluster to avoid GC issues.

Change 4127932 by Ben.Marsh

	WorkspaceTool: Reduce unnecessary logging of status messages when console output is not redirected.

Change 4129050 by Ben.Marsh

	UGS: Check for NET Framework 4.5 being installed before running the installer. Also fix warning trying to kill existing UGS instances before upgrade.

Change 4129459 by Graeme.Thornton

	TBA: TextAssetCommandlet - When outputting converted assets to an output path, replicate the workspace relative path in the output directory

Change 4129515 by Graeme.Thornton

	TBA: Add EnterRecord overload that allows outputting of available field names when loading.

Change 4129517 by Graeme.Thornton

	TBA: Tagged properties are written out as named fields on the "Properties" record, rather than as a stream with a null tag at the end

Change 4129518 by Graeme.Thornton

	TBA: Added a local const bool to allow easy hacking out of text asset loading support

Change 4129558 by Graeme.Thornton

	TBA: Build fix for textasset-less configs

Change 4129614 by Ben.Marsh

	UGS: Main window is now restored to normal size when activated by clicking on the tray icon.

	#jira UE-60490

Change 4129618 by Ben.Marsh

	UGS: Speculative fix for unreproduced exception accessing disposed window while shutting down.

Change 4131936 by Robert.Manuszewski

	Removing some WIP code accidentally checked in with CL #4121943

Change 4133490 by Ben.Marsh

	UGS: Allow the $(Change) variable to be used in more places than just the context menu.

	#jira UE-60573

Change 4133550 by Ben.Marsh

	UGS: Setting for whether or not to use incremental builds is now exposed through the variable "$(UseIncrementalBuilds)" for use by custom build steps.

	#jira UE-60554

Change 4133681 by Ben.Marsh

	UGS: A per-project list of folders and extensions to be deleted by default when running the 'clean workspace' tool can now be specified through the <ProjectDir>/Build/UnrealGameSync.ini file. Settings may be specified for an individual branch (via a category with the depot path to the project) or for wherever the project is currently open (via the [Default] category).

	The SafeToDeleteFolders list specifies a substring that will be checked against folder paths. Anything containing this folder will be marked as safe for delete by default.

	The SafeToDeleteExtensions list specifies a list of extensions for files that can always be deleted.

	Example:

	 [Default]
	+SafeToDeleteFolders=/MyGame/Test/
	+SafeToDeleteFolders=/DataService/
	+SafeToDeleteExtensions=.xx1
	+SafeToDeleteExtensions=.xx2

	#jira UE-60575

Change 4135449 by Ben.Marsh

	Fix allowing use of Job objects on Windows platforms (debug code submitted by mistake)

Change 4135730 by Ben.Marsh

	UBT: Plugins can now be enabled and disabled from the .target.cs file (for targets that do not use the shared compile environment), by compiling the list of enabled/disabled plugin names into the Projects module.

Change 4135823 by Ben.Marsh

	UBT: Remove legacy code to handle disabling optional plugins; now that this is compiled into the target, it will work for any plugins we choose.

Change 4135945 by Ben.Marsh

	UBT: Fix error running programs with no explicitly enabled or disabled plugins.

Change 4137207 by Ben.Marsh

	UGS: Align all badges with the same name, to make it easier to see which CIS steps are being run. Allow overriding the slot taken by a particular badge by calling it "SlotName:LabelName".

Change 4137311 by Stefan.Boberg

	Removed child cooker support.

	In practice it is not a useful feature as it provides no performance improvement (quite the opposite in fact) and adds testing and maintenance complexity.

Change 4137393 by Ben.Marsh

	UGS: Fix display of multiline errors in the status panel.

Change 4141708 by Steve.Robb

	GitHub #3631 : Incorrect default argument in WeakObjectPtrTemplate

	#jira UE-45490

Change 4146655 by Stefan.Boberg

	Removed FullGCAssetClasses logic - no longer necessary nor useful

Change 4147318 by Ben.Marsh

	UGS: Compress build badges in a column if it shrinks below the size that they would be visible.

Change 4148207 by Ben.Marsh

	UGS: Added support for showing the latest completed build from a specific list of badges in the status panel. To declare a badge as one that should appear in the status panel rather than the CIS column, add it to the project's UnrealGameSync.ini in the project or [Default] section like so:

	+ServiceBadges=RoboMerge

Change 4148282 by Stefan.Boberg

	Fixed bug in UCookOnTheFlyServer::GetCookOnTheFlyUnsolicitedFiles - UnsolicitedFiles should be passed by reference not by value

Change 4148344 by Stefan.Boberg

	Fixed minor indentation error (most likely caused by sloppy merge)

Change 4148521 by Stefan.Boberg

	Removed accidentally checked in PRAGMA_DISABLE_OPTIMIZATION from CookOnTheFlyServer.cpp

Change 4148639 by Ben.Marsh

	UGS: Fix tooltips not showing for changes that have description badges.

Change 4149373 by Ben.Marsh

	UGS: Allow adding additional columns to display particular badges by adding entries from the project config file. Example syntax:

	+Columns=(Name="Desktop",MinWidth=50,DesiredWidth=100,Weight=3,Badges="Editor")
	+Columns=(Name="Mobile",MinWidth=50,DesiredWidth=100,Weight=3,Badges="IOS,Android")

	Same form can be used to control how default columns are displayed (though badge settings are ignored). Also allow PerforceMonitor to detect local changes to project config files and update settings automatically.

Change 4149399 by Ben.Marsh

	UGS: Update version to 1.143.

Change 4155660 by Steve.Robb

	PROJECTION and PROJECTION_MEMBER macros which provide the correct behavior when creating projections using functions which are overloaded or use default arguments.

Change 4157117 by Ben.Marsh

	Fix warning due to plugins disabled in .target.cs file.

Change 4158011 by Ben.Marsh

	UBT: Add a check that the UnrealHeaderTool target file exists, rather than throwing an exception when reading it fails.

Change 4158646 by Ben.Marsh

	UGS: Fix exception when login is discovered to have expired during a workspace update.

Change 4158678 by Ben.Marsh

	UGS: Fix an exception on shutdown due to the icon being hidden after it's already been disposed.

Change 4158683 by Ben.Marsh

	UGS: Add an unhandled exception filter which sends the exception data to the backend.

Change 4159131 by Ben.Marsh

	UGS: Reduce the number of characters displayed for build badges based on the available space.

Change 4159194 by Graeme.Thornton

	TBA: Fix incorrect map property conversion code when converting an old property that contains a map with different key/value types

Change 4159239 by Steve.Robb

	Improved readability and compliance with coding standards.

Change 4159246 by Ben.Marsh

	UGS: Allow syncing projects where source code is not available (and various version files don't exist).

	#jira UE-60985

Change 4159286 by Ben.Marsh

	UGS: Remove requirement for UE4Editor.target.cs to be visible in the depot in order to open a project.

	#jira UE-60986

Change 4159302 by Ben.Marsh

	UGS: Update version to 1.144.

Change 4160308 by Ben.Marsh

	All staging client executables for blueprint projects.

	#jira UE-60983

Change 4161567 by Steve.Robb

	GitHub #4816 : UE-60771: Handle escaped double quote in FParse::LineExtended

Change 4162641 by Ben.Marsh

	UGS: Allow customizing the position of custom columns, via the Index=N attribute.

Change 4162647 by Ben.Marsh

	UGS: Update version to 1.145.

Change 4165319 by Robert.Manuszewski

	PR #4812: Fix inconsistent command-line argument handling under Windows (Contributed by adamrehn)


Change 4166150 by Ben.Marsh

	UGS: Include *.inl when looking for code changes.

Change 4166551 by Steve.Robb

	Whitespace fixes caused by a bad merge.

Change 4168483 by Ben.Marsh

	UGS: Add a more useful error if a file to be synced exceeds the max allowed path length.

Change 4168490 by Ben.Marsh

	UGS: Update version to 1.146.

Change 4168551 by Ben.Marsh

	UBT: Move bBuildLargeAddressAwareBinary into an exposed setting.

Change 4168560 by Ben.Marsh

	UBT: Remove static config variable for controlling which configuration of UHT to use.

Change 4171296 by Ben.Marsh

	UGS: Move the check for overlong paths earlier.

Change 4171531 by Ben.Marsh

	UBT: Fix exception if BuildConfiguration.xml contains an unknown category.

Change 4183371 by Robert.Manuszewski

	Fix for a crash in Async Loading Graph's CheckCycles when GC kicks in on the game thread and forces ALT to exit early

Change 4184312 by Ben.Marsh

	UGS: Update version to 1.148

Change 4184480 by Robert.Manuszewski

	Removing unused async loading stat

Change 4186390 by Ben.Marsh

	UBT: Format XML validation errors in a format that allows double-clicking on the message in Visual Studio.

Change 4188644 by Ben.Marsh

	UBT: Add the MakePathSafeToUseWithCommandLine() function to UBT.

Change 4188647 by Ben.Marsh

	UBT: Fix exception in target receipt when architecture is null.

Change 4189617 by Ben.Marsh

	Change FileSystemReference, FileReference and DirectoryReference objects to use OrdinalIgnoreCase comparisons without creating a separate copy of the string to compare. The filesystem does not use the invariant culture, and it can produce the wrong results in some cases (the ordinal comparison is faster, too).

Change 4189740 by Ben.Marsh

	UAT: Remote code to build UnrealPak when packaging; we use the editor now.

Change 4189860 by Ben.Marsh

	UGS: Make the filter for excluding automated lighting rebuilds more explicit.

Change 4190082 by Ben.Marsh

	Fixes to allow enabling edit and continue for Windows builds. Have experienced quite a few VS crashes when testing it in editor; not yet recommended for general use.

	- Allow edit and continue for any configuration, not just debug.
	- Fixed PDB errors compiling files that use a shared PCH with edit and continue enabled. Path to the generated PDB file was using the wrong directory.
	- Removed code that tracks PDB output files, since they're modified multiple times during a build.
	- Enable debug information when compiling generated CPP files, since it causes errors if the shared PCH PDB doesn't have the same option.
	- Disable support for remote execution of steps that modify the PDB, since the same file has to be modified many times. Remote execution causes the PDB files to be corrupted. Unfortunately, this makes E&C builds significantly slower.

	#jira

Change 4192949 by Ben.Marsh

	UBT: Minor tidy-up (merging UEBuildBinary.Build and UEBuildBinary.SetupOutputFiles)

Change 4193218 by Ben.Marsh

	Fix formatting.

Change 4197252 by Mike.Erwin

	UAT: Fix log output w/ correct count of non-code projects.

	#jira none

Change 4197941 by Ben.Marsh

	UGS: Add support for DebugGame editors that have an executable with a DebugGame suffix.

Change 4197964 by Ben.Marsh

	UGS: Prevent attempts to automatically reopen projects while a modal dialog is up, or the workspace is syncing.

Change 4198144 by Ben.Marsh

	UGS: Prevent modal dialogs when login expires in P4, and prompt for password when hitting "retry".

Change 4198413 by Ben.Marsh

	UGS: Always show the main window when launched manually, and run with -RestoreState when launched at startup. Also add a couple more places that save the visibility state, since logging off seems like it can terminate the process abrubtly.

Change 4198779 by Ben.Marsh

	UBT: Allow generating manifests to any arbitrary locations with the -Manifest=<Path> argument.

Change 4198825 by Ben.Marsh

	UBT: Move code to enumerate Slate runtime dependencies into the Slate module. Doesn't need to be done inside core UBT.

Change 4199341 by Ben.Marsh

	UGS: Update version to 1.149

Change 4199642 by Chad.Garyet

	- Deprecate CISController
	- Add BuildController to replace CIS GET/POST for builds
	- Add LatestController, GET does what CIS/GET used to do
	- Change Latest/GET to return the last 25 builds filtered by project, rather than the last 5000 individual Ids
	- Latest/GET now returns "LatestData" object instead of array of longs
	- Updated EventMonitor to match all API changes
	- Fixed bug where IDs were getting reset to initial startup values every update loop

Change 4199663 by Chad.Garyet

	CIS controller still needs to return an array of longs
	#jira none

Change 4199680 by Ben.Marsh

	UGS: Update version to 1.150

Change 4200457 by Ben.Marsh

	Merging CIS fix for non-development configurations.

Change 4200472 by Mike.Erwin

	UAT: fix -skipbuildclient param default

	It was defaulting to skipbuildeditor's value, likely a copy-paste error.

	#jira none

Change 4202595 by Ben.Marsh

	Fix static analysis warning due to constant comparison against macro.

Change 4203250 by Ben.Marsh

	UGS: Always show the "Sync Precompiled Editor" option, but disable it and show a tooltip explaining why if it is not available.

Change 4206191 by Ben.Marsh

	Exclude editor target files from installed builds, since they leak info about DLLs that have been stripped out.

Change 4213011 by Ben.Marsh

	UBT: Include contents of modified intermediate files in the log, to make it easier to debug hidden dependencies.

Change 4213487 by Ben.Marsh

	UBT: Fix assumption that bPrecompile is equivalent to bBuildAllModules. This is no longer the case; they are now controlled by separate options. Should fix CIS errors building the editor.

Change 4213609 by Ben.Marsh

	Ensure that strings formatted using FMicrosoftPlatformString::GetVarArgs() are always null terminated, whether we use the secure CRT or not.

Change 4215971 by Ben.Marsh

	UBT: Remove action graph visualization code; no longer used.

Change 4215996 by Ben.Marsh

	UBT: Remove unqiue id from all actions in the action graph. This is only used for printing debug info in the case of a (rare) cycle in the action graph, so just look it up when needed.

Change 4216022 by Ben.Marsh

	UBT: Rename Crypto.cs to EncryptionAndSigning.cs to match the name of the class inside it, and move it under the System folder.

Change 4216031 by Ben.Marsh

	UBT: Move all the action executors into their own folder in the project.

Change 4216526 by Ben.Marsh

	Fix CIS warnings.

Change 4216544 by Ben.Marsh

	Replace custom code to ensure FMicrosoftPlatformString::GetVarArgs() null terminates its buffer with Microsoft's standards-compliant implementation.

Change 4216633 by Ben.Marsh

	Add support for UnrealPak plugins.

	* Project and plugin modules can now specify an array of supported programs in the "WhitelistPrograms" field of their module descriptors, to allow modules to be loaded by programs.
	* Programs can now load any runtime modules, as long as they are whitelisted.
	* Programs under the engine directory can now use a shared build environment, so that building with a project file does not cause output binaries to be output to the project directory.
	* UnrealPak is now always built by default when packaging
	* Convert UnrealPak to a modular configuration

Change 4216736 by Ben.Marsh

	UnrealPak: Move "ExportDependencies" command into an editor commandlet, since it relies on the UObject system, asset registry, etc...

Change 4217447 by Ben.Marsh

	Back out revision 50 from //UE4/Dev-Core/Engine/Build/InstalledEngineBuild.xml

Change 4217451 by Ben.Marsh

	Back out revision 11 from //UE4/Dev-Core/Engine/Plugins/Developer/VisualStudioSourceCodeAccess/Source/VisualStudioSourceCodeAccess/VisualStudioSourceCodeAccess.Build.cs

Change 4217617 by Ben.Marsh

	Back out changelist 4217451

Change 4222552 by Ben.Marsh

	Don't use #import <TypeLib> for VS source code accessor when building with Clang; it's not supported.

Change 4222630 by Ben.Marsh

	UBT: Fix spam while generating project files if Clang isn't installed.

Change 4223316 by Ben.Marsh

	UBT: Change the order in which Visual C++ toolchains are enumerated to prefer full releases over preview releases.

Change 4223318 by Ben.Marsh

	UBT: Add a build setting which allows creating a dedicated PCH for every file that's excluded from the unity working set (disabled by default). Improves iteration times when working on individual cpp files, but slows down iterating on header changes (and can take a lot of disk space for large changes).

	Dedicated PCH contains all includes scraped from the top of each cpp file, until a non-#include directive is encountered.

Change 4223401 by Ben.Marsh

	UBT: Add an option to automatically enable edit and continue for files in the adaptive non-unity working set. E&C doesn't seem very useful for UE4 projects right now; compile time is comparable to regular build times, but it can take several minutes to apply code changes for large projects.

Change 4223899 by Ben.Marsh

	UBT: Fix loading XML config files on Mono; Type.GetField(Name) does not seem to return values unless binding flags are specified.

Change 4224637 by Ben.Marsh

	Add a "SupportedPrograms" field to plugin descriptors, which allows plugins to declare which plugins they support independently of individual modules. Programs now respect the "bEnabledByDefault" setting in plugins.

	Plugins that are compatible with a program now need to list that program in the SupportedPrograms list, and whitelist any modules that should load for that program.

Change 4224710 by Ben.Marsh

	UBT: Don't add import libraries as final build products unless the target is being precompiled. Prevents the need for building them for leaf nodes in the action graph.

Change 4224715 by Ben.Marsh

	UBT: Remove hack to allow Stats2.cpp to not follow IWYU convention.

Change 4224726 by Ben.Marsh

	Remove commented out line.

Change 4224903 by Ben.Marsh

	Fix non-unity compile error in Stats2.h.

Change 4225051 by Ben.Marsh

	Back out changelist 4224710; causing CIS errors due to receipts not matching.

Change 4225134 by Ben.Marsh

	Fixing non-unity errors.

Change 4225203 by Ben.Marsh

	Another non-unity fix.

Change 4225249 by Ben.Marsh

	Fix Linux dependencies being copied for the Windows editor; they can be added as requirements for the Linux target platform on Windows instead, so it respects the user's chosen platforms.

	#jira UE-62001

Change 4225512 by Ben.Marsh

	BuildGraph: Allow setting the target to build when using the <CsCompile> task.

Change 4228815 by Ben.Marsh

	UBT: Always add the generated code directory to the list of include paths when generating project files. It may only be created after UHT has been run.

Change 4228944 by Ben.Marsh

	UBT: Remove legacy CppCompileEnvironment and LinkEnvironment wrappers from TargetRules that were deprecated in 4.19.

Change 4229028 by Ben.Marsh

	UBT: Fix editor targets with unique build environment having the wrong executable path in generated project files. Move move logic to configure target rules post-construction by the rules assembly to ensure it's valid.

Change 4229065 by Ben.Marsh

	UBT: Move another target setting into the rules assembly.

Change 4229105 by Ben.Marsh

	Fix BPT exception when generating project files.

Change 4229311 by Ben.Marsh

	UBT: Store the module rules file location on the ModuleRules instance, as well as the plugin that it was created from. Also expose the plugin directory as a property on the ModuleRules instance.

Change 4229421 by Ben.Marsh

	UBT: Consolidate functionality for UHT module setup in ExternalExecution.cs.

Change 4229817 by Ben.Marsh

	UBT: Modules must now explicitly specify the path to the header used to generate a PCH if one is desired, rather than the header being determined automatically by attempting to parse the source code. Now that PCHs are force-included anyway, this removes a lot of dependencies inside UBT.

Change 4229824 by Ben.Marsh

	UBT: Remove unused lists inside UEBuildModuleCPP.SourceFilesClass.

Change 4229841 by Ben.Marsh

	UBT: Remove some legacy code from auto-detecting PCHs.

Change 4230521 by Ben.Marsh

	UBT: Add utility functions to the log class to allow formatting errors and warnings in Visual Studio output format (eg. File(Line): warning: Message)

Change 4230871 by Ben.Marsh

	UAT: Remove StreamUtilis utility class; there is a simpler way to implement the one place it's used.

Change 4230882 by Ben.Marsh

	UAT: Add StreamUtils back into UAT, seems like it's still used there.

Change 4230896 by Ben.Marsh

	UBT: Remove some redundant parameters from UEBuildModule/UEBuildModuleCPP/UEBuildModuleExternal constructors.

Change 4231014 by Ben.Marsh

	WorkspaceTool: Include a dump of raw bytes when garbage is read from the P4 process, for diagnostic purposes.

Change 4231032 by Ben.Marsh

	Fix CIS.

Change 4231096 by Ben.Marsh

	Bump the FlatCPPIncludeDependencyCache version, to prevent errors trying to load old files.

Change 4231446 by Ben.Marsh

	UBT: Added support for expanding UE-specific variables in include paths and library paths: $(EngineDir), $(ProjectDir), $(PluginDir), $(ModuleDir).

Change 4231460 by Ben.Marsh

	Modules may now explicitly specify rpaths on Linux via the PublicRuntimeLibraryPaths and PrivateRuntimeLibraryPaths properties.

Change 4233909 by Robert.Manuszewski

	PR #4779: Reason fails as the supplied variable is incorrect (Contributed by projectgheist)


Change 4233910 by Ben.Marsh

	Enable PCHs on IOS. Reduces build time by ~25%.

Change 4234176 by Ben.Marsh

	UBT: Add better messaging for modules that need to have a private PCH set. Now detects the likely PCH using the same method as legacy code and includes it as a suggestion.

Change 4234193 by Ben.Marsh

	Add the Delete command to Perforce wrapper in DotNETUtilities.

Change 4234688 by Ben.Marsh

	UBT: Simplify handling of installed/precompiled builds. Settings for whether a folder is installed/read-only or not is now stored on the RulesAssembly instance, allowing multiple things to be configured separately and stacked together (eg. engine/enterprise/project). RulesAssembly.IsReadOnly() allows determining if a flie can be modified or not and replaces many previous IsXXXInstalledCalls(), and traverses the chain of assemblies.

Change 4234711 by Ben.Marsh

	UBT: Runtime dependencies can now be copied to output directories as part of the build. When adding a runtime dependency, an optional source location can be specified to copy from. Both the source and target paths can use variables can be used as part of the path, eg. $(OutputDir), $(ModuleDir), $(PluginDir).

	Example usage (from a .build.cs file):

	RuntimeDependencies.Add("$(OutputDir)/Foo.dll", "$(PluginDir)/Source/ThirdParty/Foo.dll", StagedFileType.NonUFS);

Change 4234872 by Ben.Marsh

	Expose a flag for whether the engine is installed, to fix issues generating project files.

Change 4234929 by Ben.Marsh

	Fix null reference generating receipts when UBT makefiles are active.

Change 4235883 by Chad.Garyet

	Merging 4231245 to core

	Giving Coordinator its own sln. This should fix what 4158155 was supposed to.
	#jira UE-61955

Change 4236075 by Ben.Marsh

	CIS fix

Change 4237066 by Robert.Manuszewski

	Fix for a potential crash when terminating the engine while it's being initialized

	#jira UE-60545

Change 4237078 by Robert.Manuszewski

	The engine will no longer be resetting all linkers causing massive load times when renaming the world package when entering Play In Editor

Change 4237116 by Ben.Marsh

	Rewrite some Windows utility functions to support paths longer than MAX_PATH.

Change 4237158 by Ben.Marsh

	Add const TCHAR* overloads of FString::RemoveFromStart() and FString::RemoveFromEnd().

Change 4237159 by Ben.Marsh

	Fix FWindowsPlatformFile::GetFilenameOnDisk() support for paths longer than MAX_PATH, and simplify some of the other long path functions to avoid copying string buffers.

Change 4239050 by Ben.Marsh

	Missing file

Change 4239318 by Ben.Marsh

	Linux CIS fix.

Change 4239685 by Ben.Marsh

	Static analysis CIS fix.

Change 4240800 by Ben.Marsh

	WorkspaceTool: Include the full command line in the log for any P4 commands.

Change 4240903 by Ben.Marsh

	PR #4909: Update copyright notices to 2018 (Contributed by projectgheist)


Change 4241025 by Ben.Marsh

	UBT: Exclude mobile pipeline caches from generated project files. Causes huge slowdown when using 'Find in Files' through the IDE.

Change 4241770 by Ben.Marsh

	UBT: Include action number in parallel executor output.

	#jira UE-62032

Change 4243469 by Ben.Marsh

	TBA: Merge FAnnotatedStructuredArchiveFormatter with FStructuredArchiveFormatter. Any functions that are only implemented for text archives now have a _TextOnly suffix, and are exposed through the FStructuredArchive interface.

Change 4245723 by Robert.Manuszewski

	Fixing another creash when terminating the engine while initializing.

	#jira UE-60545

Change 4245862 by Steve.Robb

	VectorLoadFloat2(Ptr) added, which loads { Ptr[0], Ptr[1], Ptr[0], Ptr[1] } into a VectorRegister.

Change 4246412 by Robert.Manuszewski

	The warning 'Calling StaticLoadObject during PostLoad may result in hitches during streaming' will now also report the object which had the PostLoad called on it when StaticLoadObject call happened.

Change 4246612 by Ben.Marsh

	UBT: Fix spelling of "Intellisense".

Change 4249454 by Robert.Manuszewski

	Added extra checks to catch scenarios where the EDL Precache Buffer is flushed before a package header is fully read

Change 4249513 by Robert.Manuszewski

	Made sure the Async Loading Thread doesn't continue running after creating new async packages when garbage collector wants to run on the game thread

Change 4255207 by Ben.Marsh

	UGS: Add additional logging whenever a P4 command fails, and when the user is logged out.

Change 4255288 by Ben.Marsh

	PR #4921: Honor ModuleRules' bEnableExceptions flag when creating precompiled h. (Contributed by surakin)


Change 4256422 by Ben.Marsh

	UBT: Add an error if a module referenced by a plugin descriptor doesn't exist.

Change 4257385 by Robert.Manuszewski

	Creating new objects from within ForEachObjectWithOuter will now result in a fatal error as it's unsafe to change internal UObject hash tables when iterating over them.

Change 4257454 by Robert.Manuszewski

	Added the option to filter clusters listed with gc.ListClusters by objects within them.

	Usage:

	gc.ListClusters Hierachy With=ObjectName1,ObjectName2...

Change 4257526 by Robert.Manuszewski

	It's now possible to filter clusters that get logged with verbose cluster logging enabled (UE_GCCLUSTER_VERBOSE_LOGGING=1) by objects within them by specifying -DumpClustersWithObjects=ObjectName1,ObjectName2 in the command line

Change 4257822 by Ben.Marsh

	Fixes for PlatformShowcase compile errors.

Change 4258771 by Ben.Marsh

	UBT: Fix project files not being generated for foreign projects when creating .stub files.

	#jira UE-62462

Change 4258790 by Ben.Marsh

	UBT: Clean up the logic around generating project files before creating a stub IPA, so that it fails loudly if project files do not exist, and can accept target names not matching project names.

Change 4259276 by Ben.Marsh

	UBT: Make it an error if a framework doesn't exist, rather than failing silently. Also remove some remote toolchain stuff that's no longer necessary.

Change 4259280 by Ben.Marsh

	UBT: Fix embedded framework zips not being uploaded for plugins.

	#jira UE-62485

Change 4260236 by Ben.Marsh

	UBT: Fix path to generated engine project file.

Change 4260334 by Ben.Marsh

	UGS: Fix custom build steps dialog inadvertantly modifying config file settings in-place.

Change 4260361 by Ben.Marsh

	UGS: Allow for p4 login commands to fail, even though the user is logged in (due to a bad connection, etc...)

Change 4260559 by Ben.Marsh

	UGS: Update version.

Change 4261160 by Robert.Manuszewski

	MediaPlaylist will now be added to root set if the owning MediaPlayer is in the disregard for GC set (fixes GC assumption violation crash)

	#jira UE-62495

Change 4261421 by Ben.Marsh

	Force-sync files for building documentation, to fix issues with files not being updated.

	#jira UE-62413

Change 4261425 by Ben.Marsh

	UBT: Remove some leftover functions for handling the remote toolchain.

Change 4261530 by Ben.Marsh

	UBT: Speculative fix (and better error reporting) for IOS mobile provision not being found in CIS.

Change 4261611 by Ben.Marsh

	UBT: Downgrade warning to a log message, since it appears when generating project files.

Change 4261710 by Ben.Marsh

	Remove assert that GLogConsole is set; it won't be for command line utilities that don't depend on ApplicationCore.

	#jira UE-62545

Change 4261831 by Ben.Marsh

	Fix compile errors due to missing include path when hot-reloading a module from the editor. There are not necessarily source files to compile when -modulewithsuffix is specified on the command line, which was results in GeneratedCodeWildcard not being set.

	#jira UE-62463, UE-62384

Change 4262723 by Ben.Marsh

	Whitelist plugins that need to be loaded by UFE.

	#jira UE-62564

Change 4265444 by Ben.Marsh

	Fix incorrect executable name for DebugGame configurations in Xcode.

	#jira UE-62574

Change 4265892 by Ben.Marsh

	Fix incremental compile failures due to dependency checking for unity files. CachedIncludePaths was not correctly being set on file items, so dependencies were being ignored.

	#jira UE-62575, UE-62603, UE-62597

Change 4266019 by Josh.Adams

	- Fixed the CopyAction for runtime dependencies that need to be copied to different location, on non-XGE

Change 4266264 by Ben.Marsh

	Remove override for the __IPHONE_OS_VERSION_MIN_REQUIRED macro on TVOS.

	This macro is already defined by system headers (in <AvailabilityInternal.h>). Now that we support PCHs on IOS and TVOS, manually defining this macro results in it being defined three times (once for the PCH, once by AvailabilityInternal.h, and once by the force-included list of definitions for the source file being built). The errors for redefining the macro in AvailabilityInternal.h are suppressed due to it being a system header, but the error for redefining it for the source file being compiled are not.

	#jira UE-62578

Change 4266273 by Ben.Marsh

	Fixes incremental build failure when compile arguments for PCH have changed on IOS/TVOS. Compile action needs to have a dependency on PCH build action.

Change 4266614 by Graeme.Thornton

	Fix crash when cooking nativized blueprints due to removal of child cooker system.

Change 4266763 by Ben.Marsh

	Always build UnrealPak when building client targets. The ProjectParams.Pak option is not reliable, because it can be forced on later by the target platform.

	#jira UE-62584

Change 4267985 by Robert.Manuszewski

	When iterating with ForEachObjectWithouter, don't lock the entire has table but only the hash bucket that is currently being iterated

	#jira UE-62600

Change 4268558 by Robert.Manuszewski

	PurgeLegacyBlueprints will no longer be called from within ForEachObjectWithOuter is it renames objects that reside in hash tables that are being iterated over which may lead to undefined behavior.

	#jira UE-62600

Change 4269011 by Chad.Garyet

	- Fixing Wildcard match issue, the change to ugsapi sends projects as //Depot/Stream instead of //Depot/Stream/
	  Wildcard match was only substringing to 3 chars.
	- Checking in the change a while back that increases the number of queried jobs up to 432 based on some maths from Bob about how many builds we want to grab
	Published to ugsapi server 8/8/17
	#jira none

Change 4270788 by Ben.Marsh

	Fix IOS provisioning data being using when remote compiling on TVOS.

	#jira UE-62705

Change 4271916 by Ben.Marsh

	Tag the XGEControlWorker executable as a build product after compiling SCW, to make sure it's included in the UGS zip file.

Change 4271934 by Ben.Marsh

	Upload all static libraries in plugin folders as part of remote builds.

	#jira UE-62694

Change 4273368 by Ben.Marsh

	Fix Slate dependencies not being enumerated, and rules assembly not being rebuilt when building remotely.

	#jira UE-62705

Change 4274049 by Ben.Marsh

	Always parse the team UUID out of the mobile provision when doing a remote compile. The provision installed on the remote Mac (and selected for signing) may be different.

	#jira UE-62751

Change 4274823 by Ben.Marsh

	Add the -VersionCookedContent argument to disable the -unversioned parameter on the cooker command line.

Change 4275838 by Ben.Marsh

	Fix BuildVersion string not being passed through from <SetVersion> task. Also add a -BuildVersion command line argument to UBT to override it for a particular build.

Change 4275913 by Ben.Marsh

	Add a dummy exported symbol to the XGEController module, to fix build errors due to missing .lib file when it's built with WITH_XGE_CONTROLLER = 0.

Change 4284161 by Ben.Marsh

	Allow mirroring Oodle files to remote Mac.

Change 4074774 by Steve.Robb

	Vast simplification of TFunction, making it smaller in footprint, easier to follow and extend, and more correct.
	TUniqueFunction added, which is a move-only TFunction which can hold move-only functors.
	Fix for UWidgetBlueprint::ForEachSourceWidget() which should never have compiled but did.
	FFunctionGraphTask and TFuture<> updated to use TUniqueFunction to make them more general.
	TArray::HeapPop() made to work with move-only types.

Change 4082591 by Ben.Marsh

	Move the Log class from UBT to DotNetUtilities.

Change 4083236 by Ben.Marsh

	Add a Log.WriteException() method to dump an exception message to the console (and write the exception trace to the log)

Change 4084107 by Ben.Marsh

	UAT: Remove the unused -SkipHeader argument to UE4Build.

Change 4089771 by Steve.Robb

	GitHub #4743 : modified VirtualAlloc function flag

	https://blogs.msdn.microsoft.com/oldnewthing/20151008-00/?p=91411

Change 4091456 by Steve.Robb

	Unification of all platforms' FMath::CountTrailingZeros() and FMath::CountLeadingZeros() for both 32-bit and 64-bit.

Change 4156437 by Ben.Marsh

	Lots and lots of fixes compiling for Clang on Windows.

	Editor now compiles cleanly without warnings, but crashes on startup due to error in intrinsics test. Disabling that runs further, but crashes accessing freed memory. Switching to the ANSI allocator runs further, but crashes in Slate after the splash screen and before the editor window opens. // TODO!

	* Switching between Clang/ICL/VS2015/VS2017 is now supported through the same mechanism as switching Visual Studio versions, without requiring any source level changes. To use Clang, set WindowsPlatform.Compiler = WindowsCompiler.Clang from a .target.cs file, or set <WindowsPlatform><Compiler>Clang</Compiler></WindowsPlatform> from BuildConfiguration.xml. To pick a specific toolchain version, set WindowsPlatform.CompilerVersion.
	* Clang is now supported through AutoSDKs; will be added to CIS.
	* The Samples/Sandbox/Clang project forces Clang to be used from its target.cs file, and allows easily building all editor modules and plugins with Clang on Windows.
	* UnrealMathSSE intrinsics have been re-enabled for Clang due to missing functions from the UnrealMathFPU implementation, but causes failure in tests at startup.
	* SSE4_CRC32() is disabled in D3D12Pipelinestate.cpp, since intrinsics are only allowed if enabled for the whole target (rather than being used in specific functions due to runtime checks)

Change 4157389 by Ben.Marsh

	Few more fixes for compiling the editor with Clang.

Change 4183911 by Ben.Marsh

	Fixes to support incremental linking on Windows. Does not seem to have any net benefit right now; may improve once minimal rebuild is enabled.

	* Incremental linking no longer forces PDB files to be enabled for source files.
	* Actions can specify specific files to be deleted before each build. Code to forcibly delete PDB files has been moved to the MSVC toolchain.
	* Unused libraries produced by the cross-referenced link are no longer added as build products, since (a) deleting them breaks dependency checking for incremental linking and causes a full link, and (b) not deleting them breaks UBT dependency checking and causes actions to be run over and over again.
	* Icon update is disabled for Windows when incremental linking is enabled.
	* Removed rarely-used setting to always delete produced items before each build.

Change 4184311 by Ben.Marsh

	UGS: Added a dialog which shows all the required platform SDKs for a branch, linked from the status panel in UGS.

	The llist is configured via the UGS config file submitted to Engine/Programs/UnrealGameSync/UnrealGameSync.ini (and may be overridden by the project config file if necessary):

	    [Default]
	    ; Set this to a network share which contains the SDK installers for your site
	    SdkInstallerDir=

	    ; All the required SDKs for the current version of the engine
	    +SdkInfo=(Category="Android", Description="NDK r21", Browse="$(SdkInstallerDir)\\Android")
	    +SdkInfo=(Category="Windows", Description="Visual Studio 2017")
	    +SdkInfo=(Category="Windows", Description="Visual C++ Toolchain 14.13.26128")
	    +SdkInfo=(Category="Windows", Description="Windows SDK 10.0.16299.0")

	Similar entries for console platforms are added in console subdirectories. Each entry may contain an Install="Foo.exe" and/or Browse="C:\Foo" style attribute, specifying the path to an installer to run or directory to open in explorer respectively.

	The SdkInstallerDir setting is used as a base directory for the default installers, seen above for Android. Licensees may override this with a network path specific to the site that UGS is being deployed to (either in this file, in a project specific config file, or in a Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini file).

Change 4200452 by Ben.Marsh

	UBT: Change DebugGame configurations to output a separate executable rather than requiring a -Debug argument at runtime. Previous behavior was a common source of errors.

	Engine modules are still shared between Development and DebugGame, but the launch module sets a flag in Core on startup indicating the game configuration.

Change 4206189 by Ben.Marsh

	UBT: Simplify logic for precompiling binaries.

	* Target no longer has separate list of "precompile only" binaries or modules. New -AllModules option allows adding every module to a target, which can be used with -Precompile and -NoLink to precompile object files for monolithic builds.
	* Precompiled file lists have been removed from target receipts.
	* The manifest now includes all generated headers and precompiled files when run with the -Precompile option.
	* Separate -DependencyList=Foo.txt has been added to write a list of all dependencies required to use precompiled binaries. This file list can be read using the <Tag> task in buildgraph.

Change 4215466 by Ben.Marsh

	UBT: Remove indirect calls to determine extensions for object files and precompiled headers. The toolchain knows the correct convention for the platform.

Change 4215975 by Ben.Marsh

	UBT: Remove telemetry code. This has never proved useful for analyzing performance due to the number of incidental factors that affect build times (eg. number of files being compiled).

Change 4220154 by Ben.Marsh

	Move text-only implementations of FOutputDeviceError back into Core, so we can build command-line applications that don't depend on ApplicationCore.

Change 4224708 by Ben.Marsh

	Add a bCompileAgainstApplicationCore setting to the target rules, which allows compiling out references to the ApplicationCore module (which should only be necessary for applications with a GUI). Removed ApplicationCore from several engine tools and utilities.

Change 4224958 by Ben.Marsh

	Remove CoreMinimal.h includes from Core.

Change 4229059 by Ben.Marsh

	UBT: Remove the UEBuildPlatform.ShouldNotBuildEditor() hook for target platforms. We shouldn't be modifying a target's build environment to disable the editor; it is invalid to build the editor for these target platforms at all, and this is already enforced by the GetSupportedPlatforms() function.

Change 4230508 by Ben.Marsh

	Fixup precompiled header setting for samples and games.

Change 4231457 by Ben.Marsh

	Fix exceptions in log messages having trailing newlines.

Change 4232406 by Ben.Marsh

	UBT: Always force include a PCH for generated code if there's one set; the code may depend on it to compile.

Change 4234177 by Ben.Marsh

	Set up private PCH files everywhere that previously used them.

Change 4235973 by Ben.Marsh

	Change FPlatformMisc::GetEnvironmentVariable() to return an FString() rather than requiring a fixed size buffer to be passed in. Removes references to MAX_PATH.

Change 4238842 by Ben.Marsh

	Add support for paths longer than MAX_PATH in the editor. Requires Windows 10 version 1607, and the functionality to be enabled via a registry key or group policy (see https://docs.microsoft.com/en-us/windows/desktop/FileIO/naming-a-file).

	Only a subset of Win32 functions support long paths (executables can only be started from paths shorter than MAX_PATH, for example).

	* Added a FPlatformMisc::GetMaxPathLength() function to return the maximum length of a path on the current system. On Windows, this returns a different value for systems with long paths enabled to those without.
	* The MAX_PATH define is no longer set by non-Windows platforms. Instead, there is a MAC_MAX_PATH, UNIX_MAX_PATH, etc... for any platform-specific code that still relies on the previous macro.
	* The MAX_UNREAL_FILENAME_LENGTH macro has been renamed to MAX_UNREAL_FILENAME_LENGTH_DEPRECATED
	* The PLATFORM_MAX_FILEPATH_LENGTH macro has been renamed to PLATFORM_MAX_FILEPATH_LENGTH_DEPRECATED.
	* Removed custom resource files for programs, since they are just copies of the base UE4 one (which is used by default anyway). The base UE4 manifest declares support for long paths.
	* Fix 512 character maximum length on editor commands.

	260 character limit remains in place for cooking at the moment (see ContentBrowserUtils.h), until C# staging code supports long paths.

Change 4255042 by Ben.Marsh

	UBT: Remote compilation now uploads the entire workspace to the remote Mac and executes a separate remote instance of UBT rather than synchronizing individual actions. This makes the remote compile codepath much simpler, and removes a lot of special cases that exist to support it previously.

	The list of files to be transferred to the remote are listed as rsync filter rules in Engine/Build/Rsync/RsyncEngine.txt and RsyncProject.txt, which are applied to the root engine directory and project directory respectively. Projects that need to customize which files are uploaded can add their own <ProjectDir>/Build/Rsync/RsyncProject.txt file, which will be included in the filter before the default version.

Change 4260567 by Ben.Marsh

	UAT: Rename CommandUtils.Log to CommandUtils.LogInformation, to avoid conflicts with the underlying Tools.DotNETCommon.Log class.

#rb none

#ROBOMERGE-OWNER: jason.bestimt
#ROBOMERGE-SOURCE: CL 4285673 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 4287799 by jason bestimt in Dev-VR branch]
2018-08-15 11:23:10 -04:00
Mike Beach
1110c6a4d9 Resolving blocked robomerge from Main@4273704
Accpted source for conflicted files:
.../Portal/Plugins/Online/NotForLicensees/OnlineSubsystemMcp/Source/Private/OnlineFriendsMcp.cpp
.../Portal/Source/Layers/UI/Private/SocialPresentation.cpp

#rb no.one
#fyi Jason.Bestimt

[CL 4279626 by Mike Beach in Dev-VR branch]
2018-08-13 11:49:16 -04:00
jason bestimt
339414b7e5 #CodeReview: jason.bestimt,nick.whiting,mike.beach
Merge conflict.
jason.bestimt, please merge this change by hand.
More info at https://robomerge.epicgames.net/

/src/ROBOMERGE_DEVVR_Dev_VR/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/FoundObjectComponent.cpp - resolving branch from //UE4/Main/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/FoundObjectComponent.cpp#3
Branch resolve:
at: branch
ay: ignore
/src/ROBOMERGE_DEVVR_Dev_VR/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/MeshTrackerComponent.cpp - merging //UE4/Main/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Private/MeshTrackerComponent.cpp#4
/src/ROBOMERGE_DEVVR_Dev_VR/Engine/Plugins/Lumin/MagicLeap/Source/MLSDK/Public/MagicLeapPluginUtil.h - merging //UE4/Main/Engine/Plugins/Lumin/MagicLeap/Source/MLSDK/Public/MagicLeapPluginUtil.h#4


--------------------------------------
Copying //UE4/Release-Staging-4.20 to //UE4/Dev-Main (Source: //UE4/Release-4.20 [at] 4212847)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 4212847 by Jack.Porter

	Fix foliage serialization issue introduced in CL 4206551
	#jira UE-61765

Change 4208376 by Mike.Beach

	Temporarily removing a block dealing with the VR shared depth buffers that was saving us on a theoretically uneeded depth copy. For the moment, the added depth copy ensures that the depth buffer is set as a input param when needed, and that the swapchain behavior that we do under the hood doesn't interfere with the state caching system. We need to better understand what's going wrong here before we can add this block back in.

	#jira UE-61597

Change 4208297 by Mitchell.Wilson

	Updating lighting on examples 3.1 and 3.3 of the Niagara level. Fixing some spacing issues in the text of exmaple 1.5.
	#jira UE-61738

Change 4207996 by Mitchell.Wilson

	Checking in new icons and launch images.
	#jira UE-61724

Change 4207953 by Frankie.DiPietro

	Editing QAGame test content for VolumeMaterials. Added empty material for particle lights

	#jira UE-29618

Change 4207860 by Marc.Audy

	Fix any key not triggering actions
	#jira UE-61732

Change 4207836 by Ben.Marsh

	New icon from Mitchell.

	#jira

Change 4207228 by Mitchell.Wilson

	Adding all missing iOS icons and launch images.
	#jira UE-61724

Change 4207067 by Michael.Trepka

	Fixed a crash introduced with CL 4183733 - TSharedPtr doesn't work well with ObjC blocks

	#jira UE-61553

Change 4206551 by Jack.Porter

	Cook foliage for HTML5 using full precision instance transforms
	Remove previous shader fix for this issue
	#jira UE-61642
	#jira UE-61141

Change 4206512 by jonathan.lindquist

	Submitting missing files
	Cleared with Nick Bullard-Bradley
	#jira UE-61714

Change 4206421 by Ben.Marsh

	Delete any existing temporary workspace created for SyncDepotPath before trying to sync from it.

	#jira UE-61712

Change 4205345 by Sam.Deiter

	#jira - UE-61567 Fixed a typo in the TPS file for the Cinzel font that is used in game.

Change 4204854 by Sam.Deiter

	#jira - UE-61567 Checking in the Cinzel font that is used in game.

Change 4204665 by Rex.Hill

	Fixed changing media tracks causing video to restart from beginning on Windows.
	#jira UE-61683

Change 4204584 by Michael.Trepka

	Change the order of calls in FMacWindow::Show() to avoid deadlocks when showing certain modal dialog boxes.

	#jira UE-61553

Change 4204541 by Yasiman.Ahsani

	Adding TPS licenses.

	#Jira UE-29618

Change 4203023 by Mitchell.Wilson

	Updating nearly equal tolerance to resolve a scaling regression on some devices.
	#jira UE-61261

Change 4202956 by Marcus.Wassmer

	Disable Aftermath until a fix for a memory leak is found

	#jira UE-58673

Change 4202953 by Patrick.Boutot

	Fixed crash in DC components when the DC is not initialized
	#jira UE-61646

Change 4202952 by Patrick.Boutot

	Fix crash when launching MediaBundle in Standalone
	#jira UE-61669, UE-61672

Change 4202900 by Jason.Bestimt

	Setting bGenerateOverlapEvents back to private

	#JIRA:UE-61678

Change 4202601 by Ben.Marsh

	Reduce log spam when building PhysX for Mac/IOS/TVOS. Console output causes massive regression in build times under Mono (10m -> 3h).

	#jira

Change 4202477 by Sorin.Gradinaru

	UE-61270 RemoteSessionApp does not change orientation connecting to a project in portrait mode on Android

	#jira UE-61270
	#Android
	#4.20

[at]jack.porter

	Setting Orientation: FullSensor for Android builds

Change 4201671 by Mike.Beach

	Only attempting to load dlls if the MLSDK is set up (avoiding needless warnings for users who aren't using the MLSDK).

	#jira UE-61388

Change 4200166 by Matt.Kuhlenschmidt

	Prevent invalidation panel crash when pushing the current clip state when there isnt one

	#jira UE-61534

#rb none

#ROBOMERGE-SOURCE: CL 4217598 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-OWNER: jason.bestimt

[CL 4218011 by jason bestimt in Dev-VR branch]
2018-07-17 16:08:53 -04:00
Mike Beach
eacc4047d8 Merge from //UE4/Main@4203495
#rb no.one

[CL 4208755 by Mike Beach in Dev-VR branch]
2018-07-12 19:05:28 -04:00
ben marsh
ce0bb9fe99 Reduce log spam when building PhysX for Mac/IOS/TVOS. Console output causes massive regression in build times under Mono (10m -> 3h).
#rb none
[FYI] Michael.Lentine
#jira
#rnx
#lockdown Nick.Penwarden

#ROBOMERGE-SOURCE: CL 4202609 in //UE4/Main/...
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-OWNER: jason.bestimt

[CL 4202613 by ben marsh in Dev-VR branch]
2018-07-11 08:39:53 -04:00
Jason Bestimt
17c16f57bb #DEV-VR - Manual merge of from DevMain @ CL 4166765
#RB:none
#CodeReview: nick.whiting

[CL 4169831 by Jason Bestimt in Dev-VR branch]
2018-06-28 11:08:34 -04:00
jason bestimt
1c6e00adc2 Copying //UE4/Release-Staging-4.20 to //UE4/Dev-Main (Source: //UE4/Release-4.20 @ 4112782)
============================
  MAJOR FEATURES & CHANGES
============================

Change 4112782 by Mitchell.Wilson

	Resaving some cloth assets and fixing material compile warnings.
	#jira UE-59946

Change 4112762 by Max.Chen

	Sequence Recorder: Fix case where first recording is null but there are other valid recordings.

	StopRecording wasn't getting called because the EndPIE delegate wasn't bound since ActorWorld was incorrectly set.

	#jira UE-58688

Change 4112738 by Michael.Dupuis

	#jira none:
	Fixed Editor instance count, to only include placed instances.
	Calling GenerateProceduralContent will no longer automatically remove the current content, as we might want to get the generation for something else than replacing existing data.
	When deleting procedural foliage, we can now specify if we want to rebuild the tree.

Change 4112696 by Matt.Kuhlenschmidt

	Prevent GC of material editor active preview expression

	#jira UE-49777

Change 4112611 by Michael.Dupuis

	Fixed Instance count when Alt+Dragging instance
	#jira UE-59544: After the operation, reselect the instances, as the selection info into the buffer was lost

Change 4112536 by Thomas.Sarkanen

	Fixed static analysis warning caused by CL 4109096

	#jira none

Change 4112139 by Phillip.Kavan

	Fix invalid child actor template cast in nativized code when the child actor class type is a converted Blueprint class asset.

	- Mirrored from //UE4/Dev-Framework (4111638).

	#jira UE-53747

Change 4112138 by Phillip.Kavan

	Fix UHT warning about duplicating UFUNCTION() meta on nativized child Blueprint classes that override at least one BPIE method from the parent class.

	- Mirrored from //UE4/Dev-Framework (4111613).

	#jira UE-59182

Change 4111630 by Matt.Collins

	#jira UE-59934

	Rolling back the previous integration of CL 4080446

Change 4111526 by Mike.Beach

	Guarding against bad settings pointers internal to Oculus.

	#jira UE-59778

Change 4111525 by Daniel.Wright

	UStaticMeshComponent::PostEditUndo now initializes its UStaticMesh's rendering resources.  This is necessary for cases where the UStaticMesh is in the same transaction (PostEditUndo will be called AFTER the component).  However, when calling UStaticMesh::InitResources we must use a FStaticMeshComponentRecreateRenderStateContext to safely handle any components using the UStaticMesh which are not in the transaction.
	#jira UE-59333

Change 4111518 by Mike.Beach

	Making sure to load the third party dll, and initing Oculus when we querry for Vulkan extensions. Otherwise we end up calling into the OVR plugin before the dll is loaded.

	#jira UE-53643

Change 4111482 by Matt.Kuhlenschmidt

	Fix blend sample context menu appering offset on high dpi monitors

	#jira UE-59925

Change 4111362 by Ben.Marsh

	Fix warnings building samples due to missing paths.

	#jira

Change 4111299 by James.McNatton

	Changed category of Virtual Camera plugin to Virtual Production #RNX #Jira UE-59404

Change 4111153 by Max.Chen

	Sequencer: Fix dereferencing null pointer - CameraNode

	#jira UE-59347

Change 4111143 by Matt.Collins

	#jira UE-59934

	CL 4107446 from Dev-Rendering.
	Always force a commandbuffer submission during EndFrame.

Change 4111106 by Matt.Collins

	#jira UERNDR-406
	Bringing CL 4104051 from Dev-Rendering (//UE4/Dev-Rendering) to Release-4.20 (//UE4/Release-4.20)

	---
	Some fixes for semaphore handling.

	Moved the completion handler to EndFrame (out of FlushFreeList())

	FlushFreeList() attached a handler to the command buffer that signaled the semaphore. This can be called through RHIFlushResources which will cause a mismatched signal()

	Added BeginFrame/EndFrame to the loop in AddModalWindows so the renderer gets the expected frame delimiters. Removed call to EndFrame from EndDrawingViewport.

	---

Change 4111099 by Ben.Zeigler

	#jira UE-59199 Add enum redirector for CVD_NormalVision, some values map to normal as they were removed
	This is needed because that enum value would have been written into the EditorPerProjectSettings for anyone that modified editor style, and then cause mysterious cook warnings

Change 4111039 by Ben.Zeigler

	#jira UE-59046 Fix it so trying to convert a soft path to hard object ref will throw error during async loading instead of silently failing

Change 4111013 by Steve.Robb

	Fix for adding a new module to a project.

	#jira UE-59770

Change 4110907 by Marc.Audy

	Add required redirectorfor moving classes from TimeManagement to  CoreUObject

	#jira

Change 4110897 by Ben.Zeigler

	#jira UE-57739 Don't crash if dropping a pin on a node causes the source pin to become invalid, just fail to connect instead

Change 4110868 by Ben.Zeigler

	#jira UE-59920 Fix several issues where half-connected reroute nodes could break AutoCreateRefTerm and other node expansions if they happened to be late in the nodes array, by always expanding knot nodes first

Change 4110704 by Ben.Zeigler

	#jira UE-56365 Fix k2 node tooltip code to not crash if the node is out of date due to slate updates being a tick behind

Change 4110686 by Andrew.Grant

	Resaved to fix empty engine version warning
	#jira UE-59695

Change 4110466 by Ben.Zeigler

	#jira UE-59908 Change loading screen logo back to one with text baked in and clean up comments
	Delete unused logo images

Change 4110418 by Ben.Zeigler

	#jira UE-58025
	Fix non editor builds

Change 4110258 by Max.Chen

	Sequencer: Fix some erroneous cases in import fbx. In particular, this fixes an issue where importing an fbx onto one node would behave differently if there are multiple nodes in the fbx since it was ambiguous as to which fbx node to map onto the single node in sequencer.

	- Changed import operation to be more explicit - when invoking through the general import fbx menu, all object bindings are mapped onto. When invoking through the context menu, only the selected object bindings are mapped onto.
	- Added a user toggle to match by name only. The default is true.
	- When importing onto a selected node, disable the creation of cameras.
	- Don't set range bounds on imported keys since external packages, ie. maya, most likely only have 1 equivalent infinite section range.
	- Remove any existing sections/keys when importing onto existing tracks.

	#jira UE-59347

Change 4109923 by Michael.Dupuis

	#jira UE-59904: Build tree post Serialize otherwise sometime foliage will be missing

Change 4109916 by mason.seay

	Updated level blueprint so it Resets Ignore Look Input, which will prevent look input from being ignored if user triggers Ignore multiple times

	#jira UE-29618

Change 4109849 by Michael.Dupuis

	#jira none: Removed PRAGMA_ENABLE_OPTIMISATION

Change 4109835 by Lukasz.Furman

	added OnTaskFinished call when behavior tree's subtree is deactivated
	#jira UE-48353

Change 4109829 by Ben.Zeigler

	#jira UE-59909 Add logic so the player cannot be hurt during ShieldNS anim notify by adding and removing a damage immune gameplay effect

Change 4109820 by Michael.Dupuis

	#jira UE-59533: Update the LOD Distribution settings to fix the landscape popping

Change 4109813 by Michael.Dupuis

	#jira UE-59533: Increase the max LOD0 distribution factor so on map with very small component, the value can be increase more than before.

Change 4109780 by Alexis.Matte

	Add the tps file for the levenshtein distance algorithm
	#jira none

Change 4109567 by Ben.Marsh

	Fix incorrect console colors after a warning or error on Mac. Cannot assume that the default foreground color is gray.

	#jira UE-55093

Change 4109542 by mason.seay

	Updated timeline on BP

	#jira UE-29618

Change 4109474 by Marc.Audy

	Fix shadow variable warning

	#jira UE-59895

Change 4109420 by Michael.Dupuis

	#jira UE-58672 : Since it's possible the GetInstanceBasePtr() would not find the base id we hit,  do not assume it must always be valid, and simply skip it instead of crashing.

Change 4109397 by Ben.Marsh

	Speculative fix for exception reading UBT makefiles on Mono. Doesn't seem to be able to deserialize dictionaries with custom comparison functions correctly.

	#jira UE-59222

Change 4109395 by Lauren.Ridge

	Removing legacy uses of GetEditorIcon from UMG
	#jira UE-59038

Change 4109390 by Zachary.Wilson

	Adding alternative ground truth images for AMD on the planar reflection tests. ST_PR00, 03, 04, 05
	#jira UE-59409

Change 4109373 by Michael.Dupuis

	#jira UE-58664
	Restrict the Paint/Unpaint Density to 1.0
	Restrict the Foliage Density type to 10000
	Restrict the Grass Density type to 1000
	Fixed a NAN that could be generated when adding instances
	These settings would still allow to paint ~2 millions instances with the biggest brush and max density per click.

Change 4109348 by Lauren.Ridge

	Removing engine content that used a material attribute layers node inside a material function
	#jira UE-55739

Change 4109296 by Lauren.Ridge

	Fix for crash on adding OnClicked event to button in Widget BP
	#jira UE-59846

Change 4109193 by Matt.Kuhlenschmidt

	Fixed crash when construction scripts are rerun during the details panel calling posteditchange

	#jira UE-59649

Change 4109096 by Thomas.Sarkanen

	Fixed crash when running in standalone editor build using sub-instances that copy properties

	Revamped change as the last one failed Fast Path automated tests. This change limits the property re-find only to cases where we are using sub-instances.
	DestProperty serialization was always a bad idea, this is another artifact of the problem where the property persists but the class it belongs to gets trashed. Re-mapping the property by name to the correct outer fixes this for a minor startup cost.

	#jira UE-59510 - Crash in Standalone When Sub Anim Instance Uses Exposed Variable

Change 4109078 by Ben.Marsh

	Fix warnings building PlatformerGame due to incorrect include path.

	#jira

Change 4109066 by Matt.Kuhlenschmidt

	Prevent alt-f4 during slow tasks as it causes entry into the shutdown sequence at abnormal times

	#jira UE-59866

Change 4109020 by Ben.Marsh

	Fix client targets showing up in packaging menu for installed builds (which don't ship with client binaries).

	(This implementation is a little suspect in general - there is no requirement that client targets are called "*Client.Target.cs", though that is typically the case.)

	#jira UE-59641

Change 4108991 by Martin.Wilson

	Fix crash when trying to extract transform from raw track with no track data.

	#jira UE-58025

Change 4108987 by Martin.Wilson

	Make sure rotations are normalized before creating blended transform

	#jira UE-53971

Change 4108932 by Thomas.Sarkanen

	Back out changelist 4108877

	This was causing a 100% crash in an automated test

	#jira none

Change 4108930 by Danny.Bouimad

	Fixing testcase content #Jira UEQATC-405

Change 4108883 by Danny.Bouimad

	Fixing Automated LodCurveLinkingTest1 #Jira UE-59763

Change 4108877 by Thomas.Sarkanen

	Fixed crash when running in standalone editor build using sub-instances that copy properties

	DestProperty serialization was always a bad idea, this is another artifact of the problem where the property persists but the class it belongs to gets trashed. Re-mapping the property by name to the correct outer fixes this for a minor startup cost.

	#jira UE-59510 - Crash in Standalone When Sub Anim Instance Uses Exposed Variable

Change 4108874 by Thomas.Sarkanen

	Fixed incorrect preview mesh being applied after retargeting

	On first setup, the preview mesh was obtained using a legacy path that didnt use the skeleton fallback

	#jira UE-59636 - When Retargeting Animation, Mesh Set as Preview that Shares Skeleton Isn't Kept

Change 4108834 by Thomas.Sarkanen

	Pressing enter when selecting an object from a Blueprint node now works

	#jira UE-58017 - Enter key does not set chosen asset on some blueprint nodes

Change 4108833 by Thomas.Sarkanen

	Fixed crash caused by retargeting a skeleton when some of its animations are still open

	Firstly we now auto-close all assets that use a skeleton when retergetting instead of popping up a dialog to suggest the user does it.
	Secondly as a safety measure we dont re-use an animation editor if the persona toolkit's skeleton doesnt match.

	#jira UE-58681 - [CrashReport] UE4Editor_Persona!FPersonaToolkit::SetAnimationAsset() [personatoolkit.cpp:211]

Change 4108808 by Dmitriy.Dyomin

	Fixed: ARPG crashes on Vulkan PC and Android
	#jira UE-59781

Change 4108719 by Max.Chen

	Sequencer: Fix CIS
	#jira UESEQ-355

Change 4108675 by Max.Chen

	Sequencer: Added audio support to FCP XML import/export

	#jira UESEQ-355

Change 4108674 by Max.Chen

	Sequencer: Upon export, log warnings when filename format is not '{shot}'

	#jira UESEQ-358

Change 4108673 by Max.Chen

	Sequencer: Added 'Write FCPXML' option to Render Movie Settings dialog.

	Changed track menu FCPXML export to get default resolution and frame rate from MovieSceneCaptureSettings.

	#jira UESEQ-358

Change 4108418 by Mark.Satterthwaite

	Fix Shipping iOS builds.

	#jira UE-59883

Change 4108118 by Alexis.Matte

	Make sure GIsImportingT3D is false when the scene importer open the blueprint editor. This flag force a load of UObject when we do FindObject, which in this case was forcing a load of all blueprints assets.
	#jira UE-59854
	#jira UE-57861

Change 4108059 by Ben.Marsh

	Merge latest UGS fixes (up to 1.140) to 4.20 branch.

	#jira

Change 4107719 by Mark.Satterthwaite

	Duplicate 4107661:

	Refactor the MetalRHI debugging tools to move away from reimplementing the Objective-C protocols to adding separate debugging classes. This makes it easier to build on/for future OSes without having to interpose new functionality we don't yet use.

	#jira UE-59883

Change 4107443 by Lauren.Ridge

	Fix for crash on connecting curve param node with no texture set
	#jira UE-59880

Change 4107248 by Dan.Oconnor

	Explicitly close floating Blueprint Debugger controls when the master tab is closed

	#jira UE-59835

Change 4107137 by Jason.Bestimt

	Removing ML Analytics Plugin to fix regressions

	#JIRA: UE-59874, UE-59873

Change 4107125 by paulo.souza

	#jira UE-59806 - ARPG - Goblin death not running all destroy logic

Change 4107113 by Phillip.Kavan

	Allow the NativizedAssets plugin source to include monolithic engine header files without a compiler warning.

	- Mirrored from //UE4/Dev-Framework (4081432).

	#jira UE-59125

Change 4106736 by Jamie.Dale

	Fixed content browser filter failing to match certain names if asset paths were omitted from the search

	#jira UE-59849

Change 4106581 by Martin.Wilson

	Fix issue with double ticking a reused animation instance on set skeletal mesh because of parallel evaluation.

	#jira UE-54851

Change 4106475 by Jason.Bestimt

	Fix for Lumin Linux dependency in a better way

	#JIRA: CIS

Change 4106201 by Michael.Trepka

	Don't allow invalid cursor clip rects when locking the cursor on Mac

	#jira UE-59842

Change 4106188 by Jason.Bestimt

	Wrapping Lumin call with PLATFORM_LUMIN

	#JIRA: CIS

Change 4106179 by Michael.Dupuis

	#jira UE-53944: Integrated guard from user to prevent crash if bad data is found in the view
	#4714

Change 4106176 by Martin.Wilson

	Fix for crash introduced in 4105998

	#jira UE-56395

Change 4106103 by Ben.Marsh

	UBT: Fix intellisense search paths not being set correctly for modules which are not built by default.

	#jira

Change 4106081 by Marc.Audy

	Fix shadow variable
	#jira UE-59848

Change 4106078 by Jason.Bestimt

	Fix for Linux trying to build MagicLeapAnalytics by swapping from Blacklist to Whitelist

	#JIRA: none

Change 4106015 by Martin.Wilson

	Make sure that animations that have transform curves are up to date on loading.

	#4320
	#jira UE-53392

Change 4106005 by Anthony.Bills

	[Linux] Add support for terminfo2 to fix mono issue 6752, and rebuild .net 4.5's mscorlib.dll

	#jira UE-59382

Change 4105998 by Martin.Wilson

	Fix crash when re registering a skeletal mesh component with a post process instance that references invalid virtual bones

	#Jira UE-56395

Change 4105962 by Jeff.Fisher

	Duplicating for 4.20:
	Change: 4097595 and 4104555
	UE-59359 Mr Mesh Crash at startup
	-Vulkan does not work correctly unless we fill in all of the vertex buffers.  MRMesh now requires that via assert and MeshTrackerComponent fills in placeholder data as necessary.
	-Also fixed the vr.MagicLeap.FakeMeshTrackerData cvar, it was missing the 'MagicLeap'.

	#jira UE-59359

Change 4105952 by Ben.Marsh

	Add an "IsTerminating" event to the record of active sessions. Should allow detecting whether RequestExit() was called before an abnormal shutdown was triggered.

	#jira

Change 4105946 by Ben.Marsh

	Disable debug info for IOS and TVOS in installed builds.

	#jira UE-59816

Change 4105939 by Michael.Dupuis

	#jira UE-59256: Properly take into account the scale of the instances when determining LOD transition
	Added the possibility to see the Cluster tree bounds in the Show->Advanced Menu

Change 4105915 by Jamie.Dale

	Implemented negative indexing for Python wrapped arrays

	#jira UE-59841

Change 4105896 by Richard.Wallis

	Another macOS TIS non-MainThread spam warning fix.

	#jira UE-54623

Change 4105813 by Michael.Dupuis

	#jira none: Prevent a possible crash if using world offset with a landscape without sub sections

Change 4105764 by Ben.Marsh

	Add a check that a 2015 compiler exists under VS2015 toolchain directories - it may not have been installed.

	#jira

Change 4105747 by Ben.Marsh

	Fix detection of VS2017 toolchains that only have a 32-bit compiler for x64 (eg. VS2017 Express Desktop)

	#jira UE-59838

Change 4105642 by Jason.Bestimt

	Disabling Lumin Platform Editor modules on linux

	#JIRA: UE-59543

Change 4105553 by Matt.Kuhlenschmidt

	PR #4633: Fixed DPI awareness of two functions (Contributed by Temaran)


	#jira UE-57283

Change 4105486 by Michael.Dupuis

	#jira UE-58074: Include the HeightmapScaleBias in the DDC hash as component can share the same heightmap with different HeightmapScaleBias

Change 4105474 by Michael.Dupuis

	#jira UE-57957: Fixed neightbord component extend used when component was not visible (so not custom data and generating neighbord)
	#jira UE-58995:

Change 4105427 by Sorin.Gradinaru

	UE-59698 Cannot load youtube URLs on Android

	#jira UE-59698
	#Android
	#4.20

	The native WebView cannot load HTML5 movies if the control's layout doesn't have the FILL_PARENT param

Change 4105308 by Mieszko.Zielinski

	Merge of 4077826 over from Dev-Framework #UE4

	#jira UE-59186

Change 4105050 by Ben.Marsh

	Disable debug info for all target platforms in installed engine builds, to fix bloated install size. IOS and TVOS still have it enabled for now, due to errors when packaging.

	#jira UE-59816

Change 4104584 by Mike.Beach

	Mirroring CL 4103694 from Dev-VR

	Making it so the HMD post-process pass properly fills out its RenderTargetDesc (so it doesn't rely on being the final output to have it set).

	#jira UE-56511

Change 4104538 by Alexis.Matte

	Fix crash when reloading a skeletal mesh actor with some vertex painting
	#jira UE-57891

Change 4104534 by Mike.Beach

	Mirroring CL 4090670/4094620 from Dev-VR

	MR Calibration - Fixing an issue where the alignment models would disappear.
	MR Calibration - Saving garbage mattes when exiting using escape.

	#jira UEVR-24

Change 4104381 by Alexis.Matte

	Fix a render thread crash when reimporting skeletal mesh
	#jira UE-51935

Change 4104365 by Mike.Beach

	Mirroring CL 4064903 from Dev-VR

	Removing duplicate redirects, and resaving MRCalibration content so packaging works without failing on old package references.

	#jira UE-58914

Change 4104341 by Alexis.Matte

	Support non uniform scale scene transform for fbx skeletal mesh exporter
	#jira UE-57733

Change 4104328 by Alexis.Matte

	Fix a crash when re-importing an animation and we have to choose a skeleton for the anim sequence
	#jira UE-58027

Change 4104318 by Phillip.Kavan

	Monolithic engine header file exclusion from nativized Blueprint assets is now tied to a project setting.

	- Mirrored from //UE4/Dev-Framework (4082035).

	#jira UE-59125

Change 4104305 by Mike.Beach

	Mirroring CL 4098493 from Dev-VR

	Not forcing stereo scene capture target to resize (only intended for the main stereo scene buffer, as the depth buffer needs to match the color buffer on some platforms).

	#jira UE-58953

Change 4104274 by Mike.Beach

	Mirroring CL 4088048 from Dev-VR

	Use the standardized tracking-to-world transform for world layer positioning on Oculus - handles both explicit and implicit HMD positioning.

	#jira UE-59275

Change 4104259 by Mike.Beach

	Mirroring CL 4084827/4085071 from Dev-VR

	MRC - Adding CVar for overriding the tracking latency (makes development easier in the calibration process).

	#jira UEVR-847

Change 4104246 by Mike.Beach

	Mirroring CL 4084289 from Dev-VR

	MR - Setting up the calibration save data so that we version it in the future (know that a lens param change is inbound after 4.20).

	#jira UE-58187

Change 4104240 by Mike.Beach

	Mirroring CL 4083160 from Dev-VR

	Making it so the HMD post-process pass properly fills out its RenderTargetDesc (so it doesn't rely on being the final output to have it set).

	#jira UE-56511

Change 4104233 by Mike.Beach

	Mirroring CL 4081823 from Dev-VR

	Loading Oculus controller models in the editor so that they get included in the cooking process (so that the MotionController components that indirectly uses these at runtime don't get dropped).

	#jira UE-58190

Change 4104196 by Alexis.Matte

	Unshelved from pending changelist '4075677':

	Fix fbx scene re-import crash when the user re-import more then one time with some override material.
	#jira UE-57937

Change 4104191 by Mike.Beach

	Mirroring CL 4080389 from Dev-VR

	Speculative fix/guard against live crash - trying to catch malformed model data. Logging helpful information to give us insight in the future.

	#jira UE-57680

Change 4104177 by Mike.Beach

	Mirroring CL 4080119 from Dev-VR

	CIS fix - circumventing vs2015 errors/warnings

	#jira UE-59326, UE-59324

Change 4104170 by Mike.Beach

	Mirroring CL 4078631 from Dev-VR

	Fixing MR Calibration so it scales the alignment model according the the capture's FOV (so they appear the same size across capture devices - leading to a homogenous experience).

	Also moved the FOV override config setting to be a console command/setting (mrc.FovOverride) to help in testing this.

	#jira UE-55499

Change 4104167 by Jostin.Bilyeu

	Checking in needed changes to level TM-DualLobeSpec in order to correctly verify intended functionality of feature

	#jira UE-29618

Change 4104158 by Peter.Sumanaseni

	#jira

Change 4104057 by Wes.Hunt

	Remove sending of UniqueAdvertisingId from AnalyticsET SessionStart events.
	#jira UE-59790

	SOURCE CL 4101872 in //UE4/Main/...

Change 4104031 by Dan.Oconnor

	Update assert to handle subobjects nested in components
	#jira UE-56422

Change 4103946 by Dan.Oconnor

	No need to load AnimationBlueprintEditor so early
	#jira UE-59669

Change 4103859 by Brandon.Schaefer

	Vulkan on Linux does not allow debugging with markers

	This is required for debugging wtih Render Doc or anything that uses VK debug markers

	#jira none

Change 4103677 by Sorin.Gradinaru

	UE-59052 Can't use touch to interact with Web Browser on iPhoneX

	#jira UE-59052
	#iOS
	#4.20

	from CL4077699 on Dev-Mobile

	Fixed crash on some iOS 11 devices (addSubview before setting WebView's params)
	Fixed unresponsive WebView on iPhone X (resize the parent with the same size as the child, the touch won't work if the parent is smaller)

Change 4103637 by Sorin.Gradinaru

	UE-39451 Web browser widget causes app to crash when packaging for Distribution on Android

	#UE-39451
	#Android
	#4.30

	from CL 4067204 on Dev-Mobile
	Adding a proguard exception for the WebViewControl.FrameUpdateInfo

Change 4103619 by Marc.Audy

	Allow the default physics volume to be spawned during construction script execution if it needs to be lazily created

	#jira UE-58875

Change 4103590 by mason.seay

	Added Show Mouse Cursor

	#jira UE-29618

Change 4103469 by paulo.souza

	#jira UE-59807 - War Hammer weapon was missing Ability setting resulting in it not working correctly.

Change 4103459 by mason.seay

	Updated maps so users can toggle UI-only input

	#jira UE-29618

Change 4103423 by paulo.souza

	#jira UE-59808 - Projectile abilities collision blocking on the camera trace

Change 4103280 by Jason.Bestimt

	Fixing copyright in Lumin Plugins

	#JIRA: 59192

Change 4103238 by JeanMichel.Dignard

	Copied cl 4077328 from dev-enterprise

	Fixed SoftObjectPtr/Paths becoming invalid when saving a new world since it's being moved from /Temp/Untitled to its own package.

	#jira UEENT-1423

Change 4103138 by Richard.Wallis

	Emergency Fix for bug I introduced in macOS UnrealFrontend crashing on open.  FSlateMacMenu::PostInitStartup() gets called much much earler in the front end tool than in the editor.  Unfortunatly the style set referenced is invalid as this call happens much earlier in the startup than with the game or the editor

	1) Changed GetStyleSetName() - this is not imortant for us so it won't crash there again.
	2) Added a check to see if the menu hasn't been setup correctly - if not initialize - this allows localization and and correct keyboard short cuts in non editor / game builds.
	3) Keep Editor and Game menu startup behaviour the same as before.

	#jira UE-59704

Change 4102958 by mason.seay

	Test map update

	#jira UE-29618

Change 4102847 by Marc.Audy

	Try and find the full path name for default value of class parameters

	#jira UE-59746

Change 4102449 by Ben.Marsh

	PR #4700: This patch fixes a build failure that occurs on the very first build after adding new files with reflected types. (Contributed by junkimu)

	#jira UE-58275

Change 4102431 by Ben.Marsh

	UBT: Fix issue where overlapping circularly header dependencies would not be parsed correctly, preventing files not being rebuilt on header changes (noted where Clang detected an out of date PCH).

	#jira UE-54979

Change 4102328 by Guillaume.Abadie

	Cherry-pick 4102327: Fixes a bug in FTAAPassParameters::TopLeftCornerViewRects() that was mistakenly increasing input and output view sizes, causing DOF buffers misalignement for split screen & VR.

	#jira none

Change 4102318 by Emil.Persson

	Fix for dark metal (missing reflections) in Blueprint Editor. Duplicate of changelist 4099649.
	#jira UE-59217

Change 4102310 by Dmitriy.Dyomin

	Fixed: UMG element clipping does not work on Android with Mali GPUs
	#jira UE-56058

Change 4101920 by Ben.Marsh

	Don't bother tagging the BuildConfiguration schema on Linux and Mac; we only include it in the distribution for Visual Studio anyway.

	#jira

Change 4101538 by Mark.Satterthwaite

	Duplicate 4073368

	Linear allocator for <2MB Managed buffers allocated in 4MB chunks - hopefully this reduces the total number of buffers and thus reduces the churn in the driver further. These should all be Volatile buffers meaning that we should eventually get semi-decent reuse of these buffers. Fixes some buffer alignment and sizing gotcha's along the way.

	#jira NA

Change 4101500 by Mark.Satterthwaite

	Duplicate 4098091

	On Mac we can avoid continually reallocating the depth-fallback texture as we only need the largest size to hang around and we can use DontCare for Load & Store. On iOS due to driver bugs we need to match the size and either Clear or Load - but I think Clear should be faster. Should make FortGPUTestBed faster on the CPU.

	#jira NA

Change 4101453 by Mark.Satterthwaite

	Duplicate 4078874 & 4079396

	Make LPV visualisation work on macOS to aid debugging.

	#jira UE-58937

	Export the constant-buffer bindings that are actually used by Metal shaders to prevent overwriting SRVs & UAVs with unused uniform-buffer data.

	#jira UE-58937

Change 4101448 by Max.Chen

	Sequencer: Fix uninitialized default completion mode

	#jira UE-58335

Change 4101417 by Sam.Deiter

	#JIRA #RB UEDOC-7656 - Fixed an issue with ARPG not building the loading screen CPP file.

Change 4101412 by Mark.Satterthwaite

	Duplicate 4075868

	Metal Vega drivers in 10.13.5 fix blitting with non-zero offsets and we should be using the same buffer blitting path on 2013 Mac Pro's now that we aren't paying an exorbitant cost for doing so.

	#jira N/A

Change 4101393 by Mark.Satterthwaite

	Fixed a mistake I let slip through in 3934147 that will potentially cause slight miscompilation of SP_METAL.

	#jira N/A

Change 4101390 by Marc.Audy

	Placed Editor Utility Base once again ticks in the editor as intended

	#jira UE-59743

Change 4101367 by Brandon.Schaefer

	Avoid printing when in a signal handler.
	Put that off until the end

	#jira UE-36663

Change 4101362 by Mark.Satterthwaite

	Duplicate 4091485
	PR - Fixed potential memory leak.
	#4751
	#jira UE-59490

Change 4101349 by Brandon.Schaefer

	VHACD Needs to be recompiled

	#jira UE-59506

Change 4101335 by Brandon.Schaefer

	Cache files that are invalid or the wrong case sensitivity

	#jira UE-58250

Change 4101325 by Dan.Oconnor

	SA fix, remove unneeded null check

	#jira UE-46834

Change 4101278 by Brandon.Schaefer

	Set our location to Linux/Mac GenerateProject.sh if we are not running from that location

	#jira UE-59127, UE-57928

Change 4101219 by Brandon.Schaefer

	If RunUAT gets a signal while running mono bring mono down as well

	#jira UE-56041

Change 4101169 by Dan.Oconnor

	Mirror 4094297 from Dev-Framework
	Mark blueprint created properties as RF_LoadCompleted to prevent the linker from finding them and overwriting them
	#jira UE-59642

Change 4101157 by Sam.Deiter

	#jira UEDOC-7655 Updating these images to reflect the name of the project and look like the other loading screens.

Change 4101132 by Jamie.Dale

	Fixed some places that were running asset registry queries inside a loop and causing performance issues

	#jira UE-59766

Change 4101125 by Jamie.Dale

	Added IAssetRegistry::GetAssetsByTags to optimize tag look-up when you can have several potential values

	#jira UE-59766

Change 4101102 by Dan.Oconnor

	Mirror 4090824 from Dev-Framework
	Add abillity to insert pins before or after a target pin for Sequence nodes via the context menu
	#jira UE-59530

Change 4101017 by Brandon.Schaefer

	Add a pop up message box for Linux to check if we want to or not submit crash report data

	#jira UE-59617

Change 4100961 by Michael.Trepka

	Updated Mac VHACD libs

	#jira UE-59506

Change 4100703 by Dan.Oconnor

	Mirror 4090523 from Dev-Framework
	Allow user to close Blueprint Debugger while at a breakpoint, origin of this behavior was 1148085 and the original issue no longer seems to happen. Also fix mismatch between tab name and context menu entry

	#jira UE-59526

Change 4100697 by Dan.Oconnor

	Merge 4083850 from Dev-Framework
	Prevent GameplayAbilitiesEditor from creating FBluerpintActionDatabase when not neccessary, improve performance of FBlueprintActionDatabase::RegisterAllNodeAction

	#jira UE-59036

Change 4100687 by Dan.Oconnor

	Mirror 4086666 from Dev-Framework
	Fix regression due to 'Step Over' fixes - we could pause VM execution when trying to end a Play-in-Editor or Simulated-in-Editor session

	#jira UE-58916

Change 4100658 by Jostin.Bilyeu

	Checking in new level TM-DuelLobeSpec and corresponding assets needed to verify Duel Lobe Specularity

	#jira UE-29618

Change 4100600 by Max.Chen

	Sequencer: Fix uninitialized default completion mode

	#jira UE-58335

Change 4100576 by Dan.Oconnor

	Mirror 4081417 from Dev-Framework
	Enum literals are now more similar to byte literals, which  makes them safer to pass by reference

	#jira UE-58473

Change 4100559 by Dan.Oconnor

	Mirror 4081153 from Dev-Framework
	Watch Point Viewer should not be a nomad tab, is owned by the Blueprint Debugger tab manager
	#jira UE-59313

Change 4100540 by Dan.Oconnor

	Mirror 4078822 from Dev-Framework
	Continue trying to finish reinstancing when instances of the old class are being async loaded
	#jira UE-58123

Change 4100527 by Dan.Oconnor

	Mirror 4092349 from Dev-Framework
	Speculative fix for shutdown crash, avoid use of LoadModule in DataValidator ShutdownModule and delete delegates registered in another module when BlueprintGraph shuts down

	#jira UE-57763

Change 4100478 by Mike.Zyracki

	weighted, non-weighted fix typo fix for issue found by AndrewP

	#jira UE-58573

Change 4100445 by Mike.Zyracki

	Fix for build warning, order of initialization.
	#jira UE-58712

	#trivial

Change 4100438 by Dan.Oconnor

	Mirror 4083455 from Dev-Framework
	Reduce use of template nodes - a template node was causing an ensure when asset reload code attempted to fix it up

	#jira UE-46834

Change 4100374 by Mike.Zyracki

	Fix for bad Camera Rotation Imported From Maya

	Main issue was that we don't support RotationOrders that aren't XYZ.
	We had some code to zero out other part's of the FBX transform pipeline but it wasn't setting the Rotation Order correctly and was also based upon old documentation.
	Currently recommendation is to always just zero everything out.
	Finally had to use ResetPivotSetAndConvertAnimation since there appears to be a bug with ConvertPivotAnimationRecursive into the correct space.

	#jira  UE-59116

Change 4100310 by Jamie.Dale

	Fixed ExecutePythonScript failing when passing file arguments

	#jira none

Change 4100305 by Mike.Zyracki

	Fix for performance issues with motion trails.

	Found that the main issue was the GetRefTM call.  Refactored the code so that we only call that once per tick, instead of up to  4 times per tick. Also we cache the calculation of the key positions, so we don't need to calculate them again when calculating keys.  Finally the GetRefTM call was recursive which was a decent hint, so we cache out it's parent's first and just get the transform's linearly.

	Also we don't select parents or children to show their trails also, this seemed buggy and possibly very very slow.

	#jira UE-58712

Change 4100290 by Ben.Marsh

	Prevent schema being added as a build product twice.

	#jira UE-59757

Change 4100259 by Jeff.Fisher

	Duplicating in Release-4.20:
	Change: 4087159
	UE-58249 Late update has FP precision issues on PSVR
	-In lateupdate the TranslatedViewMatrix and its inverse were being calculated from the ViewMatrix, by subtracting the PreViewTranslation.  This doesn't work because the translation numerical innacuracy is already in the ViewMatrix.
	-I also rearanged the UpdateViewMatrix code some to make it look more like the FViewMatrix constructor code that sets this up, just to make it easier to spot the difference.

	#review-4087096
	#jira UE-58249

	Files:
	//UE4/Dev-VR/Engine/Source/Runtime/Engine/Private/SceneView.cpp#71

Change 4100170 by Brandon.Schaefer

	Need dump_syms and BreakpadSymbolEncoder in installed builds

	#jira UE-59500

Change 4100070 by Richard.Wallis

	Speculative fix for crash in macOS AppKit NSPersistentUIManager.  Disable NSWindow application resume feature per window - we are not using it anyway.  OS system may still be called but hopefully this reduces the amount of work it is doing.  There still seems to be some generic data getting written however.

	There is also an undocumented *NSDisablePersistence* plist key.  Using this plist key completely stops any data getting written by the OS window resume feature. This CL does NOT use this because it's undocumented but maybe an option for the future.

	#jira UE-52294

Change 4099999 by James.McNatton

	Removed the disconnect button in the VirtualCamera plugin and cleaned up redirectors in VCam Widgets folder #jira UE-58032 #rb none

Change 4099996 by Ben.Marsh

	Build: Merge changes to support AutoSDKs on Mac.

	#jira UE-59574

Change 4099991 by Jamie.Dale

	Updated wrapped enums to be more consistent with native Python enums

	 - Wrapped enums now generate values that are instances of the enum type itself, containing a name and value field (like native Python enums).
	 - Wrapped enums are now strongly typed and do not allow implicit conversion from numbers (explicit casting is available, but throws if the value is unknown).
	 - Wrapped enum entries may be compared against numbers (even numbers that don't have valid values) via the == and != operators (like IntEnum in Python).
	 - Wrapped enums may now be iterated (like native Python enums).
	 - Wrapped enums now return a length based on their number of entries (like native Python enums).
	 - ScriptName meta-data can now be used with enum entries.

	#jira none

Change 4099973 by Mitchell.Wilson

	Removing some more content that got duplicated into the main project from the virtualcamera plugin content.
	#jira UE-59744

Change 4099913 by Jamie.Dale

	Fixed some places that were calling LoadModuleChecked during shutdown

	#jira UE-59482

Change 4099905 by Jamie.Dale

	Fixed InitializeAvailableCultures missing some languages

	#jira UE-59349

Change 4099879 by Jamie.Dale

	Fixed a crash when a Blueprint with variable watches was destroyed

	#jira UE-59117

Change 4099874 by Mitchell.Wilson

	Removing some unused files from the Content directory. Updating defaultengine.ini with remote session channel info.
	#jira UE-59745 UE-59744

Change 4099860 by Benn.Gallagher

	Fixed clothing data binding state becomming mismatched after a reimport over multiple LODs, moved the unbind and rebind steps out of the inner import loop to be handled before and after the total reimport.

	#jira UE-57337

Change 4099819 by Richard.Wallis

	Fix for Timed Notifies scrub incorrectly on timeline on Mac.  This is also an issue if running in Hi DPI on windows.

	#jira UE-55678

Change 4099808 by Jamie.Dale

	Fixed crash when content hot-reloading the build data for the currently loaded world

	#jira UE-59163

Change 4099773 by Jamie.Dale

	Fixed crash after attempting to load a package that is too new

	#jira UE-58121

Change 4099759 by Jamie.Dale

	Fixed material editor crash if reloading a texture used by the material

	#jira UE-57762

Change 4099744 by Jamie.Dale

	Fixed placeholder string table entries being considered identical as their entry may appear in the future

	#jira UE-58987

Change 4099735 by Jurre.deBaare

	Crash importing specific Alembic file
	#fix Additional fix to triangulation vs indexing of vertex attributes, this fixes the crash but also normal issues seen before
	#misc default constructor for FTrackRenderData which could cause jittering/invisible geometry
	#jira UE-59095

Change 4099612 by Michael.Trepka

	Reverted change that delays crash reporting initialization for CEF on Mac

	#jira UE-57378

Change 4099564 by Guillaume.Abadie

	Cherry-pick 4075014: Works arround HLSLCC's issue with InterlockedOr in DOF's reduce pass.

	#jira none

Change 4099557 by Guillaume.Abadie

	Cherry-pick 4074767: Fixes DOF's scattered bokeh changing of intensity dynamic resolution + TAAU.

	#jira none

Change 4099549 by Guillaume.Abadie

	Cherry-pick 4073050: Whitelists vulkan for DOF's R11G11B10 optimisation and increase to 4 gathering on consoles.

	#jira none

Change 4099544 by Guillaume.Abadie

	Cherry-pick 4073044: PR #4681: UE-58051: Scene Capture 2D: additive mode not working in 4.19 (Contributed by lion03)


	#jira UE-58051

Change 4099540 by Richard.Wallis

	Fix for PIE HighDPI touch location.

	#jira UE-59015

Change 4099516 by Richard.Wallis

	speculative fix for FSlateMacMenu::UpdateMenu() crashes.  I've not been able to reproduce this.  All the crash call stacks seem to be at shutdown, maybe with the save changes dialogue that would appear after modifications then a CMD+Q.  I can get similar behaviour by adjusting when the FMacMenu adds and removes itself to the GCachedMenuState map.  This fix changes the access pattern to the map from operator[] (which uses a FindChecked underneath and is the cause of this crash/assert) to a FindRef then checking for a valid node.

	Since these crashes are at shutdown I think this is ok to do and I've tested with this fix in place, randomly not adding those items to GCachedMenuState object during editor operation and it now survives this and recovers if you then reenable the adding of the items.

	My best guess as to the cause is that the defered update event on shutdown is happenning way after the FMacMenu dealloc has been called and so the GCachedMenuState is empty by then.

	#jira UE-57012

Change 4099511 by Max.Chen

	Fix CIS
	#jira UE-59739

Change 4099486 by Richard.Wallis

	Speculative fix for crash in FMacWindow::ApplySizeAndModeChanges().  I had seen a crash in here while working on UE-46999 (fix for that submitted in CL 4016062) due to the window handle becoming nil mid way through the ApplySizeAndModeChanges() function then a deref'd.  This CL adds extra null pointer protection to make sure we check the validity of the WindowHandle after calls to UpdateFullScreenState().

	#jira UE-55071

Change 4099392 by Andrew.Rodham

	Sequencer: Fixed RootToSequence transform not being used when compiling segments with "Evaluate Sub Sequences in Isolation" enabled

	#jira UE-59138

Change 4099386 by Ben.Marsh

	Include the BuildConfiguration.Schema.xsd file in the installed engine build, and don't write it out when running in an installed build.

	#jira UE-58692

Change 4099382 by Benn.Gallagher

	Fixed crash when switching clothing meshes when clothing LOD0 is unbound on a clothing data object.
	#jira UE-55780

Change 4099363 by Jason.Bestimt

	Fix for HMD errors
	#jira UEVR-1191

Change 4099307 by Richard.Wallis

	Clone of CL 4077664:  Fix for Mac crash from crash report: [CrashReport] UE4Editor-Renderer.dylib!void FForwardLightingParameters::Set<FRHICommandList, FRHIPixelShader*>().  Reflection uniform buffer is NULL when shader parameter is bound - fails checkSlow(!Parameter.IsBound() || UniformBufferRHI); in SetUniformBufferParameter().

	#jira UE-51698

Change 4099289 by Richard.Wallis

	Clone of CL 4059587:  Fix for Sequencer window opening behind Main Window.  FLevelSequenceEditorToolkit::Initialize() Closes and reopens the world outliner after adding the Sequencer window.  On Mac this makes the world outliner / main window move back in front of the sequencer window.  This change swaps around those operations.  Reopen the world outliner then add the sequencer window.  Outliner info still changes it's visible data as before.

	Tested with World Outliner docked and undocked.

	#jira UE-55280

Change 4099279 by Richard.Wallis

	Fix for crash in Mac editor copying unusual characters in the output log.

	Current operation is unsafe.  String Length, number of bytes and code units are not always interchangeable in this way - use FString as that is the target type and does the right thing.

	#jira UE-57774

Change 4099256 by Richard.Wallis

	Fix for menu options not updating immediatly after creating or removing collision on Mac.  We set the bChachedMacMenuStateNeedsUpdate when a menu is opening, key up and mouse up.  However these can be missed on a mouse menu selection (mouse up doesn't cover this case).  This change makes sure that the menu cache updates after a menu item execute operation has been called.

	#jira UE-57049

Change 4098972 by Max.Chen

	Sequencer: Modify the section when toggling the bounded range. This fixes an issue where the evaluation would be incorrect because the template wouldn't regenerate when toggling the section bounds.

	#jira UE-59726

Change 4098967 by Mike.Zyracki

	Turn off turning off optimization for geometry sequencer tracks.

	#trivial
	#jira UESEQ-372

Change 4098942 by Max.Chen

	Fix CIS
	#jira UESEQ-372

Change 4098906 by Max.Chen

	Fix CIS
	#jira UESEQ-372

Change 4098881 by Max.Chen

	Fix CIS
	#jira UESEQ-372

Change 4098667 by Marcus.Wassmer

	Duplicate 4098665.  Fix d3ddebug error on launch
	#jira UE-59693

Change 4098542 by Mike.Zyracki

	Geometry Cache Sequencer Support for 4.20
	#jira UESEQ-372

Change 4098373 by Jason.Bestimt

	Misc Vulkan/Lumin fixes from Dev-VR

	CL 4071730, 4077567, 4077947, 4078460, 4078467, 4081212, 4081315, 4081648, 4083015

	#JIRA: UE-59722

Change 4098334 by Ethan.Geller

	[Release 4.20] #jira UE-54812 fix up include path.

Change 4098286 by Matt.Kuhlenschmidt

	Fix slate resources being destroyed when a dynamic image brush is destoyed even if the resource is shared.

	#jira UE-55792

Change 4098284 by Brandon.Schaefer

	Missing header in Monolithic builds

	Fixed indent issues, was using spaces vs tabs

	#jira UE-59705

Change 4098247 by Michael.Trepka

	Fixed a crash in FMacApplication::ProcessMouseUpEvent()

	#jira UE-57859

Change 4098219 by Matt.Hoffman

	Linux CIS Fixes for TOptional

	#trivial
	#jira  None

Change 4098209 by Matt.Kuhlenschmidt

	Disable "restart detection" reimport test until we can reproduce the issue.  Its not detecting a legit issue

	#jira UE-59710

Change 4098132 by Ben.Marsh

	Add "Nuget Package Manager" to the list of required components for compiling the engine.

	#jira UE-59376

Change 4098110 by Ben.Marsh

	Fix missing DLL errors when compiling for Win32 with the VC++ 14.14 toolchain.

	#jira UE-59150

Change 4098088 by Matt.Kuhlenschmidt

	Fix ensure starting tutorials in any editor project

	#jira UE-59714

Change 4098011 by Ben.Marsh

	Fix editor targets not being rebuilt when packaging from an installed engine build.

	#jira UE-58652

Change 4098006 by Matt.Hoffman

	Deleting keys, undoing the deletion, selecting them and then redoing the deletion no longer causes a crash in Sequencer/UMG's Curve Editors. KeyHandleLookupTables were not being serialized so when Undo/Redo transactions happened their map of the key handles would not be restored. This caused a mis-match in the data (the map contained more entries than actual data) so the map would falsely report a valid index when there was not one. Graph Editor selections are not sync'd with the Undo/Redo system currently so redoing a deletion after selecting keys would leave you in a state where you tried to request now out of bounds keys on the next Tick to update the UI.

	#jira UE-58270

Change 4097995 by Ryan.Vance

	#jira UEVR-1190

	Disable rhi thread when running with vulkan on oculus android platforms.

Change 4097981 by Ben.Marsh

	Ignore private include paths for any precompiled modules. Prevents warnings when they are stripped out from an installed engine build.

	#jira

Change 4097963 by Ben.Marsh

	Write the exception callstack to the UBT log when thrown reading a makefile.

	#jira UE-59222

Change 4097940 by Ben.Marsh

	Prevent source folder being added as a private include path if it does not exist.

	#jira UE-59145

Change 4097927 by Ethan.Geller

	[Release-4.20] #jira UE-54812 Bring fixes over for Set Mic Threshold issue in binary builds. #rb aaron.mcleran

Change 4097905 by Krzysztof.Narkowicz

	Added dual specular for subsurface profile shading model. It is controlled by parameters inside subsurface profile.
	#jira UE-59709

Change 4097898 by Ryan.Vance

	#jira UEVR-1191

	Ensure we prefer VK_PRESENT_MODE_MAILBOX_KHR or VK_PRESENT_MODE_IMMEDIATE_KHR over VK_PRESENT_MODE_FIFO_KHR when creating a swap chain when running inVRr. VSync will interfere with compositor cadence.

Change 4097855 by Ben.Marsh

	Move checks for unique field names behind an additional define, to avoid performance hit when compiling blueprints.

	#jira UE-58593

Change 4097850 by Ben.Marsh

	Fix UE4Game compile errors.

	#jira UE-58593

Change 4097849 by Marcin.Undak

	Vulkan: fix missing debug markers (TCHAR_TO_ANSI lifetime issues)

	- Fixed by BrandonS.

	#jira UE-59484

	(merged from Dev-Console)

Change 4097844 by Ben.Marsh

	TBA: Use the trivially relocatable allocator with structured archives, to reduce time taken allocating memory in the constructor.

	#jira UE-58593

Change 4097840 by Ben.Marsh

	Add a new allocator (TNonRelocatableInlineAllocator) which eliminates conditional logic from GetAllocation(), at the expense of not being trivially relocatable. This provides a significant performance increase for allocators that are dereferenced frequently, but prevents instances of it being stored inside other allocators (which are expected to be trivially relocatable by default).

	#jira UE-58593

Change 4097831 by Ben.Marsh

	TBA: Add a fast path for serializing to binary archives that don't require callbacks when leaving slots.

	#jira UE-58593

Change 4097825 by Marcin.Undak

	UAT: don't produce .pak file while cooking on the fly (merged from Dev-Console)

	#jira UE-58923

Change 4097783 by Ethan.Geller

	[Release-4.20] #jira UE-58004 fix AudioMixer checks in AudioMixerBlueprintLibary, which solves crash when calling recording BP functions. #rb Aaron.McLeran

Change 4097767 by Matt.Kuhlenschmidt

	Fix crash processing mainframe keybindings during slow tasks

	#jira UE-55765

Change 4097745 by Ben.Marsh

	Fixes to UpdateCopyright for latest source.

	#jira

Change 4097743 by mason.seay

	Test map for Virtual Camera Focus testing

	#jira UE-29618

Change 4097723 by Matt.Kuhlenschmidt

	Fix crash when importing assets in a folder containing an invalid character for a package name

	#jira UE-59166,UE-44071

Change 4097713 by Max.Chen

	Sequencer: Fix missing buttons in the particle toggle track.

	Fixed CreateKeyEditor and make the the channel handles reflect the channel's inheritance hierarchy.

	#jira UE-59542

Change 4097683 by Max.Chen

	Sequencer Scripting: Move to "Scripting" category alongside Python Script Plugin

	#jira UE-59568

Change 4097681 by Krzysztof.Narkowicz

	Missing file for CL 4097655: "Added subsurface profile for eye shading model."
	#jira UE-59708

Change 4097655 by Krzysztof.Narkowicz

	Added subsurface profile for eye shading model.
	#jira UE-59708

Change 4097634 by Max.Chen

	Sequencer: Add checks for valid sequencer.

	#jira UE-59287

Change 4097627 by Max.Chen

	Sequencer: Fix for crash OnKeySelected and GetAutoSizeRange

	#jira UE-58343

Change 4097625 by Max.Chen

	Sequence Recorder: Fix StopRecording() condition when there is an actor recording that doesn't have a valid actor to record. Fix bool recorder not using bool channels.

	#jira UE-58688

Change 4097620 by Max.Chen

	Actor Sequence: Fix crash on compiling blueprint with deleted actor sequence

	#jira UE-53186
	#jira UE-59664

Change 4097616 by Max.Chen

	Text Render Component: Fix crash on shutdown.

	#jira UE-58116

Change 4097607 by Max.Chen

	Sequencer: Use non-throttled spin box for numeric key editor

	#jira UE-59219

Change 4097606 by Max.Chen

	Sequencer: Check for a valid segment ID in EvaluateStatic

	#jira UE-57596

Change 4097538 by Marc.Audy

	PR #4755: Fix minor typo in comment (Contributed by Marenz)
	#jira UE-59671

Change 4097518 by Marcin.Undak

	UBT: fix for platforms overriding project generation (merge from Dev-Console)

	#jira UE-59485

Change 4097417 by Benn.Gallagher

	Fixed barycentric computation case causing a check. Should really just output an invalid sentinel value. Warns about failures but no longer crashes.

	#jira UE-57097

Change 4097407 by Jason.Bestimt

	Changing MLSDK missing callback to launch MagicLeap URL

	#JIRA: UE-58631

Change 4097404 by Jason.Bestimt

	Proper fix for UE-58864 (crash for Android derived platforms in Launch on menu)

	#JIRA: UE-58864

Change 4097296 by Matt.Kuhlenschmidt

	Fix rotation widget no longer correctly displaying rotation label while rotating in high dpi

	#jira UE-58983

Change 4097284 by Matt.Kuhlenschmidt

	PR #4650: Git plugin: fix crash on commit error (Contributed by SRombauts)


	#jira UE-57562

Change 4097275 by Matt.Kuhlenschmidt

	Fix crash if slate shuts down while a drag drop operation is in progress

	#jira UE-58888

Change 4097261 by Matt.Kuhlenschmidt

	Undo //UE4/Release-4.20/Engine/Source/Runtime/Slate/Private/Framework/Application/... changelist 4097249

	#jira 0

Change 4097249 by Matt.Kuhlenschmidt

	Fix crash if slate shuts down while a drag drop operation is in progress

	#jira UE-58888

Change 4097165 by Nick.Shin

	#jira UE-58441  HTML5 package crashes on several key combinations: uncaught exception: ASM_CONSTS

Change 4097163 by Nick.Shin

	#jira UE-58423 HTML5 Quicklaunch through UnrealFrontEnd fails on Stage Command: Error: System.NullReferenceExeception

Change 4096984 by Ben.Marsh

	Merging changes to //UE4/Main after 4.20 stream was created.

	#jira

Change 4096873 by Ben.Marsh

	Fix compile errors for UE4Editor when Oodle SDK is not available.

	#jira

Change 4095992 by Ben.Marsh

	Update stream for analytics.

	#robomerge none
	#jira

Change 4111924 by Ben.Marsh

	Force Win32/Win64 game targets in the installed engine build to be compiled with VS2015, to fix missing symbols linking object files built with VS2017 with VS0215 MSVCRT.

	#jira UE-59891

Change 4106160 by Ben.Marsh

	UBT: Fix intermittent PDB errors when compiling with ParallelExecutor, caused by MSPDBSRV.EXE instances being terminated while generating multiple PDBs in parallel.

	#jira UE-59691

Change 4101702 by Mark.Satterthwaite

	Duplicate 4098660 & 4101604

	Restore the MacGraphicsSwitching plugin removed in 3212253 and begin refactoring it to support switching the Editor between Metal GPUs - primarily this is of benefit to those with eGPUs.
	- Changing the GPU will ask you to restart.
	- Fixes a bug where 27" iMacs report an Intel GPU even though it is physically disabled.

	Add support for Metal device notiications and amend the MacGraphicsSwitching plugin to use it to update when GPUs are added or removed.

	#jira UERNDR-404

Change 4101598 by Andrew.Grant

	Changed RemoteSession background to something more generic.

	#jira UE-59062

Change 4101553 by Mark.Satterthwaite

	Duplicate 4072923 & 4081236 & 4082081 & 4084046 & 4084647

	- Fixes LLM double-counting in MetalRHI.
	- MetalProfiler improvements.

	#jira NA

Change 4099406 by Ben.Marsh

	Disable building IOS in installed builds on Windows by default. We don't support this on the cross-compile toolchain.

	#jira UE-57801

[CL 4112874 by jason bestimt in Dev-VR branch]
2018-06-05 10:27:10 -04:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Luke Thatcher
0d4895e8e7 Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 4070461)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3751378 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3748735 to //UE4/Dev-Console/...

Change 3807818 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3803271 to //UE4/Dev-Console/...

Change 3818577 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3812936 to //UE4/Dev-Console/...

Change 3726554 by Luke.Thatcher

	[CONSOLE] [+] Improved Scoped Named Events
	 - Added SCOPED_NAMED_EVENT(_FSTRING/_TEXT/_F) macros to allow use of string literals, FString and printf in scoped named event strings.
	 - Replaced explicit use of FPlatformMisc::Begin/EndNamedEvent throughout the engine with macros, so the events can be compiled out.
	 - Fixed performance issues on various platforms with named events. SCOPED_NAMED_EVENT macros were not considering whether the platform uses wide or ansi char strings.

Change 3813513 by Ben.Woodhouse

	CSV profiler refactor+ bug fix
	- Move the CSV profiler to core, so we can use it in modules other than engine
	- Profiler no longer enqueues RT commands - this is handled by a new core delegate type
	- Make begin/end requests more robust, enqueued via a command queue and processed in order
	- Defer end capture requests by a frame. This ensures stats on threads other than the gamethread (e.g. renderthread etc) are complete, so the last frame is not truncated
	- Fix long-standing bug with multiple captures where old/stale frames would appear in the first <128 frames of captures
	- Move unit stats and dynamic resolution out of the profiler itself and into the engine. Only frametime is recorded in the profiler now
	- Fix longstanding bug in first frame renderthread time in the engine

Change 3814039 by Ben.Woodhouse

	More Csvprofiler improvements
	- Event support (via CSV_EVENT macros). These appear in the "EVENTS" column of the CSV and can be used to add context to the stat data
	- Reduced memory overhead for timestamps through bit-packing (now 16 bytes per marker instead of 24), and splitting stats into different types

Change 3814229 by Ben.Woodhouse

	Integrate + refactor of CL 3792591 to reduce complexity and fix bugs

	Original changelist description:
	CSV profiler improvements:
	- The CSV profiler is now always compiled in on the server
	- The CSV profiler can now handle both int32 and float stats
	- In BeginCapture, the function can take additional arguments for some customization of filenames

	Fixes to the above:
	 - Remove FCustomValue class
	    - Fixes bug where all timestamp values from CSV_SCOPED_STATs were garbage (due to issues resulting from FCustomValue type ambiguity when adding values together)
	    - FCsvCustomStat now just uses simple union + bitfield flag to reduce size and complexity (4 bytes instead of 8 per value)
	    - FCsvColumn class modified to use doubles, which can represent both ints and floats without loss of precision - this class is not memory or time critical
	 - Replace multiple overrides used by the server for filenameprefix/folder/postfix etc with a single FilenameOverride

Change 3817339 by Ben.Woodhouse

	Duplicate from 3816641: CSV profiler improvements
	- Added a low-pri processing thread to compress raw timing data into a much more efficient format
	   - Reduces memory usage for 15 minute 30k frame capture with GPU stats enabled from 110MB to 3.4MB
	   - Processing time : 0.1ms per frame
	- Improved name handling for char literal stats. We now use the string as the ID rather than the pointer so multiple stat uses of the same name string apply only to  a single stat
	- Reworked thread data access to eliminate locking for anything time-critical. Frame boundaries now handled via a lock-free helper class
	-  Fixed bug with queue implementation where 1 in 128 reads would duplicate the last block of stat data
	-  Reduced #include dependencies for CSVProfiler.h
	-  Removed AccumulateMax because it doesn't work, and implementing properly would add a lot of complexity
	-  Added a simple test harness

Change 3827787 by Ben.Woodhouse

	Integrate-as-edit CL 3820678 from Fortnite/Main
	Allow the CSV Profiler to be compiled in to shipping dedicated server builds

Change 3827842 by Ben.Woodhouse

	Integrate-as-edit CL 3827079 from Fortnite/Main
	CSV profiler category support

Change 3840185 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3840005 to //UE4/Dev-Console/...

Change 3861618 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3860990 to //UE4/Dev-Console/...

Change 3901590 by Anthony.Bills

	Fix incorrect srv and sampler count when an array of textures or an array of samplers is used.

	- The code originally set the local variable BindCount but did not pass this to the total sampler or srv count and instead used the original BindDesc.BindCount (which will be 1) and still skipped over those resource indicies.
	- The code also checked for the array's bracket location but then only compared the resource names before the bracket, meaning non arrays could be included.

Change 3904065 by Anthony.Bills

	Allow easily increasing the maximum number of SRVs to 64 in the D3D12RHI.

	- Increasing to 64 will fix shader compilation issues when using more than 32 textures.
	- Casting has been added to correct the type on bitshifting the masks when the type changes.
	- A new type has been added for the bound VB mask to make sure bitshifting is explicitly typed.

Change 3905752 by Ben.Woodhouse

	Integrate from //UE4/Release-4.19/...@3904082 to //UE4/Dev-Console/...

Change 3920080 by Luke.Thatcher

	[CONSOLE] [+] Added .natvis visualizer for FRHICommandList, which expands the list links to a flat list of commands. To use this, add an FRHICommandList* to your watch window.

Change 3951698 by Keith.Judge

	Fix CIS (leftover debugging code)

	#jira UE-55443

Change 3953261 by Luke.Thatcher

	[CONSOLE] [^] Merging //UE4/Release-4.19 (CL 3944462) to Dev-Console (//UE4/Dev-Console)

Change 3971144 by Luke.Thatcher

	[CONSOLE] [^] Merging //UE4/Dev-Main (CL 3964322) to Dev-Console (//UE4/Dev-Console)
	 - First merge since Dev-Console was reparented back to Dev-Main.

Change 3992843 by Anthony.Bills

	Fix deploying to the default device in UAT.

Change 4010029 by Marcin.Undak

	ShooterGame: use console UI on Quail platform

Change 4010030 by Marcin.Undak

	RecordPerformance: don't fail if game crashes

Change 4012181 by Marcin.Undak

	Implemented Low Level Memory tracker for Unix platforms

Change 4039094 by Ben.Woodhouse

	[INTEGRATE] Integrate from //UE4/Main/...@4039044 to //UE4/Dev-Console/...

Change 4039598 by David.Harvey

	adding LLM hooks for bespoke platform-specific memory tracking tools.

Change 4042637 by Arciel.Rekman

	Merging //UE4/Dev-Main@4042226 to Dev-Console (//UE4/Dev-Console)

Change 4044679 by Marcin.Undak

	RecordPerformance: store logs from runs

Change 4045895 by Marcin.Undak

	Vulkan: added log when compiling new PSO

Change 4047096 by Ian.Fox

	#ShooterGame - Potential fix for ShooterGame friendslist empty issue

	#review-4046664

Change 4048332 by Marcin.Undak

	Compilation fix for Oculus. Ported Rolando's change from Dev-Rendering

Change 4051609 by Marcin.Undak

	Compilation fix

Change 4053542 by Joe.Barnes

	Integrate as edit:

	Faster Guid creation. Don't check time for every Guid (it's slow on some platforms). Check it once, then use that + CPU timer.

Change 4057462 by Luke.Thatcher

	[CONSOLE] [-] Remove "frame rate smoothing" override on console.
	 - This was arbitrarily forced on when vsync is enabled.
	 - It can still be enabled via the bSmoothFrameRate in UEngine if needed.

	(merge as edit CL 3891390 from //Fortnite/Release-3.0.0 to //UE4/Dev-Console)

Change 4057551 by Luke.Thatcher

	[CONSOLE] [~] Improvements to game thread hitch detection.
	 - Allows the system to be configured by ini files.
	 - Fixes callstack addresses being truncated to 32 bits.
	 - Removes memory allocation in hitch callstack logging code. We use a pre-allocated 64KB buffer for this now. This was a memory leak anyway, as the memory was never freed.
	 - Performs a throwaway gamethread stack dump on launch, to prime the stack walker so we don't make gameplay hitches worse than they otherwise would be.

	#jira FORT-78417

	(merge as edit CL 3967234 from //Fortnite/Main to //UE4/Dev-Console)

Change 4057562 by Luke.Thatcher

	[CONSOLE] [~] Increase verbosity on FlushAsyncLoading logging. Higher verbosity limited to once per frame, to avoid log spam.

	#jira FORT-77411

	(merge as edit CL 3967336 from //Fortnite/Release-3.4 to //UE4/Dev-Console)

Change 4057568 by Luke.Thatcher

	[CONSOLE] [+] Add async load flush analytics stats.

	#jira FORT-80229

	(merge as edit CL 3986900 from //Fortnite/Release-3.5 to //UE4/Dev-Console)

Change 4057590 by Luke.Thatcher

	[CONSOLE] [+] Add hang detector duration multiplier to allow extending the hang timeout on loading screens etc.

	#jira FORT-80325

	(merge as edit CL 3990275 from //Fortnite/Release-3.5 to //UE4/Dev-Console)

Change 4057679 by Luke.Thatcher

	[CONSOLE] [WIN64] [~] Modify hitch detector stack walking to avoid expensive symbol lookups. Stack walk now only prints the return addresses without symbol information.
	 - Old behaviour of performing full symbol resolution can be achieved by defining LOOKUP_SYMBOLS_IN_HITCH_STACK_WALK to 1.
	 - Also fixed a minor bug in CaptureStackTraceHelper which duplicates the last line if stack walking fails.

	#jira FORT-87620

	(merge as edit CL 4049361 from //Fortnite/Release-4.1 to //UE4/Dev-Console)

Change 4057779 by Luke.Thatcher

	[CONSOLE] [~] Refactored how the default LLM categories are defined.
	 - Prevents initialization order problems which stops early boot code from getting group name strings.

	#jira FORT-80324

	(partial merge as edit CL 4057155 from //Fortnite/Main to //UE4/Dev-Console)

Change 4059809 by Luke.Thatcher

	[CONSOLE] [!] Fix compiler warning (incorrect order of member initializers in FGameThreadHitchHeartBeat)

Change 4060781 by Luke.Thatcher

	[CONSOLE] [!] Fix for XGE control worker hanging around after killing the editor from Visual Studio.
	 - Reused the "XGE monitor" mode of shader compile worker, that the old XGE compiler used.
	 - The monitor watches the editor process and automatically terminates the build if the editor exits.

	#jira UE-55864

Change 4063641 by David.Harvey

	remove legacy "r.AmbientOcclusionSampleSetQuality" cvar from ini files (deleted in CL 2622264)... gets rid of warning in log.

	#jira UE-51256

Change 4067367 by Ben.Woodhouse

	Edigrate dev rendering CL 4062236:
	AppleTV doesn't appear to support the set*Bytes APIs in Metal.

	#jira UE-58580

Change 4067748 by Arciel.Rekman

	Fix editor build (a plugin also needs private VulkanRHI headers, heh).

Change 4068121 by Arciel.Rekman

	Correct paths to referenced directories for Linux.

	- Should help CIS.

Change 4069919 by Arciel.Rekman

	Fix Lumin build (another plugin needs private Vulkan headers, grrr).

[CL 4070552 by Luke Thatcher in Main branch]
2018-05-14 09:49:35 -04:00
projectgheist
27ae5afdcb PR #4726: Update copyright notices to 2018. (Contributed by projectgheist)
#rb none
#lockdown Nick.Penwarden

[CL 4070389 by Ben Marsh in Main branch]
2018-05-14 07:48:19 -04:00
Mike Beach
9c1629fae7 Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4064755)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3873313 by Nick.Atamas

	Merging CL 3834212 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a

	Merging CL 3805354, CL 3822769, CL 3827454, CL 3831789
	//UE4/Partner-Google-VR/Engine/...
	to //Tasks/UE4/Dev-VR-4.19a/Engine/...

Change 3873330 by Nick.Atamas

	Merging CL 3835373 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a

	Merging CL 3777058
	//UE4/Partner-Google-VR/Engine/...
	to //Tasks/UE4/Dev-VR-4.19a/Engine/...

	and fixing up QAARApp to work with latest ARCore changes.

Change 3873791 by Nick.Atamas

	Merging //UE4/Dev-Main@3866324 to Dev-VR (//UE4/Dev-VR) to get missing files and fixing CIS.

Change 3933769 by Keli.Hlodversson

	Remove unused IStereoRendering::GetCustomPresent
	#jira UEVR-1083

Change 3935219 by Nick.Atamas

	QAARApp re-write.

Change 3935664 by Mike.Beach

	Oculus SI 1.23 changes

Change 3941505 by Joe.Graf

	Made the send & recv buffer sizes for the BackChannel plugin configurable
	Added send & recv counters for tracking the amount of transmission data

Change 3944003 by Joe.Graf

	Added -buildscw to the CMake build command lines for editors to match what XCode is doing on Mac

Change 3945189 by Douglas.Copeland

	Saving Material with Use w/ Static Lighting Flag set to resolve Engine warnings

Change 3945245 by Douglas.Copeland

	Resaving QA_MeshTypes asset to resolve warnings produced by missing info

Change 3945266 by Douglas.Copeland

	Updating TM-HMDNodes LevelBP WallofGets to use PxielDensity instead of ScreenPercentage. Resolving Engine warnings

Change 3947785 by Mike.Beach

	Oculus changes to Android core count - only count usable cores not deadicated to the OS, etc.

Change 3951763 by Joe.Graf

	Fixed thread ordering bug with remote session frame compression

Change 3952242 by Joe.Graf

	Saved about 20-25% of the cpu time for compressing jpeg when performing the cpu swizzle

Change 3954571 by Keli.Hlodversson

	* Add FXRRenderBridge base class containing common code from different CustomPresent implementations.
	* Create a default implementation of UpdateViewportRHIBridge in FXRRenderTargetManager by adding  GetActiveRenderBridge_GameThread.
	** The default implementation now handles calling View->SetCustomPresent instead of making it up to the custom present (now XRRenderBridge) implementation (it already had to handle when the custom present was null.)
	* Remove unused member variable ViewportRHI from RHICustomPresent.

	#jira UEVR-1081

Change 3954572 by Keli.Hlodversson

	* Apply XRRenderBridge and XRRenderTargetManager changes to the SteamVR plugin
	* Move duplicated methods into an already existing BridgeBaseImpl class
	#jira UEVR-592

Change 3954573 by Keli.Hlodversson

	* Apply XRRenderBridge refactor to Oculus plugin
	#jira UEVR-590

Change 3954575 by Keli.Hlodversson

	* Apply XRRenderBridge refactor to OSVR
	#jira UEVR-595

Change 3954578 by Keli.Hlodversson

	* Apply XRRenderBridge refactor to GoogleVR
	#jira UEVR-594

Change 3954596 by Keli.Hlodversson

	Add file missing from cl#3954572

Change 3957882 by Jeff.Fisher

	UEVR-1100 bLockToHmd false doesn't work correctly
	-CameraComponent can now tell the LateUpdateManager to store, correctly buffered, the fact that we don't want to do late update this frame.  DefaultXRCamera checks that flag before applying the late upate to the camera.
	#jira UEVR-1100
	#review-3956168

Change 3957945 by Jeff.Fisher

	Fix for Oculus begin/end frame problem after XRRenderBridge refactor.
	-The 'Frame' lifetime in the frame was not long enough, so it was null by the time GetActiveRenderBridge_GameThread was called.  NextFrameToRender is the same value, but has a long enough lifetime.
	#review-3957897

Change 3958760 by Dongsik.Seo

	Adding UseCameraRotation feature to StereoPanorama plug-in.
	To enable this feature, use console command
	SP.UseCameraRotation 7
	Simply add numbers to mark axis to use. 1 = Pitch, 2 = Yaw, 4 = Roll
	7 means all axis (1+2+4)
	#review-3958756 @Joe.Conley

Change 3959347 by Douglas.Copeland

	Fixing spelling errors in test displays

Change 3964331 by Jason.Bestimt

	Merging CL 3959979 from 4.19 to Dev-VR + uplugin change from CL 3954046

	GoogleARCore Plugin fixes for Unreal 4.19.1 hotfix:

	Fixed the crash in Acquire/Release UGoogleARCorePointCloud.
	Fixed the issue that multiple line trace channel doesn't work correctly.
	Fixed the issue the passthrough camera texture has blue and red channel swapped when building against gles 3.1
	Fixed the issue that UGoogleARCorePointCloud::GetPoint doesn't return position in world space.

Change 3967485 by Ryan.Vance

	Removed the exlude rect, we want to clear stencil on the entire surface.

Change 3968028 by Zak.Parrish

	Nuking contents of existing FaceARSample, to be replaced by the one from Release-4.19.

Change 3968114 by Zak.Parrish

	Adding in the new version of FaceARSample from Release-4.19 #rb none

Change 3978381 by Mike.Beach

	Mirroring CL 3969503 from 4.19

	Only triggering new Blueprint event, OnMotionControllerUpdated, from the game thread (causing a assert/crash when triggered from the render thread and the component has been destroyed on the main thread).

	#jira UE-55445

Change 3981160 by Joe.Graf

	Merged the BackChannel unit test fix over from Owl

Change 3981705 by Mike.Beach

	[WIP] MR Calibration - Expose a config setting that will alter the tracking origin type used to calibrate (eye vs. floor).

	#jira UE-55220

Change 3981898 by Joe.Graf

	Added support for Apple hardware accelerated image conversion to JPEG, TIFF, PNG, and HEIF
	Added a Blueprint latent action to perform the conversion in the background

Change 3981910 by Joe.Graf

	WIP AR texture support so that other systems can interact with the camera data

Change 3982102 by Joe.Graf

	Pull request: Update CMakefileGenerator.cs for CLion
	Fixed an issue in the PR and added cleanup for the macro errors that result in FOO()= definitions

	#jira: UE-57103

	GitHub #4619

Change 3982883 by Joe.Graf

	Added a CLionGenerator for consistency
	Fixed editor preferred source code accessor parsing in the project file generator
	Added code to detect the bad assumption of the project name always being UE4 and stripped that off in the CLionSourceCodeAccessor

	#jira UE-54801

Change 3983687 by Joe.Graf

	Fixed the lack of platform checks for adding a framework in the Apple image utils plugin causing a Switch compile error

Change 3984325 by Jeff.Fisher

	UEVR-1141 PSVR - fix morpheus on pc render target scaling
	-Hard coding the target size. Perhaps the old method broke with the pixel density change.
	#review-3983261

Change 3984563 by Joe.Graf

	Temporarily disabled ConvertToHEIF on Mac until the build machines are updated to XCode 9.3

Change 3985213 by Zak.Parrish

	Removing a ton of excess art assets that were taking up lots of space and possibly throwing warnings. We weren't going to use them anyway. #rb none

Change 3985577 by Joe.Graf

	WIP support for the Apple Vision API to perform computer vision tasks on images

Change 3985654 by Joe.Graf

	Fixed missing forward declaration hidden by unity files

Change 3990596 by Mike.Beach

	Adding a delegate for handling when the active XR system modifies the tracking space origin, and a API function for getting a transform between floor and eye space.

	#jira UE-55220

Change 3990788 by Mike.Beach

	Attempted CIS fix (fallout from CL 3990596)

Change 3990824 by Ryan.Vance

	Re-submitting 4.19.1 hotfox 3968537

Change 3995804 by Jeff.Fisher

	Merging cl 3995785
	//UE4/Dev-VR-Seal/Engine/Source/...
	to //UE4/Dev-VR/Engine/Source/...

	UEVR-1148 bLockToHmd change breaking qagame entry level xr camera behavior
	-Fixing late update when no camera component is in use.
	-The camera component's bLockToHMD==false behavior is supposed to be that hmd motion is ignored, meaning we should not do a late update.  This behavior is being applied TO the XRCamera system FROM the camera component, but the camera component can go away or be switched at any time.  We want the default to be do apply hmd motion and late update, so disabling late update needs to be a positive setting applied each frame.
	#review-3995764

Change 3999842 by Nick.Whiting

	Exposing Apple ARKit function library as public for our buddies down under.

Change 4005541 by Joe.Graf

	UE-57541 Blacklisted TVOS since it also defines PLATFORM_IOS as 1

	#jira UE-57541

Change 4006308 by Jason.Bestimt

	#DEV_VR - Hopeful fix for possible unity issue

Change 4006543 by Joe.Graf

	Added code to be more correct on setting face blendshapes

Change 4007508 by Jason.Bestimt

	#LUMIN - Adjusting automation tests.
	- Moved QA specific content test into QA Game
	- Wrapped controller not found to only happen on device

Change 4007515 by Jason.Bestimt

	#LUMIN - Disabling privilege warning except on device

Change 4007552 by Jason.Bestimt

	#LUMIN - Wrapping LuminTargetPlatform internals that require WITH_ENGINE

Change 4008585 by Joe.Graf

	Added virtual curves for the head rotation information from the FaceAR's face tracking for streaming via LiveLink

	#jira: UE-57830

Change 4008604 by Mike.Beach

	MR - Making the chroma key material easier to customize & switch out. Updating the calibration to let you set whatever params you've exposed in the video processing material (removing hardcoded params for old chroma keying material).

	#jira UEVR-1153

Change 4009396 by Jason.Bestimt

	#DEV-VR - Removing warning about stat on different threads (CL 4009124)

Change 4009514 by Joe.Graf

	Added a weighted moving average method to the modify curve anim node

Change 4010125 by Jason.Bestimt

	#DEV-VR - Integrating 0.12 changes from Dev-VR-Seal to Dev-VR

Change 4010434 by Jason.Bestimt

	#DEV-VR - Fix for Lumin Haptic Test include

Change 4010945 by Jeff.Fisher

	QAHapticTests build fix
	-removed unused bad include

Change 4011002 by Nick.Atamas

	Fixed Android compilation.

Change 4011220 by Nick.Atamas

	- Adding visualization for boundary polygons.
	 - Adding support for vertical planes.

Change 4011298 by Mike.Beach

	MR - Revamping the VideoProcessing/ChromaKeying material so that it:
	  1) Better extracts luminance from the image
	  2) Utilizes despill to remove chroma bleed from the scene
	  3) Leverages the generated despill mask to add back in a faux bounce

	#jira UEVR-1153

Change 4011858 by Keli.Hlodversson

	Move ExecuteOn(RHI|Render)Thread from Oculus plugin into XRThreadUtils.{h|cpp} inside the HMD module
	Use TFunction and TFunctionRef instead of std::function as arguments. (Depends on the changes in CL#3987166: Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures.)
	-- Ref for methods that guarantee the function has been invoked before returning, TFunction for *_NoWait, as the function may not get execured until later when RHI is in a separate thtread and not bypassed.

	#jira UE-57380

Change 4011956 by Keli.Hlodversson

	Fix missing includes after CL#4011858

Change 4012096 by Joe.Graf

	Disabled building AppleVision on Mac until there's a good solution for older Mac OSes

Change 4012294 by Jason.Bestimt

	#DEV-VR - Adding dependency on LuminRuntimeSettings to MagicLeap module.  Hopefully, this will fix the generated files not being found

Change 4012390 by Jason.Bestimt

	#DEV-VR - Misc fixes for static code analysis issues

	- Guards around GEngine usage
	- Fix from Rolando for uint32 -> uint64 + shifting warning
	- Redundant if checks

Change 4013426 by Jason.Bestimt

	#DEV-VR - Guarding RestoreBaseProfile so we don't crash on exit

	#JIRA: UE-57960

Change 4014661 by Ryan.Vance

	Initial support for omni-directional stereo captures.
	https://developers.google.com/vr/jump/rendering-ods-content.pdf

Change 4015561 by Jason.Bestimt

	#DEV-VR - Moving MLSDK out of thirdparty directory to fix static code analysis issue

Change 4016202 by Jason.Bestimt

	#DEV-VR - Integrated CL 2685 from Seal depot

	#JIRA: UEVR-1157

Change 4016448 by Jason.Bestimt

	#DEV-VR - Adding LuminRuntimeSettings as dependent modules for anything that references the MLSDK

Change 4016457 by Ryan.Vance

	#jira UE-58018

	Cleaning up compiler errors/warnings.

Change 4017246 by Jason.Bestimt

	#DEV-VR - Potential fix for UE-58043 where metal asserts that it should be in the render thread rather than either the render thread OR RHI Thread

	#JIRA: UE-58043

Change 4018571 by Joe.Graf

	Added a remapping of curve values in a range to the modify curve anim node

Change 4018991 by Joe.Graf

	Wrapped vertical plane detection in a if iOS 11.3 check since ARKit 1.5 is only availabe from 11.3 on

	#jira: UE-57999

Change 4019068 by Joe.Graf

	Changed how Apple Vision support is enabled in code

	#jira: UE-57552

Change 4019194 by Joe.Graf

	Added a console command to change where Face AR is publishing LiveLink curve data "LiveLinkFaceAR SendTo=192.168.1.1"

Change 4019648 by Keli.Hlodversson

	Work around build failures caused by missing virtual destructor warnings.

	Reverting back to Oculus' original method of implementing own RHICommand wrapper around TFunctions and TFunctionRefs (using overloaded inline functions and templates to reduce code duplication.)

Change 4019871 by Joe.Graf

	Changed the __IPHONE_11_3 to the raw numeric value

Change 4020121 by Keli.Hlodversson

	Fix parameter types to match header declarations.

Change 4020127 by Keli.Hlodversson

	Remove dllimport/export macros from cpp file.

Change 4020621 by Joe.Graf

	Wrapped the Apple ARKit plane geometry building in a #if IOS_11_3 check

Change 4020910 by Joe.Graf

	Refactored how ARKit support #define to make it easy to wrap individual features by ARKit version

Change 4020952 by Joe.Graf

	Added checks to make sure PLATFORM_IOS and PLATFORM_TVOS are defined to 0 on non-Apple platforms when checking for ARKit

Change 4021116 by Jason.Bestimt

	#DEV-VR - Integrating CL 4005915 from Dev-Core to remove plugin modules that aren't supported on target platform

Change 4021320 by Joe.Graf

	Fixed warnings resulting from unity builds hiding them

Change 4021738 by Chad.Garyet

	- adding lumin filters
	- changing defaults for platforms back to true, this was brought over erroneously.
	#jira none

	#ROBOMERGE: Dogma, Nightlies

Change 4021898 by Chad.Garyet

	added missing bits from the ue4main script
	#jira none

	#ROBOMERGE: Dogma, Nightlies

Change 4022583 by Joe.Graf

	Added functions for checking ARKit version availability at runtime

Change 4022610 by Joe.Graf

	Added checks for ARKit 1.0 availability when creating the AR session to prevent calling invalid selectors on older iOSes

Change 4022616 by Joe.Graf

	Added support for enabling the ARKit 1.5 autofocus setting

Change 4022650 by Joe.Graf

	Defaulted autofocus for AR to on

Change 4023026 by Joe.Graf

	Changed the ARKit video overlay to use the new availability api

Change 4023124 by Joe.Graf

	Switched another version check in the ARKit overlay code to use the faster version

Change 4023489 by Ethan.Geller

	[Dev-VR] #jira none fix AudioMixerModuleName for Lumin. #fyi nick.whiting, jason.bestimt

Change 4023995 by Nick.Atamas

	Properly deprecated the bitfield for plane detection mode.

	#jira UE-57842

Change 4024992 by Jason.Bestimt

	#DEV-VR - Adding SupportPlatforms to MagicLeapAnalytics plugin

Change 4025702 by Jason.Bestimt

	#DEV-VR - Fix for loading ML libraries even when the MLSDK is not present

	#JIRA: UE-58033

Change 4026639 by Mike.Beach

	Removing innocuous Oculus error that did not match up with the rest of the code - it is handled/acceptable when Frame_RenderThread has been reset.

	#jira UE-58001

Change 4026949 by Mike.Beach

	MR - Making a few fixes to the lens undistortion and how it interacts with the MRC component...
	  - Switching to a 16bit displacement map instead of a 32bit UV map (updating the materials accordingly)
	  - Using the OpenCV focal ratio to scale the aspect ratio to avoid stretching from the undistortion
	  - Adding CVar commands to enable/disable pieces of the undistortion
	  - Changing the default undistortion cropping to be uncropped
	  - Removing the need for the 'EnableMapping' material parameter

	#jira UE-55195

Change 4027147 by Jason.Bestimt

	#DEV-VR - Fix for UE-58043 (more call sites where it should be Render OR RHI thread)

	#JIRA: UE-58043

Change 4027301 by Mike.Beach

	Updating the MRCalibration project's ini so it doesn't error on packaging.

Change 4027469 by Mike.Beach

	MR Calibration - Setting StartInVR to true, so when we package the app, we don't have to manually enable it.

Change 4027957 by Mike.Beach

	As part of renaming the MR plugin, first renaming the root folder to be MixedRealityCaptureFramework.

	#jira UE-57782

Change 4029182 by Keli.Hlodversson

	Revert back to not enqueuing RHI tasks when RHI is not on a separate thread. Oculus code depends on being able to call ExecuteOnRHIThread from code potentially called from within other calls to ExecuteOnRHIThread.

	#jira UE-58079

Change 4029687 by Dragan.Jerosimovic

	Boy rig and pose asset mb files, maps and masks

Change 4030059 by Mike.Beach

	As part of renaming the MR plugin, renaming the inner module to be MixedRealityCaptureFramework.

	#jira UE-57782

Change 4030296 by Charles.Egenbacher

	#LUMIN Copying from Dev-Incoming-Staging to Dev-VR

Change 4030593 by Jason.Bestimt

	#DEV-VR - Merging olaf test maps to Dev-VR

Change 4031042 by Keli.Hlodversson

	Allow executing ExecuteOnRHIThread* on the RHI thread. Enables simplifying destructors that can either be invoked on the RHI or Render thread.
	#jira UE-58239

Change 4031046 by Keli.Hlodversson

	Use the new XRThreadUtils functions in the HMD module for executing tasks on the RHI thread
	#jira UE-58238

Change 4032593 by Mike.Beach

	As part of renaming the MR plugin, renaming the inner module to be MixedRealityCaptureCalibration.

	#jira UE-57782

Change 4033911 by Jason.Bestimt

	#DEV-VR - Fix to LuminToolChain to allow it use a custom strip executable (android instead of gcc)

Change 4034087 by Mike.Beach

	Renaming the MR plugin to be the 'MixedRealityCaptureFramework' plugin.

	#jira UE-57782

Change 4034253 by Joe.Graf

	Made the Apple Vision plugin use version checking consistent with ARKit

Change 4034543 by Joe.Graf

	Added availability checks for the Apple Image Utils plugin similar to ARKit

	#jira: UE-57541

Change 4034548 by Joe.Graf

	Fixed the implicit conversion in the head rotation curves from the face ar feed causing the values to be 0

Change 4034577 by Jason.Bestimt

	#DEV-VR - Removing MAC Custom Metal present (fixes Mac with -game rendering all black)

Change 4034605 by zak.parrish

	Checking in test case for head rotation tracking - minor temporary change to AnimBP #rb none

Change 4034686 by Jason.Bestimt

	#DEV-VR - Integrating (most of) CL 3980919 to disable instances of deprecation warnings caused by building for ios11

	#JIRA: UE-58046

Change 4034799 by Joe.Graf

	Added base types for detecting images in a AR session

Change 4034820 by Joe.Graf

	Added a friendly name to UARCandidateImage objects

Change 4035010 by Joe.Graf

	Added support for handling ARImageAnchor notifications from ARKit

Change 4035355 by Mike.Beach

	[WIP] MR - Renaming some classes to reflect the plugin's new name.

	#jira UE-57782

Change 4035464 by Joe.Graf

	Added orientation to the ARCandidateImage object to pass to the detection system

Change 4035524 by Mike.Beach

	[WIP] MR - More renaming of some classes to better match the plugin's new name.

	#jira UE-57782

Change 4035606 by Mike.Beach

	[WIP] MR - More renaming of some classes to better match the plugin's new name.

	#jira UE-57782

Change 4035918 by Mike.Beach

	[WIP] MR - Renaming the MrcFramework module's source files to better match the plugin's new name.

	#jira UE-57782

Change 4035976 by Mike.Beach

	[WIP] MR - Renaming some more files and classes to better match the MRC framework's new name.

	#jira UE-57782

Change 4036044 by Ryan.Vance

	#jira UEVR-377

	Adding support for ISR Translucency.

Change 4036069 by Ryan.Vance

	We can remove the last word PrimitiveVisibilityMap masking for ISR since the maps are always the same size between views.

Change 4036073 by Chance.Ivey

	Fixed select blocks on LuminSamplePawn and GesturesAndTotem map to reflect recent changes. Fixes #JIRA UE-58328 #rb none

Change 4036307 by Mike.Beach

	[WIP] MR - Renaming the MRC calibration files to better match the MRC framework's new name.

	#jira UE-57782

Change 4036314 by Mike.Beach

	[WIP] MR - Renaming some more calibration classes to better match the MRC framework's new name.

	#jira UE-57782

Change 4036319 by Charles.Egenbacher

	#LUMIN this is an out-of-date version of the lumin sample. Nuking.

Change 4036396 by Charles.Egenbacher

	#LUMIN Adding the up to date version of the LuminSample.

Change 4036485 by Sorin.Gradinaru

	UE-57773 Disable Thermals Message

	#4.20
	#iOS

	Add in the Remote Session App BP an Execute Console Command node immediately after Event Begin Play, disabling all on-screen messages, for all builds.

Change 4036695 by Jason.Bestimt

	#DEV-VR - Adding Lumin case to PrecompileTargetType check

Change 4037110 by Jason.Bestimt

	#DEV-VR - Extra deprecated macro guards around HarfBuzz includes

	#JIRA: UE-58046

Change 4037443 by Jason.Bestimt

	#DEV-VR - Merging CL 4028003 from Partners-Google

Change 4037490 by Jason.Bestimt

	#DEV-VR - Integrating CL 4028922 from Partners-Google (+ assignment guarding)

Change 4037691 by Jason.Bestimt

	#DEV-VR - Swapping order of comparrison operator to deal with const error

Change 4037892 by Joe.Graf

	Added UTexture2D to CGImage conversion in Apple Image Utils plugin

Change 4037894 by Joe.Graf

	Changed the name of a property to make it clearer as to what it is and to have fewer things named similar in the same system

Change 4037901 by Joe.Graf

	Added support for configuring which images you'd like detected during a AR session

Change 4037906 by Jason.Bestimt

	#DEV-VR - Fixing buckled logic for =operator (derp)

Change 4038293 by Mike.Beach

	[WIP] MR - Moving the calibration setup/level/content into its own project, and out of the MR plugin.

	#jira UE-57782

Change 4038403 by Joe.Graf

	Added the name from the candidate image when creating the Apple side representation

Change 4038488 by Mike.Beach

	[WIP] MR Calibration - Moving calibration specific files to the MRCalibration project, out of the plugin (followup to CL 4038293). This makes the MRCalibration project a code project now.

	#jira UE-57782

Change 4038776 by Chance.Ivey

	Updates to Fix for Gestures change. Affects #JIRA UE-58328, though other non-content issues may cause packaging to fail #rb none #fyi Nick.Whiting

Change 4038877 by Mike.Beach

	[WIP] MR - Renaming assets to better match the new plugin name.

	#jira UE-57782

Change 4039097 by Joe.Graf

	Fixed the public include path warnings in the Apple* plugins I added

Change 4039106 by Joe.Graf

	Worked around a bad compile time assert that blocked valid FString::Printf debug code

Change 4039209 by Jeff.Fisher

	Fixing one build script paths

Change 4039275 by Jeff.Fisher

	More include path fixes.

Change 4039415 by Joe.Graf

	Added support for remote session sending AR camera image data to be rendered on the host like we do for AR on device

Change 4039471 by Joe.Graf

	Added a file I missed when adding to the remote session plugin

Change 4039473 by Joe.Graf

	#ifdef-ed some code out until the linkage can be fixed

Change 4040249 by Mike.Beach

	[WIP] MR - Moving some more asset files that aren't needed for the MRC plugin

	#jira UE-57782

Change 4040365 by Mike.Beach

	Fixing a compiler issue in the MRCalibration project, since moving MRC files there (WITH_OPENCV is not defined for the project).

	#jira UE-57782

Change 4040455 by Mike.Beach

	Moving the few remaining methods that were calibration specific, sprinkled through the MRC plugin.

	#jira UE-57782

Change 4041404 by Mike.Beach

	Fixing an issue with BP async nodes - making it so their wrapped function can be renamed and redirected.

Change 4041406 by Mike.Beach

	MR - Splitting the Mrc video util library so that the BP functions needed for calibration aren't exposed to users.

	#jira UE-57782

Change 4042110 by Jason.Bestimt

	#DEV-VR - Stopping spew for ML eye tracking when not on platform

	#JIRA: UE-58365

Change 4042407 by Joe.Graf

	Disabled HEIF compression on Mac

	#jira: UE-58479

Change 4042727 by Jason.Bestimt

	#DEV-VR - Fix for Android compiling without version 24

Change 4042861 by Olaf.Piesche

	#jira UE-57784

Change 4043105 by Mike.Beach

	Exposing a way for programmers to strip save game headers from save data, and get to the tagged object serialization portion.

	#jira UE-58389

Change 4043120 by Mike.Beach

	MR - Loading the base save data, even if we're unable to fully construct the original save object class.

	#jira UE-58389

Change 4043401 by Mike.Beach

	New Oculus poke-a-hole material, in support on SI 1.25. Checking in to alleviate QA contention for testing the rest of SI 1.25.

	#jira UEVR-1143

Change 4043424 by Mike.Beach

	Oculus SI 1.24/1.25 - Engine rendering changes

	#jira UEVR-1143

Change 4043495 by Mike.Beach

	CIS fix - Missing files needed for the Oculus SI 1.24/25 Vulkan changes.

	#jira UEVR-1143

Change 4043642 by Zak.Parrish

	Changes to FaceARSample: added in support for JoeG's smoothing algorithm, also refactored calibration to use the new Modify Curves node. Added some more comments to the AnimBp to make it easier to read. #rb none

Change 4045638 by Zak.Parrish

	Some minor updates to FaceARSample content. Mostly refactoring for new ModifyCurve stuff.

Change 4046003 by Jason.Bestimt

	#DEV-VR - Fix for bEnableAlphaChannelInPostProcessing reading in as false for LuminSample

	bEnableAlphaChannelInPostProcessing translates to r.PostProcessing.PropagateAlpha in ini files

	#JIRA: UE-58523

Change 4046548 by Jules.Blok

	Fix SetInstancedEyeIndex() ignoring the left eye.

	#jira UE-54044

Change 4046859 by zak.parrish

	Checking in the new rig from 3Lateral - this prevents the eyelashes from separating

Change 4047060 by Nick.Whiting

	Wrapping -norhithread in PLATFORM_LUMIN to prevent the ML plugin from always disabling RHI threading.

	#jira UEVR-1192

Change 4047667 by Mike.Beach

	CIS fix - removing uneeded line from bad merge.

Change 4047673 by Mike.Beach

	More CIS fixes for fallout from recent rendering merge.

Change 4048227 by Rolando.Caloca

	VR - vk - Some Vulkan merge conflicts resolved

Change 4048421 by Jason.Bestimt

	#DEV-VR - Converting OwnerName to EventName in UpdateSceneCaptureContent_RenderThread call

Change 4048423 by Jason.Bestimt

	#DEV-VR - Fixing mediandk version check

Change 4048452 by Rolando.Caloca

	VR - Merge fix

Change 4048530 by Rolando.Caloca

	VR - Merge fix

Change 4048607 by Jason.Bestimt

	#DEV-VR - Probable repair of Mr Mesh post merge

Change 4048794 by Rolando.Caloca

	VK - Fix mobile from merge

Change 4048972 by Jeff.Fisher

	Fixing MeshReconstructor merge problems.

Change 4049969 by Ryan.Vance

	Fixing missing shader assert.

Change 4050831 by Ryan.Vance

	Merge clean up. This is still needed to build w/ vulkan on Lumin.

Change 4050854 by Ryan.Vance

	Merge clean up.
	We need GetAllocationHandle for the ML Vulkan custom present sRGB workaround.

Change 4051495 by Jason.Bestimt

	#DEV-VR - Adding Android, Quail, Linux vulkan include clauses

Change 4052528 by Zak.Parrish

	Changing defaultEngine.ini for the higher res version of Gremlin

Change 4052880 by Ryan.Vance

	Merge clean up.
	Now with more Lumin

	#jira UE-58645

Change 4052991 by zak.parrish

	Update to FaceTrackingMap2 for proper camera positioning

Change 4053139 by Nick.Whiting

	Fixing Lumin Vulkan platform header

Change 4053352 by Mike.Beach

	On PC (in editor), not enabling ML stereo by default. Waiting for it to be enable by the EnableStereo() call (like we do for Oculus/SteamVR).

	#jira UE-57991

Change 4053644 by Nick.Whiting

	Fix for build break by wrapping bStereoDesired in !PLATFORM_LUMIN

Change 4054329 by Jason.Bestimt

	#DEV-VR - Resave of GoogleARCorePassthroughCameraMaterial.uasset

	#JIRA: UE-58689

Change 4054785 by Mike.Beach

	Fixing a MRCalibration BP compilation error from the latest merge - was using a deprecated variable which was no longer exposed to BPs.

Change 4055466 by Jules.Blok

	Suppress SteamVR submission errors after they've been logged once.

Change 4055500 by Jason.Bestimt

	#DEV-VR - MrMeshComponent fix for unsupported pixel format

	#JIRA: UE-58759

Change 4055761 by Ryan.Vance

	#jira UE-58729

	There's a single frame where the TLV textures are not initialized when using FCanvasTileRendererItem on startup.

Change 4056008 by Mike.Beach

	Fixing bad merge from Main.

Change 4056616 by Nick.Whiting

	Changing UBT configs to use Lumin-specific config files

	#jira UE-58760

Change 4056969 by Keli.Hlodversson

	MRCalibration: Set r.SceneRenderTargetResizeMethod to "Grow" to avoid cycling the scene render target size on every frame causing a flicker

	#jira  UE-58191


Change 4057356 by Jason.Bestimt

	#DEV-VR - Guard around JNI function for Lumin

Change 4059353 by Nick.Whiting

	Fix for shadow variable warnings on Linux

	#jira UE-58843

Change 4060158 by Rolando.Caloca

	DVR - vk - Temporarily add backbuffer delay/extra copy blit on android

	#jira UE-58859

Change 4060432 by Mike.Beach

	Fix for shadow variable warnings on Linux

	#jira UE-58843

Change 4060520 by Rolando.Caloca

	VR - Proper fix for r.Vulkan.DelayAcquireBackBuffer=0
	- Restore Android to not delay

	#jira UE-58859

Change 4060587 by Nick.Whiting

	Fix for minimum iOS version being set to iOS 8 on MRCalibration, which was causing CIS warnings

	#jira UE-58762

Change 4061277 by Jeff.Fisher

	UE-58861 //UE4/Dev-VR - Compile UE4Game Lumin - ERROR: MLSDK is not specified; cannot use Lumin toolchain.
	-Overriding HasAnySDK to setup the MLSDK.

Change 4061308 by Jason.Bestimt

	#DEV-VR - Work around of UE-58864 crashing when mousing over project launcher with only a Lumin device plugged in

	#JIRA: UE-58864

Change 4062111 by Ryan.Vance

	#jira UE-58875

	Fixing audio compilation failure.

Change 4064091 by Jason.Bestimt

	#DEV-VR - Disabling ML Plugin with the editor when bIsVDZIEnabled is off

	#JIRA: UE-58954

Change 4064554 by Jason.Bestimt

	#DEV-VR - Removing ML haptic tests when not on the platform

	#JIRA: UE-58966

Change 4064755 by Jeff.Fisher

	UE-58970 Dev-VR - Incremental UE4Editor Linux - Referenced directory 'D:\Build\AutoSDK\HostWin64\Lumin\0.12\lib\linux64' does not exist.
	-Removed linux from magicleap plugin whitelists, we have no sdk for linux.
	#review-4064614

	#jira UE-58970

[CL 4064889 by Mike Beach in Main branch]
2018-05-10 14:17:01 -04:00
Ryan Gerleve
545b303834 Copying //UE4/Dev-Networking to //UE4/Dev-Main (Source: //UE4/Dev-Networking @ 4051526)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3809757 by Jon.Nabozny

	Fixup BuildPhysx to only set up HTML5 when needed.

Change 3812325 by Jake.Leonard

	Fix keyed debug messages from getting scaled to 0 and thus not appearing at all. This appears to be a bug in main as well. Only -1 keyed messages (which are handled differently) will display anything at all as the scale application was removed.

	#Jira UE-53579

Change 3828032 by Jon.Nabozny

	Make sure the State is set before triggering delegates in FLwsWebSocket.

Change 3837391 by John.Barrett

	NetcodeUnitTest updates for better CIS/automation support.

Change 3837392 by John.Barrett

	Fixed performance issue with processing piped output for large numbers of unit tests, and fixed unit test windows overlapping - plus other bugfixes.

Change 3837397 by John.Barrett

	Moved a unit test to the 'Obsolete' folder.

Change 3837476 by John.Barrett

	Reduced unwanted OSS-null logspam.

Change 3844506 by Jake.Leonard

	Implementing missing steam leaderboard implementations. Also streamlines and fixes the friends leaderboard too.

	#Jira UE-53474,UE-53475,UE-53476

Change 3844803 by Jake.Leonard

	Fixing the Steam Leaderboard to allow for overwrite instead of increment.

	Please see Jira for recent comments

	#Jira UE-24791

Change 3844829 by Jake.Leonard

	Does the following:

	* Add message on the screen while the presence test is running to let users know that the test is still running.
	* Remove the FUniqueNetIDString dependencies in the test
	* Fix the Steam Rich Presence from having to do an unnecessary cast

	#Jira UE-53066,UE-54177

Change 3851997 by Jake.Leonard

	Remove one of the double steam p2p dump prints. Now the socket subsystem is the only one that prints, which will cover more cases anyways and limits the potential of duplicate prints.

	Also changes the dump interval to 10s from 3s.

	#Jira: UE-53763

Change 3882307 by John.Barrett

	Fixed packet flooding protection, and handling of packets with errors, so that they don't delay further packet processing.
	When there's an error receiving a packet, make sure the wrong/previous-packets address isn't used for logging.

Change 3882311 by John.Barrett

	Restricted socket recv code from CL 3026398/3209824 to TCP, as with UDP it prevented telling the difference between the socket having no data to receive, and receiving a 0-length UDP packet.

	This is important for protecting against DoS attacks.

Change 3894785 by Jake.Leonard

	Fix replays not ending properly when the user goes to end their PIE instance.

	#Jira UE-54488

Change 3902627 by Jake.Leonard

	Fix the demo time values being incorrect if our delta would push us to the end of the replay. Since we're done, we early out of the functions before we have a chance to update the DemoCurrentTime variable. This causes issues with UI elements as it looks like the replay is not over but it actually is.

	#Jira UE-54483

Change 3902632 by Jake.Leonard

	Fix voice issues on seamless travel for NullOSS

	#Jira UE-54899

Change 3904775 by Jake.Leonard

	Properly grab the correct world context (we were sometimes grabbing the editor instead, when we wanted the PIE world). These changes will allow us to reliably end the demos. Improves the fix in 3894785.

	#Jira UE-54488

Change 3968022 by Ryan.Gerleve

	PR #4538: Guarantee Return Value of 0 When GetPortNo() Fails (Contributed by XenonicDev)


Change 3994505 by Jake.Leonard

	Fix some shootergame minor bugs:

	1. If there's no map selector UI option, just search for all maps. This fixes the only seeing Sanctuary bug (first option in the maplist)
	2. Always make the server push gametype (which is just TeamDeathmatch by default)

	#Jira none

Change 3999511 by Jake.Leonard

	FArchive serializer for FUniqueNetIdSteam

	#Jira none

Change 4014550 by Jake.Leonard

	Fix Steam Dedicated Server from linking steamclient dlls, which should not be necessary.

	This fix introduces a new launch argument (-force_steamclient_link) that can be used to force the steamclient link anyways for licensees who might have required this under extreme circumstances.

	#Jira UE-55183

Change 4017165 by Jake.Leonard

	Modification of the leaderboard test interface to add more tests as well as arbitrary rank fetches.

	Command is "online test leaderboards [optional arbitrary user id for lookup]"

	#Jira UE-53533

Change 4017215 by Jake.Leonard

	Fix MULTIHOME returning the incorrect ip address on Linux and Android

	#Jira UE-57463

Change 4024116 by Ryan.Gerleve

	Fix for the transform of spawned rollback actors in replays now that gc is not guaranteed to happen between the destroy and respawn

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3876761 by Brian.Bekich on 2018/02/07 11:06:24.

Change 4024119 by Ryan.Gerleve

	Better fix for replay gc changes with rollback actors - rename pending kill copy out of the way first

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3877425 by Brian.Bekich on 2018/02/07 15:14:42.

Change 4024125 by Ryan.Gerleve

	Allow replays to ignore rpcs while fast forwarding (demo.FastForwardIgnoreRPCs)

	#jira FORT-67138

	#AUTOMERGE using branch FNMain->DevNetworking of change#3877483 by Brian.Bekich on 2018/02/07 15:31:41.

Change 4024126 by Ryan.Gerleve

	Save additional state of rollback actors in replays to be applied upon respawn (demo.SaveRollbackActorState)
	Convert FRepState in object replicator to a shared pointer

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3877681 by Brian.Bekich on 2018/02/07 16:52:11.

Change 4024131 by Ryan.Gerleve

	[+] Add -csvdemostarttime and -csvdemoendtime command line arguments to automate CSV profiles when running replays. Since these commands use the playback time of the replay, they are much more reliable than the loading screen method we used previously.

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3879630 by Luke.Thatcher on 2018/02/08 14:26:01.

Change 4024155 by Ryan.Gerleve

	Fixed potential null access in DemoNetDriver

	#jira none
	#AUTOMERGE using branch FNMain->DevNetworking of change#3882753 by Jeff.Farris on 2018/02/09 16:46:43.

Change 4024158 by Ryan.Gerleve

	Fixup issues with Demo Recording and Playback when using Streaming Levels.

	#jira FORT-65185

	#AUTOMERGE using branch FNMain->DevNetworking of change#3889448 by Jon.Nabozny on 2018/02/14 13:09:22.

Change 4024164 by Ryan.Gerleve

	Create Burn In for DemoRecording / Replays

	#jira NONE
	#AUTOMERGE using branch FNMain->DevNetworking of change#3890879 by Jon.Nabozny on 2018/02/15 01:31:47.

Change 4024176 by Ryan.Gerleve

	Added DemoNetDriver::IsSavingCheckpoint.

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3897504 by Jeff.Farris on 2018/02/19 12:55:37.

Change 4024178 by Ryan.Gerleve

	Fix up edge cases in Replays where Actors were being destroyed inappropriately.

	#jira None
	#AUTOMERGE using branch FNMain->DevNetworking of change#3903472 by Jon.Nabozny on 2018/02/22 09:40:02.

Change 4024181 by Ryan.Gerleve

	Support the notion of Rewindable Actors for replays. These are actors that shouldn't be destroyed during scrubbing.

	#jira FORT-71396
	#AUTOMERGE using branch FNMain->DevNetworking of change#3908062 by Jon.Nabozny on 2018/02/24 11:59:27.

Change 4024184 by Ryan.Gerleve

	Add functions to DemoNetDriver to support testing for changes in replicated state.
	Clean up RepLayout DiffProperties, support passing flags in, add a flag to include conditional properties.

	#AUTOMERGE using branch FNMain->DevNetworking of change#3908132 by ryan.gerleve on 2018/02/24 16:25:20.

Change 4024194 by Ryan.Gerleve

	Change a cvar to GetValueOnAnyThread

	#AUTOMERGE using branch FNMain->DevNetworking of change#3910273 by ryan.gerleve on 2018/02/26 16:34:44.

Change 4024197 by Ryan.Gerleve

	Replication Graph v1. This is the new system for dedicated server performance in BR. It is currently disabled by default. Other changes to engine should have no practical impact on existing behavior.

	#jira nojira

	Engine Changes Summary
	-------------------------------------------

	UNetConnection::>ActorChannels no longer public. This is to prevent code from adding/removing actor channels from underneath the ReplicationDriver.

	UActorChannel::Close() returns int64 for num bits written. int64 is used because that is what FBitWriter uses.

	UNetconnection::DestroyedStartupOrDormantActorGUIDs now private. Add/Remove/Reset methods are exposed. This is so RepDriver can intercept these calls (when present).

	Added USimulatedClientNetConnection. Use net.SimulateConnections command to add them.

	New UNetDriver::ForceNetUpdate function. Notifies replication driver that force net update was called.

	UNetDriver::DestroyedStartupOrDormantActors now wraps the FActorDestructionInfo in TUniquePtr. This is so pointers to destruct infos are stable within the map and rep driver can keep track of them in its own list.

	UNetDriver::GetFunctionRepLayout exposed as ENGINE_API for RepDriver use.

	UNetDriver::ProcessRemoteFunction changes a bit.
	-Forwards to RepDriver if present. The intention is to give RepDriver the chance to change routing logic and do its own traffic bookkeeping on the RPC.
	-A new function, ProcessRemoteFunctionForChannel exists for the meat of the RPC call which RepDriver probably doesn't want to change and is free to call.
	-Removed FRepLayout::SendPropertiesForRPC first UObject parameter because it was not used.

	New function UNetDriver::NotifyActorDormancyChange for when actor dormancy changes.

	New Functions UNetDriver::AddNetworkActor/RemoveNetworkActor. These forward to the rep driver if present.
	-Really want to get rid of public access to GetNetworkObjectList() outside of net code. Doesn't seem easy without breaking backcompat.

	New Function UNetDriver::NotifyActorTearOff for when tear off happens.
	-bTearOff is public though. RepGraph requires the explicit TearOff() call to notify the system about tear off actors. I'm not sure how to fix this with deprecation warnings. (Keep variable public but warn if accessed)

	New UNetDriver::RemoveClientConnection function should be the only place that removes ClientConnections. Forwards to RepDriver.
	-Again, would like to make ClientConnections private but it is used all over the place. (Thankfully only one place removes from it).

	New UNetDriver::NotifyActorFullyDormantForConnection. So RepGraph can intercept and do its book keeping.

	Made UNetDriver::IsLevelInitializedForActor public.

	Made UNetDriver::FlushActorDormancyInternal to hold common code that happens when Dormancy is flushed or changes.

	FNetworkObjectList::FindOrAdd has optional bool parameter for if actor info was actually added.

	UWorld has new delegates for when all starting actors are initialized and registered with networking.
	-TODO: NavSystem and AI system should make use of this. The currently has direct function calls into them.

	Moved checks for bPendingDormancy/Dormant into UActorChannel::StartBecomingDormant rather than at the callsite(s).

	Added GReplicationGatherPriortizeTimeSeconds, GServerReplicateActorTimeSeconds, GReplicateActorTimeSeconds, GNumReplicateActorCalls. These are for new Replication CSV stat group (disabled by default).

	FObjectReplicator::QueueRemoteFunctionBunch drops MustBeMappedGUIDs if it suppresses the RPC call. This fixes a bug that exists in both systems.

	UWorld::SpawnActor now adds network actor after PostSpawnInitialize rather than prior. This is so the initial location of the actor can be used.
	-Deferred actor spawning can still make this not the case, but without this change there is no chance of the actor location being correct.
	-In this case, I care about this for FN building actors who do not use deferred spawning.

	Added STAT_NetServerGatherPrioritizeRepActorsTime which is the total Server Rep Actor time minus the time spent in ReplicateActor.

	-Removed STAT_NumRelevantActors because it made no sense (set to whatever connection repped last).
	-STAT_NumReplicatedActors now sum of replicated actors on all connections for the frame.
	-STAT_NumReplicatedActorBytes now sum of replicated property bytes on all connections per frame. Does not track package map guid bytes.

	-FRepLayout BuildSharedSerializationForRPC/ClearSharedSerializationForRPC exposed as ENGINE_API for RepGraph to use.

	Non Networking Engine Changes:
	Added optional RenderColor parameter to K2_DrawBox.

	ULevel::HasVisibilityChangeRequestPending and ULevel::IsNetActor exposed as ENGINE_API so ReplicationGraph module can call it.

	Added AHUD::OnHUDPostRender callback for easier debug huds that don't revolve around players or debug actor targets.

	#AUTOMERGE using branch FNMain->DevNetworking of change#3914530 by david.ratti on 2018/02/28 10:53:10.

Change 4024210 by Ryan.Gerleve

	DemoNetDriver properly unreadies level status in OnLevelRemovedFromWorld.

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3919218 by ryan.gerleve on 2018/03/01 18:50:11.

Change 4024213 by Ryan.Gerleve

	UDemoNetDriver now properly associates actor channel close bunches with the actor's level. Fixes ensures & asserts that were occurring during replay playback due to trying to handle these channel closes while the level was streamed out.
	Moved the check for IsRecording in the ConditionallyCreatePacketManager functions to an if, since the check can now be triggered while the demo net driver is shutting down.

	#jira FORT-71916

	#AUTOMERGE using branch FNMain->DevNetworking of change#3919321 by ryan.gerleve on 2018/03/01 19:26:43.

Change 4024217 by Ryan.Gerleve

	Fix for placed actors not respawning in some cases when scrubbing in a replay: don't add startup actors that are destroyed due to level streaming out to a replay checkpoint's destroyed actor list. Added some verbose (off by default) logging to help detect these cases.

	#jira FORT-73939

	#AUTOMERGE using branch FNMain->DevNetworking of change#3923164 by ryan.gerleve on 2018/03/03 11:19:37.

Change 4024310 by Ryan.Gerleve

	Replication Graph:

	* Fix issue with dormancy node not fully reseting when spatialization grid is rebuilt
	* Improved some logging when failures do happen
	* Added Net.RepGraph.Spatial.BiasCreep cvar to force spatial rebuild every frame
	* Added blacklist of classes that can never cause a spatial rebuild.
	* Fixed issue with dynamic actors changing cull distances dynamically.
	* Removed unused rep graph node.

	#jira none

	#AUTOMERGE using branch FNMain->DevNetworking of change#3931497 by david.ratti on 2018/03/07 11:58:14.

Change 4024316 by Ryan.Gerleve

	Replication Graph
	-Fix issue where dependant actor channels could stay open
	-Fix global actor channel timeout property to actually be used

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3933936 by david.ratti on 2018/03/08 08:22:35.

Change 4024365 by Ryan.Gerleve

	Added some debug functions: Net.RepGraph.PrintAllActorInfo, FortRepGraph.PrintRouting
	Minor cleanup, additional comments

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3936644 by David.Ratti on 2018/03/09 11:13:37.

Change 4024369 by Ryan.Gerleve

	Fix repgraph crash with certain spawned actors
	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3937302 by David.Ratti on 2018/03/09 15:03:02.

Change 4024382 by Ryan.Gerleve

	Initial work for high priority RPCs. This will allow damage RPCs to be sent immediately at the top of a frame rather than at the end. Currently disabled while testing.
	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3944887 by David.Ratti on 2018/03/14 10:01:35.

Change 4024384 by Ryan.Gerleve

	#UE4 Explicitly discarding the ReplicationDriver in UNetDriver::Shutdown. Fixes a crash when shutting down a net driver when the replication graph object is listening to delegates.

	#jira nojira

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3946884 by Bob.Tellez on 2018/03/14 22:03:36.

Change 4024391 by Ryan.Gerleve

	GameplayDebugger support for ReplicationGraph. AGameplayDebuggerCategoryReplicator will start replicating once a replication owner is set on it.

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3949584 by David.Ratti on 2018/03/16 08:36:01.

Change 4024394 by Ryan.Gerleve

	Fix crash in rep graph when spatialization gets rebuilt while dormancy actors were in a particular state.

	Dormancy nodes still had delegates registered for their contained actors. Though they dumped the list of actors, they would still get notification when the actors' dormancy changed which would cause them to readd the actors some times. If these nodes overlapped between rebuilds, actors could get readded to the same node twice which ultimately leads to them not being fully removed when they do get destroyed, and garbage AActor* trying to replicate. Net.RepGraph.Verify can catch these problems.

	To fix, we are going to MarkPendingKill the GridCell nodes rather than keeping them around and just reseting their actor lists. They will get recreated as needed.

	They could have also manually unregistered each of their delegates but this is more complicated and probably performs worse overall (though spatial rebuild is rare/should never really happen in a  real game). Just marking the uobject pending kill will suppress the delegate callbacks to the nodes.

	#jira FORT-76555
	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3952558 by David.Ratti on 2018/03/19 09:19:09.

Change 4024395 by Ryan.Gerleve

	RepGraph was not "undormatizing" actors when streaming levels were reloaded like legacy was.

	#jira FORT-76729

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3959632 by david.ratti on 2018/03/22 12:51:19.

Change 4024398 by Ryan.Gerleve

	Fix for dormant actors not opening actor channel for multicast rpcs in some cases. Use the global cull distance rather than the per-connection which is cleaered for dormancy trickle.

	#jira FORT-76101

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3960888 by david.ratti on 2018/03/22 19:23:00.

Change 4024402 by Ryan.Gerleve

	Fix dormant actors being instant destroyed not playing their death gameplay cue

	#jira FORT-76101

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3965842 by david.ratti on 2018/03/26 17:23:31.

Change 4024403 by Ryan.Gerleve

	More robust fix for rep graph having multiple channels for the same actor open simulataneously. Guarded behind CVar_RepGraph_FixDuplicateChannels.
	Add a replication driver hook for UActorChannel::CleanUp.
	Don't replicate actors or RPCs if the channel is closing.
	Don't clear the channel pointer on FConnectionReplicationActorInfo as soon as the channel closes, but wait until it's cleaned up to either clear the channel if the actor's dormant or remove the actor info from the map completely otherwise.
	Fixed missing include in ReplicationGraphDebugging.

	#jira FORT-77769

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3975732 by ryan.gerleve on 2018/03/30 16:03:25.

Change 4024415 by Ryan.Gerleve

	Fix potential actor channel churning by making sure the close frame num is never lowered. This could happen for short-lived dependant actors.

	Removed CVar_RepGraph_FixDuplicateChannels: we definitely need this behavior to always be on.

	#jira FORT-79292

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3980479 by david.ratti on 2018/04/03 08:25:53.

Change 4024419 by Ryan.Gerleve

	Enable Net.RepGraph.EnableRPCSendPolicy by default. This makes damage/weapon firing RPCs be flushed immediately rather than at the end of the frame, resulting in less latency between clients while shooting.

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3981390 by david.ratti on 2018/04/03 13:24:34.

Change 4024423 by Ryan.Gerleve

	enable Replication csv category by default (when CSV profiling is enabled) on server builds

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3981553 by david.ratti on 2018/04/03 14:04:38.

Change 4024424 by Ryan.Gerleve

	Replication Graph. These are mostly for engine related purposes/cleanup.

	-Don't remove TornOff actors from rep graph when they are destroyed. They are removed when they are torn off already. Fixes benign log warnings.
	-When an actor causes spatialization rebuild, set the bias such that the actor is in the middle of new cell. This mitigates the issue where spatialization would be rebuilt every frame once an actor moves "away from the grid".
	-When rebuilding spatilization, force garbage collection after tearing down old nodes. This is to mitigate OOMs. You are already going to hitch because of the rebuild anyways.
	-Removed some dead/debug code that isnt needed.

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3984296 by David.Ratti on 2018/04/04 12:52:54.

Change 4024427 by Ryan.Gerleve

	Allow setting thresholds for actor replication frequency buckets to help balance them out if too many actors end up in one bucket.

	#jira none

	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3990318 by david.ratti on 2018/04/06 14:47:58.

Change 4024475 by Ryan.Gerleve

	Const-corrected a few parameters

	#jira none
	#AUTOMERGE using branch FortniteMainEngine_to_DevNetworkingEngine of change#3904240 by Ryan.Gerleve on 2018/02/22 15:18:50.

Change 4030975 by Jake.Leonard

	Fixing Linux configs to move the proper configs into the right files.

	#Jira none

Change 4031710 by Jake.Leonard

	Implementation #3 of Steam Auth:

	Features:
	----------------
	* Most of stuff from Implementation #2
	* Blocks users from progressing unless they pass valid keys to the auth system
	* Overrides for licensees to change the behavior
	* Requires little to no configs
	* Has no P2P mesh support

	#Jira UE-10686, UE-50441, UE-50444

Change 4034520 by David.Ratti

	Spot edit rep graph fixes from FN

	-Fix issue where actor channel is created to queue an unreliable rpc, but then times out before actor is returned from rep graph pull. (update time out frame when queueing the rpc)
	-Fix issue where we weren't properly handling DORM_Never when trying to detect dormancy changes.

Change 4037513 by Jon.Nabozny

	Fixup some misused clamps reported by users.

Change 4042569 by Brian.Bekich

	Add sample repgraph implementation to ShooterGame

	#jira UENET-879

Change 4046889 by Brian.Bekich

	- Rep graph and nodes now share the graph globals
	- Fix rep graph world not being updated when using seamless travel
	- Set ShooterSpectatorPawn to not replicate by default to fix rep graph spam
	- Move ShooterPickup actors to the static spatialized list

	#jira UE-58540

Change 4048648 by Ryan.Gerleve

	Change replication driver warning to log.

	#jira UE-58578

Change 4048939 by Brian.Bekich

	Adding null check for game viewport client to OnPreLoadMap

	#jira UE-58579

[CL 4051554 by Ryan Gerleve in Main branch]
2018-05-04 10:11:42 -04:00
Marcus Wassmer
25eed01c13 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 4041614)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3774677 by Arne.Schober

	DR - Deprecated SetLocal from the RHICmdlist
	Fixed some unnecessary PSO collisions.

Change 3809579 by Chris.Bunner

	Back out changelist 3774677.

	#jira UE-53483

Change 3810363 by Mark.Satterthwaite

	More random fixes to mtlpp: most important is the extension to Buffer that allows creation of sub-buffers that are merely views onto a sub-range of the parent. These sub-buffers are valid to use throughout the mtlpp API with two exceptions: they may not be used for visibilityResultsBuffers and Set*BufferOffset functions cannot take this offset into account (as the encoder does not hold onto the buffers and I don't want it to). In the case of Set*BufferOffset the caller has to know what is going on and in the case of visibilityResultsBuffers it'll just assert as it isn't sensible.

	This makes it *much* easier to do things like sub-buffer allocation, though the caller must be aware of the alignment restrictions of their intended usage as they are not possible to enforce. For example, a call to SetVertexBuffer requires an offset alignment must match the alignment of the data-type in the shader for "device" resources, or for "constant" data it must be max(4, sizeof(datatype)) on iOS and 256 on macOS. This should allow for much more tightly packed sub-allocations than earlier approaches, though older drivers (e.g. Mac OS X 10.11) enforce only the coarser "constant" data restriction everywhere.

Change 3810407 by Marcus.Wassmer

	PR #4322: ShadowSetup Bug Fix: Only stencil mask drawn meshes (Contributed by DSDambuster)

Change 3810676 by Guillaume.Abadie

	Makes r.Test.SecondaryUpscaleOverride work with any arbitrary pixel size.

Change 3810696 by Guillaume.Abadie

	Adds support for #include "../MyFile.ush" in the shader compiler.

Change 3810698 by Guillaume.Abadie

	Implements enum class based shader permutation dimension.

Change 3810699 by Guillaume.Abadie

	Implements Diaphragm DOF ground work.

Change 3811536 by Guillaume.Abadie

	Pulls the trigger on CircleDOF's setup pass for DiaphragmDOF.

Change 3811958 by Mark.Satterthwaite

	More fixes for mtlpp.

Change 3811964 by Mark.Satterthwaite

	Only views onto a mtlpp::Buffer should return a valid parent-buffer.

Change 3812604 by Guillaume.Abadie

	Changes Diaphragm DOF's source file layout.

Change 3812827 by Mark.Satterthwaite

	More missing/broken functionality in mtlpp fixed and fixed obvious leaks.

Change 3812920 by Guillaume.Abadie

	Adds support for per mip level UAV in FSceneRenderTarget.

Change 3812926 by Mark.Satterthwaite

	Change the way we handle mtlpp resource construction to avoid leaks.

Change 3812960 by Rolando.Caloca

	DR - vk - Disable DFGI

Change 3812968 by Rolando.Caloca

	DR - Linker fix

Change 3813318 by Mark.Satterthwaite

	Fix linear texture allocation from a buffer sub-view.

Change 3813326 by Mark.Satterthwaite

	Fix another Metal mtlpp sub-buffer allocation failure.

Change 3813328 by Guillaume.Abadie

	Removes global samplers in TAA for GL4, Vulkan and Switch.

Change 3813937 by Rolando.Caloca

	DR - Fix logs not getting dumped when r.DumpSCWQueuedJobs is on

Change 3813947 by Rolando.Caloca

	DR - noshaderworker should override r.XGEShaderCompile

Change 3817017 by Uriel.Doyon

	Fixed texture editor black screen
	#jira UE-53653

Change 3818568 by Rolando.Caloca

	DR - Fix log when shader jobs crash
	- Move log10 to common
	- Added COMPILER_VULKAN define

Change 3818603 by Uriel.Doyon

	Fix to static analysis warning

Change 3818623 by Rolando.Caloca

	DR - Workaround hlslcc loop unrolling bug

Change 3819070 by Uriel.Doyon

	Fix to stat duplication.

Change 3819105 by Uriel.Doyon

	Refactored volume sample shader to avoid using texture dimension.

Change 3819136 by Rolando.Caloca

	DR - vk - Per platform files (empty)

Change 3819180 by Rolando.Caloca

	DR - vk - Move defines out of config into per platform

Change 3819247 by Rolando.Caloca

	DR - vk - Remove more defines into platform settings

Change 3819318 by Rolando.Caloca

	DR - vk - Fixes for linking

Change 3819868 by Rolando.Caloca

	DR - vk - Linux & Android fixes

Change 3819873 by Guillaume.Abadie

	Adds support for PermutationId on r.DumpShaderDebugInfo=1

Change 3819940 by Rolando.Caloca

	DR - vk - Fix Linux issues

Change 3819956 by Rolando.Caloca

	DR - vk - Invalid check

Change 3819961 by Michael.Lentine

	Hide attributes when plugin is not present

Change 3819980 by Rolando.Caloca

	DR - vk - Standard validation always

Change 3820039 by Rolando.Caloca

	DR - vk - Fix invalid ensure

Change 3820326 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3820422 by Michael.Lentine

	Add back GBufferAO.

Change 3820433 by Rolando.Caloca

	DR - Fix D3D12 crash on 20 thread (10x2 cores) machines

Change 3821677 by Rolando.Caloca

	DR - vk - Win32 compile fix

Change 3821961 by Rolando.Caloca

	DR - Vulkan uses real UB by default on non-Android

Change 3821968 by Rolando.Caloca

	DR - vk - Update glslang 1.0.65.1

Change 3821969 by Uriel.Doyon

	Added support for stat groups that must be sorted by name. Defined by DECLARE_STATS_GROUP_SORTBYNAME.

Change 3821983 by Rolando.Caloca

	DR - vk - Change to static array (0.1ms on 10k draw calls)

Change 3824141 by Rolando.Caloca

	DR - vk - Fix static analysis
	- Bumped up some (c) 2017->2018

Change 3824355 by Rolando.Caloca

	DR - vk - Accessor to find out if a cmd buffer has been submitted

Change 3824420 by Rolando.Caloca

	DR - Sanity check number of queries per batch on D3D11 as to not break other RHIs

Change 3824463 by Rolando.Caloca

	DR - Removed dummy ensure for D3D12

Change 3824609 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3826074 by Mark.Satterthwaite

	Start IMP-caching the various descriptor types in mtlpp.

Change 3826098 by Rolando.Caloca

	DR - vk - Dump layer compile fixes

Change 3826113 by Rolando.Caloca

	DR - vk - Missing dump functions

Change 3826302 by Rolando.Caloca

	DR - vk - Compile fix
	- Change dump handles to %p

Change 3826635 by Mark.Satterthwaite

	Forward declarations required for mtlpp compilation without exposing Metal headers - plus fixes to the mtlpp test compiler.

Change 3827072 by Mark.Satterthwaite

	Switch some more mtlpp descriptors over to IMPTables from objc_msgSend.

Change 3827909 by Guillaume.Abadie

	Replaces diaphragm DOF's prefiltering with LDS bank coherent bilateral reduction, and implements 1/8 res background gathering pass.

Change 3827952 by Guillaume.Abadie

	Updates copy right to year 2018 on diaphragm DOF's new files.

Change 3828055 by Rolando.Caloca

	DR - vk - Rename in prep for changes

Change 3828229 by Guillaume.Abadie

	Avoids to log multiple time global shader type name that have multiple permutations when verifying global shader map.

Change 3828427 by Guillaume.Abadie

	Reimplements Max3x3 gathering post filtering for Diaphragm DOF with proper shader permutation.

Change 3829979 by Guillaume.Abadie

	Fixes a color NaN source in diaphragm DOF's TAA pass.

Change 3830116 by Rolando.Caloca

	DR - vk - Fix GPU queries/frame time on old system
	- New system in place, disabled temporarily

Change 3830169 by Rolando.Caloca

	DR - vk - Fix async pso creation crash

Change 3830193 by Rolando.Caloca

	DR - vk - CPU RHI thread improvement

Change 3830291 by Guillaume.Abadie

	Automatically lower the number of gathering rings on background half res gather pass as far CoC is getting smaller.

Change 3830300 by Rolando.Caloca

	DR - vk - Static analysis fix: Split VulkanCommon.h out of VulkanConfiguration.h

Change 3830589 by Mark.Satterthwaite

	In mtlpp cache the IMPTables for all the Metal @protocol's that are dependent on the MTLDevice, this avoids a mutex & map lookup. Also make all the concrete types store their IMPTable statically as it won't change.

Change 3830793 by Mark.Satterthwaite

	Fix a small number of bugs introduced with the mtlpp descriptor and table caching.

Change 3831491 by Jian.Ru

	Fix driver version unknown
	#jira UE-53688

Change 3832335 by Rolando.Caloca

	DR - vk - Change include

Change 3832550 by Rolando.Caloca

	DR - vk - Occlusion query rewrite WIP

Change 3832589 by Rolando.Caloca

	DR - vk - Minor refactor to pools in prep for timestamps

Change 3832618 by Rolando.Caloca

	DR - vk - Do not block timestamp queries

Change 3832636 by Rolando.Caloca

	DR - vk - Fix old timestamp queries

Change 3833138 by Rolando.Caloca

	DR - vk - Fix timestamp queries

Change 3833249 by Rolando.Caloca

	DR - vk - Test lock

Change 3833667 by Rolando.Caloca

	DR - vk - Old queries wait on the RHI thread now instead of the driver (disabled)

Change 3833907 by Daniel.Wright

	Fixed NextStartOffset UAV index out of bounds

Change 3833918 by Daniel.Wright

	D3D12 RHI: only refcount uniform buffers if GRHINeedsExtraDeletionLatency is false, which is no longer the case for PC or Xbox.  The refcounting was heavy on performance as reported by a licensee because FRHIResource uses atomics for refcounting, which is only necessary when GRHINeedsExtraDeletionLatency is disabled.

Change 3834852 by Rolando.Caloca

	DR - vk - Missing file

Change 3834858 by Guillaume.Abadie

	Implements r.DOF.MinimalFullresBlurringRadius

Change 3834979 by Rolando.Caloca

	DR - vk - Fix

Change 3836117 by Rolando.Caloca

	DR - vk - Update to 1.0.65.1

Change 3836122 by Rolando.Caloca

	DR - vk - Added r.Vulkan.SubmitOcclusionBatchCmdBuffer
	- Added new error codes/messages

Change 3836421 by Mark.Satterthwaite

	For the purposes of debugging and conformance testing mtlpp make it possible to compile *without* the IMP cache so that we call the underlying Objective-C.

Change 3836896 by Uriel.Doyon

	Fixed concurrency and exit issues  around d3d12 pipeline states on windows.

Change 3837385 by Rolando.Caloca

	DR - vk - Dump memory on OOM

Change 3837427 by Rolando.Caloca

	DR - vk - Change some arrays to array views

Change 3837800 by Guillaume.Abadie

	Implements SHADER_PERMUTATION_RANGE_INT to make contiguous integer permutations that does not start to 0.

Change 3838128 by Rolando.Caloca

	DR - vk - Support for non-cached memory types

Change 3838540 by Guillaume.Abadie

	Refactors Diaphragm DOF's CoC tile buffer under a single API for better maintainability.

Change 3838731 by Rolando.Caloca

	DR - vk - Descriptor pools per command buffer pool (turned off)

Change 3838961 by Rolando.Caloca

	DR - vk - Use ring buffer for per frame uniform buffers
	- Enable descriptor pools per layout recycled per command buffer

Change 3839087 by Rolando.Caloca

	DR - vk - Compile fixes for Android

Change 3839106 by Marcus.Wassmer

	PR #4413: Removing unnecessary call to FString::ToLower (Contributed by gsfreema)


Change 3839252 by Mark.Satterthwaite

	Fix mtlpp::Resource move operators.

Change 3839426 by Marcus.Wassmer

	Duplicate 380972
	Make PC GPU Benchmarks more reliable

Change 3840041 by Guillaume.Abadie

	Fixes shader compilation failure in TAA with alpha channel through post processing support.

Change 3840257 by Chris.Bunner

	Swapping a mul() to * in HLSLTranslator::Dot to allow scalar transformations per a UDN ticket.

Change 3840308 by Rolando.Caloca

	DR - vk - Support for UB & non-UB on emulation mode

Change 3840586 by Rolando.Caloca

	DR - Copy 3840577
	Fix for CPUs with more than 16 cores

Change 3840671 by Rolando.Caloca

	DR - vk - Copy from 3840663
	Fix for layout ensure on HMD projects on Vulkan

Change 3840980 by Rolando.Caloca

	DR - vk - Android compile fixes

Change 3841989 by Guillaume.Abadie

	Slices Diaphragm DOF's Gather pass in multi shader files, and CFLAG_StandardOptimization flag for faster iteration time.

Change 3842216 by Guillaume.Abadie

	Fixes DDOF's foreground alpha channel.

Change 3842217 by Guillaume.Abadie

	Implements r.DOF.MaximalForegroundBlurringRadius

Change 3842353 by Guillaume.Abadie

	Allows to disable foreground gathering with r.DOF.MaximalForegroundBlurringRadius=0

Change 3842747 by Rolando.Caloca

	DR - vk - Missing use of GPoolSizeVRAMPercentage
	- Support for smaller allocations if page size is not available

Change 3842791 by Rolando.Caloca

	DR - vk - Use 95% of available GPU memory to handle some fragmentation

Change 3843690 by Guillaume.Abadie

	Fixes diaphragm DOF's foreground after all this refactoring.

Change 3844439 by Guillaume.Abadie

	Improves Coc dilate pass to make the gather pass as fast as possible, but still without artifacts caused by the fast gathering optimisation.

Change 3844946 by Mark.Satterthwaite

	rd_route v1.1.1 with attached TPS approval.

	For macOS function interposition which is useful for debugging and the occasional workaround.

Change 3845164 by Mark.Satterthwaite

	Add LLM support for macOS, including tracking of memory allocated in Objective-C. This makes use of runtime method swizzling in the Objective-C runtime and the rd_route library I added for Richard Wallis, which allows for arbitrary runtime function interposition and allows me to hook the custom allocators used in Apple's many Objective-C frameworks on which the whole macOS edifice is built. Objective-C objects are charged to the calling scope as they are too common to impose their own without murdering frame rate.

	We would need a TPS approval for an iOS function interposition library for this to work fully on iOS, if desired in the short term discarding LowLevelFree events that aren't in the map rather than asserting will workaround the problem.

Change 3845849 by Marcus.Wassmer

	Fix clang and some normal refactor errors

Change 3846026 by Rolando.Caloca

	DR - vk - Descriptor set allocation scheme rewrite
	- Type hash for each pool
	- Desc sets Pool on device

Change 3846169 by Rolando.Caloca

	DR - vk - Remove old code for non-layout descriptor set pools

Change 3846205 by Mark.Satterthwaite

	Disambiguate the PatchControlPointOut struct definitions in Metal tessellation shaders at Apple's suggestion to avoid a metallib gotcha.

Change 3846346 by Arne.Schober

	DR - Missing Vector instructions

Change 3847037 by Arne.Schober

	DR - Fix issue with GPU skincache where the offset of the clothbuffer is not relative to the offset of the actual vertexbuffer.
	Fixed MorphTarget Skincache Offset mixxup

Change 3847275 by Marcus.Wassmer

	Copying MGPU to Dev-Rendering (//UE4/Dev-Rendering)

Change 3847464 by Rolando.Caloca

	DR - vk - Fix static analysis warning

Change 3847707 by Michael.Lentine

	Only use MorphTargetOffset when the shader enables morph targets.

Change 3848533 by Richard.Wallis

	Handle Metal adding FirstInstance into [[ instance_id ]] which is different to other APIs.  SV_InstanceID and SV_VertexID should now have their respective base instance and base vertex ID's subtracted before use in the shader.

	#jira UE-51716

Change 3848625 by Richard.Wallis

	Compile Fix

Change 3848725 by Rolando.Caloca

	DR - Remove use of Build/SetLocalGraphicsPipelineState

Change 3848797 by Rolando.Caloca

	DR - Deprecate Build/SetLocalGraphicsPipelineState

Change 3849237 by Arne.Schober

	DR - AddCustom Ver for ModelVertex Serialization

Change 3851247 by Rolando.Caloca

	DR - vk - Util functions

Change 3851523 by Arne.Schober

	DR - Update Reflection Comparission shot from the BuildFarm.

Change 3851859 by Rolando.Caloca

	DR - vk - Skip loader

Change 3851889 by Krzysztof.Narkowicz

	Removed lights with lighting channels out of tiled deferred light list. Tiled deferred lights do not support lighting channels and it's wasn't worth to add extra complexity to this shader in order support this special case.

	#jira UE-51512

Change 3852181 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3852547 by Uriel.Doyon

	Fixed Pre-Exposure shader compilation and Temporal AA issue.

	#jira UE-54276

Change 3852637 by Arne.Schober

	DR - Fixing Normal Automated Test Result

Change 3853167 by Richard.Wallis

	AvfPlayer - support for streaming media.  Due to an operator new/delete mismatch in Apples CFNetwork - we've had to change out one of that framework allocators using rd_route to avoid  the memory corruption.

	#jira UE-35637

Change 3853447 by Chris.Bunner

	Fixing typos.

Change 3853645 by Krzysztof.Narkowicz

	Fixed light functions on subsurface materials
	Removed strange code from blending between static and dynamic shadows

	#jira UE-50275

Change 3853660 by Rolando.Caloca

	DR - Fix OpenGL overwriting texture samplers on forward renderer

Change 3853945 by Mark.Satterthwaite

	Duplicate #3831616

	Fix the black ground scattering on Metal - we've had issues with the atmospheric fog calculations for a long time - one or more intermediate operations generates different precision on Metal so we end up passing -ve values into sqrt which then generates NaN/INF. For Metal when compiling this file and this file only #define sqrt() to sqrt(abs()) so that we don't see anymore unexpected black in atmospheric rendering. This is far from ideal but I don't want to make abs all inputs into every sqrt because AFAIK this is the only case where we have an issue, and until we to investigate each intermediate calculation that isn't ridiculously, soul-crushingly tedious, it isn't practical to identify the source of the error.

	#jira UE-53720

Change 3853966 by Mark.Satterthwaite

	Duplicate #3835852

	Fix tessellation shaders in Metal with Manual Vertex Fetch enabled:
	- The control points idnex buffer shouldn't collide with anything else.
	- We can't use the optimisation of loading texture width & height from the buffer meta-table in tessellation shaders as the combined stages don't guarantee not to clobber unused buffer slots and screw it up when we use linear textures.

	#jira UE-53851

Change 3854250 by Uriel.Doyon

	Fix fbx automation tests

Change 3854736 by Uriel.Doyon

	Added a tooltip to the EV100 slider in the exposure menu.
	Using game settings now disables the slider.
	#jira UE-53945

Change 3855047 by Jian.Ru

	Fix DFAO getting NANs when samples out of ViewRect
	#jira UE-54403

Change 3858197 by Krzysztof.Narkowicz

	View frustum shadow caster culling for pointlights/spotlights

	#jira UE-54381

Change 3860081 by Krzysztof.Narkowicz

	Tighter bounding sphere for a spotlight
	Replaced IntersectSphere(LightProxy->Origin, LightProxy->Radius) with LightProxy->SphereBounds for tighter culling of spotlights
	Directional light GetBoundingSphere() now everywhere returns Sphere((0,0,0),HALF_WORLD_MAX) for consistency and proper SphereBounds

	#jira UE-54258

Change 3860324 by Mark.Satterthwaite

	Update the macOS deployment target version to 10.12 from 10.11 as we officially ended support for El Capitan a while ago. Should mean that libraries compiled for 10.12 and up won't cause link warnings.

Change 3860945 by Arne.Schober

	DR - Fix not releaseing SRV on render thread for FPositionVertexBuffer, FStaticMeshVertexBuffer, FColorVertexBuffer, FStaticMeshInstanceBuffer.

	#jira UE-54587

Change 3861129 by Jian.Ru

	Prevent distance culled objects from casting distance field direct shadows
	#jira UE-54533

Change 3861502 by Jian.Ru

	Exclude distance culled objects from DFAO calculation
	#jira UE-54533

Change 3862243 by Krzysztof.Narkowicz

	Changed radius of a directional light's bounding sphere from HALF_WORLD_MAX to WORLD_MAX in order to encopass entire WORLD_MAX box

Change 3863476 by Krzysztof.Narkowicz

	Added BuildReflections option to ResavePackages commandlet

	#jira UE-54581

Change 3863717 by Rolando.Caloca

	DR - vk - Missed using pipeline cache on compute PSOs

Change 3865332 by Arne.Schober

	DR - Fix UE-52356 Bone Weight

Change 3866220 by Rolando.Caloca

	DR - vk - Fixed GetNativeResource missing on textures
	- Added support for -preferNvidia|AMD|Intel
	- Added VulkanRHIBridge.h
	- Minor fixes

Change 3866222 by Rolando.Caloca

	DR - vk - Missed file

Change 3866951 by Krzysztof.Narkowicz

	Fixed FreezeRendering on non editor builds: ComputeAndMarkRelevanceForViewParallel was calling FrozenMatricesGuard on multiple threads, reading and writing view matrices state in parallel.

	#jira UE-53640

Change 3867231 by Guillaume.Abadie

	Adds alpha mode to allow the tonemapper to passthrough the alpha channel for broadcast industry.

Change 3867233 by Guillaume.Abadie

	Fixes a compilation failures in TAAU with r.PostProcessing.PropagateAlpha==2

Change 3867594 by Daniel.Wright

	Removed EditorOnlyDefaultMaterials, which added 79s of shader compilation during startup
	Added a dialog when opening the Material Editor on a Default Material, warning of advanced workflow
	Preventing Material Editor Apply or Save for a Default Material when the preview material has compilation errors

Change 3870048 by Daniel.Wright

	Cleaned up formatting in TranslucentRendering from merges

Change 3870106 by Krzysztof.Narkowicz

	Fixed some FArchive Tell()/Seek() 64bit->32bit truncations

Change 3870211 by Rolando.Caloca

	DR - vk - Added -vulkanvalidation=N/-vulkanstandardvalidation/-novulkanstandardvalidation to set validation layer behaviour from cmd line

Change 3870225 by Rolando.Caloca

	DR - vk - Some platforms do not use a standard swapchain

Change 3870267 by Arne.Schober

	DR - SafeRelease SRVs that might be hold by the Vertexfactories (maybe due to indirect use in GlobalResources)
	Note that the VFs are not owners of the data, e.g the underlying Buffers might be released before this and this reference counting should be uneccessary

Change 3870647 by Daniel.Wright

	Moved FogRendering.h to Renderer

Change 3872130 by Krzysztof.Narkowicz

	Disable USE_GLOBAL_CLIP_PLANE for MATERIAL_DOMAIN_POSTPROCESS and MERIAL_DOMAIN_UI

	Merging GitHub Pull request #4459
	"When material domain is not needing global clip plane there is no need to generate any code involving it. This does not alter output but removes lot of code at vertex shader and pixel shaders. At least on mobile rendered was actually generating clipping code for ui materials."

	#jira UE-54616

Change 3872145 by Rolando.Caloca

	DR - vk - Optional SupportsMarkersWithoutExtension

Change 3872404 by Uriel.Doyon

	Added some guards when streaming virtual textures.
	Fixed optimized UCanvasRenderTarget2D::RepaintCanvas() to prevent resolving the texture twice.
	Fixed bad mipmap generation with UCanvasRenderTarget2D.

Change 3872507 by Arne.Schober

	Back out changelist 3870267

Change 3874176 by Ben.Marsh

	IncludeTool: Add an flag to prevent scanning source files for exported symbols.

Change 3874935 by Krzysztof.Narkowicz

	Fixed white thumbnails and other issues with sky lighting on ES3_1 path, by disabling GGX prefiltering, as mobile path doesn't have a single cubemap with all initialized mips. Instead it ping-pongs between 2 partially initialized.
	#jira UE-54656

Change 3875710 by Daniel.Wright

	Renamed uniform buffer member macros to be much shorter for readability

Change 3876665 by Guillaume.Abadie

	Cherry-pick 3870715: Implements DOF's hybrid scatering bare bones.

Change 3876666 by Guillaume.Abadie

	Cherry-pick 3871786: DOF hybrid scatering: fixes NaN source, transition to gather on close to screen edge and low intensity.

Change 3876677 by Guillaume.Abadie

	Cherry-pick 3872348: Implements neighbor comparison for DOF's scattering compilation pass.

Change 3876680 by Guillaume.Abadie

	Cherry-pick 3872357: Oups... fixes build...

Change 3876683 by Guillaume.Abadie

	Cherry-pick 3872475: Controls number of mip to generate with DOF's reduce pass.

Change 3876687 by Guillaume.Abadie

	Cherry-pick 3874104: Fixes various bugs in diaphragm DOF's hybrid scattering.

Change 3876690 by Guillaume.Abadie

	Cherry-pick 3874144: Packs multiple DOF scattering group into same draw instance.

Change 3876694 by Guillaume.Abadie

	Cherry-pick 3874275: Switches hybrid scattering with indexed indirect draw call to reduce scatter vertex shader invocation.

Change 3876695 by Guillaume.Abadie

	Cherry-pick 3874674: Records min and max coc on DOF's setup's draw event.

Change 3876783 by Rolando.Caloca

	DR - Static analysis fix

Change 3876845 by Guillaume.Abadie

	Implements USceneCaptureComponent::ProfilingEventName

Change 3877197 by Rolando.Caloca

	DR - vk - OQ fixes (disabled)

Change 3877428 by Krzysztof.Narkowicz

	Merged with tiny tweaks Ansel photography plugin improvements from Adam Moss (GitHub pull request #4426):
	-The free-roaming photography camera has new constraints by default, i.e. it can't pass through walls
	-Photography session can be started and stopped programmatically, e.g. making it possible to bind photography to an alternative hotkey or button combo. This was an often-requested feature.
	-Tweakables and utilities are now exposed through a Blueprint Function Library (rather than direct manipulation of console variables)
	-The Ansel photography session UI now exposes some engine effect tweakables as sliders. For example, if the game is using depth-of-field then sliders are made available to allow the photographer to change the focal depth etc. The developer may suppress this behavior through the Blueprint Function Library.
	-Letterboxing is now removed during multi-part capture, d'oh.
	-Tiled shots are taken at full resolution even if ScreenPercentage < 100
	-SSR is enabled during super-resolution shots since Ansel is now better at hiding any ensuing artifacts
	-Postprocess settings are frozen at session start to avoid discontinuities during photography, i.e. wandering between postprocess volumes when the camera auto-moves for stereo and 360 shots.
	#jira UE-54244
	#4426

Change 3879086 by Krzysztof.Narkowicz

	Fixed sky/reflection capture (without owner) update - they are now updated only with a correspoding world

Change 3879090 by Guillaume.Abadie

	Fixes tones of regressions on diaphragm DOF's recombine passes.

Change 3879198 by Rolando.Caloca

	DR - vk - Support for real uniform buffers on Android platforms

Change 3879993 by Krzysztof.Narkowicz

	-Fixed int64->int32 FArchive offset truncation in TShaderMap, VertexFactory and TextureDerivedData
	-Fixed FSerializationHistory bug, when trying to serialize 0 bytes
	#jira UE-43203

Change 3881462 by Guillaume.Abadie

	Implements full res DOF's setup pass for cheaper full res gathering in recombine pass.

Change 3881524 by Krzysztof.Narkowicz

	Fixed compilation by removing FTickableEditorObject from FPreviewScene

Change 3881724 by Chris.Bunner

	Static analysis fix.

	#jira UE-54762

Change 3881861 by Rolando.Caloca

	DR - vk - Fix layout warning when generating mip chain

Change 3881864 by Rolando.Caloca

	DR - Use render passes on HZB

Change 3882236 by Yuriy.ODonnell

	IndirectLightingColorScale is now applied to SubsurfaceLighting and DiffuseLighting. Was previously only applied to DiffuseLighting.

	#jira UE-42534
	#github 3326

Change 3882325 by Guillaume.Abadie

	Implements FocusOnly lower gathering pass for Diaphragm DOF's slight out focus temporal stability.

Change 3882340 by Rolando.Caloca

	DR - vk - Fix api dump

Change 3882430 by Rolando.Caloca

	DR - vk - KHR_maintenance2

Change 3882563 by Rolando.Caloca

	DR - Add depth-stencil access mode to PSO initializer

Change 3882929 by Rolando.Caloca

	DR - vk - Proper fix for maintenance extension macros

Change 3883087 by Mark.Satterthwaite

	Allow disabling VSync in windowed mode for macOS 10.13.4+ and above.

Change 3883597 by Guillaume.Abadie

	Collapses full and half res DOF setup passes together.

Change 3883702 by Guillaume.Abadie

	Fixes mac's build.

Change 3884747 by Uriel.Doyon

	Fix for static analysis warning

Change 3884975 by Rolando.Caloca

	DR - vk - Move some platform defines to platform properties

Change 3884988 by Rolando.Caloca

	DR - vk - Make an override per platform

Change 3885832 by Rolando.Caloca

	DR - vk - Cosmetic change to group similar members

Change 3885891 by Rolando.Caloca

	DR - vk - Some _RenderThread functions to avoid stalls

Change 3886044 by Rolando.Caloca

	DR - Added RHI api _RenderThread version of
	RHICreateTextureReference
	RHICreateShaderLibrary
	RHICreateRenderQuery

Change 3886560 by Guillaume.Abadie

	Fixes strong aliasing on TAAU's fast shader permutation.

	This adds a 6th neighbor sampling, and switch AA_TONE ON as TAA does for its fast shader permutation.

Change 3886749 by Guillaume.Abadie

	Cherry-pick 3884748: Implements DOF's BuildBokehLUT for diaphragm blades simulation.

	Only used in hybrid scattering for now.

Change 3886750 by Guillaume.Abadie

	Cherry-pick 3885457: Simulates diaphragm blades' curvature on bokeh.

Change 3886752 by Rolando.Caloca

	DR - Fix metal static analysis

Change 3887460 by Uriel.Doyon

	Fixed to more static analysis warning.

Change 3888201 by Rolando.Caloca

	DR - vk - Added r.Vulkan.SubmitAfterEveryEndRenderPass
	- Fixed bad layout on rendering back buffer

Change 3888209 by Rolando.Caloca

	DR - vk - Unity compile fix

Change 3888254 by Rolando.Caloca

	DR - vk - Fix async texture layout

Change 3888893 by Guillaume.Abadie

	Simulates bokeh in DOF's slight out of focus.

Change 3889085 by Guillaume.Abadie

	Fixes DOF's reduce pass sampling outside viewport.

Change 3889924 by Rolando.Caloca

	DR - vk - Skip seemingly bad validation error

Change 3890573 by Daniel.Wright

	Only initialize FDiaphragmDOFGlobalResource in Feature Level 5

Change 3890590 by Arne.Schober

	DR - Fix Paper2d crash. When addMesh is called the Vertex and Indexbuffers are nulled out. re-create Dynamic Mesh builder for every Mesh instead.

	#jira UE-55063

Change 3890638 by Arne.Schober

	DR - Better fix for Paper2d which honors batching

	#jira UE-55063

Change 3891099 by Krzysztof.Narkowicz

	1.5 texel shadow offset fix inside Manual2x2PCF based on #4485 GitHub pull request
	#jira UE-54985
	#4485

Change 3891234 by Krzysztof.Narkowicz

	Optimized PCF2x2 and PCF3x3 - merged #4494 GithHub pull request
	#jira UE-55121

Change 3891407 by Rolando.Caloca

	DR - vk - Set vendor id earlier

Change 3891417 by Rolando.Caloca

	DR - vk - Missing layout transitions

Change 3891718 by Arne.Schober

	DR - Do not recreate one Frame Resource for dynamic draws

	#jira UE-55063

Change 3891925 by Yuriy.ODonnell

	Fix/workaround for inconsistent preprocessor definitions for NVAftermath that result in FD3D11DynamicRHI class layout mismatch. NVAftermath support is now enabled by default for Win64.

	NVAftermath is declared as a private dependency in D3D11RHI. It does not automatically propagate to modules that explicitly include private RHI headers (OculusHMD, OSVR, OSVRInput). This results in NV_AFTERMATH being defined while compiling RHI module and not defined when compiling other modules, causing memory corruption at runtime.

	The long-term solution for this and similar issues requires some mechanism for adding transitive module dependencies, so that anyone that depends on D3D11RHI module would automatically also get the NVAftermath. Additionally, private headers should *never* be included directly by external modules.

	The short-term solution is to explicitly add NVAftermath dependency to OculusHMD, OSVR and OSVRInput.

	Additionally, NV_AFTERMATH is no longer forced by D3D11RHIPrivate.h when it's not defined. This allows catching this kind of mismatch in the future through a compiler warning (C4668).

	#jira UE-53065

Change 3891987 by Rolando.Caloca

	DR - vk - Support for dedicated allocations

Change 3892339 by Jian.Ru

	Fix a crash when tessellation shaders are used in dx12
	#jira UE-55127

Change 3892528 by Rolando.Caloca

	DR - vk - Update Linux headers

Change 3892867 by Rolando.Caloca

	DR - vk - Don't create swapchain if not needed

Change 3893416 by Guillaume.Abadie

	Implements bokeh simmulation on foreground and background gather.

Change 3893732 by Chris.Bunner

	GetRelevance_Internal should use the immediate parent resource, not the base, as some features are overridden by permutations e.g. UsesWorldPositionOffset.

	#jira UE-53404

Change 3893868 by Guillaume.Abadie

	Allocates diaphragm DOF's buffers and structered buffer only on supported platforms.

Change 3893917 by Chris.Bunner

	Potential fix for CIS.

Change 3893933 by Chris.Bunner

	Duplicating CL 2647737 as this is the same issue from that JIRA where accessing game-thread data was being prevented. We don't have this check in UMaterial::GetMaterialResource already, but presumably the UMaterialInstance case was never removed as we've not been calling it until now.

Change 3894218 by Rolando.Caloca

	DR - vk - Remove stat counters per draw call, gains 10% CPU on Infiltrator

Change 3894579 by Arne.Schober

	RT - Fix assert not in RenderingThread from Triangle Renderer.
	#jira UE-55247

Change 3894724 by Rolando.Caloca

	DR - vk - New API for batching barriers

Change 3894909 by Arne.Schober

	DR - Fix crash in Speedtree wind where Renderdata is unavailable
	#jira UE-54544

Change 3895414 by Rolando.Caloca

	DR - Add a configurable threshold for SCWs time outs

Change 3896429 by Marcus.Wassmer

	Allow variable frame-latency delay in FrameGrabber frames.  For performance you want at least a 1 frame delay so you don't sync the GPU to the CPU.

Change 3896495 by Marcus.Wassmer

	Set pointer properly
	Fix CIS

Change 3897253 by Guillaume.Abadie

	Fixes CIS warning in diaphragm DOF

Change 3899179 by Guillaume.Abadie

	Implements background hybrid scatter occlusion for diaphragm DOF.

Change 3903654 by Rolando.Caloca

	DR - vk - Rework dump layer to allow other layers

Change 3903766 by Rolando.Caloca

	DR - vk - More wrappers

Change 3904025 by Rolando.Caloca

	DR - vk - More wrappers

Change 3904342 by Rolando.Caloca

	DR - vk - Track image resources & callstacks

Change 3904346 by Rolando.Caloca

	DR - vk - Copy fix from 4.19 for flickering grass

Change 3904510 by Rolando.Caloca

	DR - vk - Compile fix

Change 3904914 by Daniel.Wright

	[Integrate] Fixed PS4 transitions with forward shading

Change 3904916 by Daniel.Wright

	[Integrate] Fixed PS4 transitions with occlusion queries

Change 3905975 by Rolando.Caloca

	DR - vk - Missing wrappers

Change 3905977 by Rolando.Caloca

	DR - vk - Missed file

Change 3907829 by Rolando.Caloca

	DR - Move depth bounds to the PSO

Change 3907832 by Rolando.Caloca

	DR - vk - Prep for delaying transitions

Change 3907834 by Rolando.Caloca

	DR - vk - Fix for depth stencil issues/validation errors

Change 3907967 by Rolando.Caloca

	DR - vk - Linux compile

Change 3908093 by Rolando.Caloca

	DR - vk - Fix depthstencil layout on descriptors

Change 3908393 by Rolando.Caloca

	DR - vk - Disable dedicated allocation as it causes crashes on Nvidia 700 series

Change 3908401 by Rolando.Caloca

	DR - Do transitions outside render pass

Change 3908422 by Rolando.Caloca

	DR - vk - Fix transition state not getting stored

Change 3908735 by Guillaume.Abadie

	Cherry-pick 3896619: Fixes after TAAU post process material that had wrong default buffer UV.

	#jira UE-55317

Change 3908736 by Guillaume.Abadie

	Cherry-pick 3891352: Fixes ensure when visualizing HDR with TAAU.

	#jira UE-55019

Change 3908753 by Guillaume.Abadie

	Lets the renderer layout the views in the internal render targets like it prefers.

Change 3909119 by Daniel.Wright

	Fix some static analysis warnings

Change 3911943 by Rolando.Caloca

	DR - vk - Fix for packaging Vulkan projects

Change 3912145 by Rolando.Caloca

	DR - vk - Fix layout on streaming textures

Change 3913029 by Rolando.Caloca

	DR - Fix missing transition

Change 3913048 by Rolando.Caloca

	DR - Fix for hlslcc

Change 3913054 by Rolando.Caloca

	DR - vk - Fix number of layers on barrier

Change 3913171 by Rolando.Caloca

	DR - vk - Fix for decal missing transition

Change 3913211 by Rolando.Caloca

	DR - vk - Add debug name to image tracking

Change 3913449 by Rolando.Caloca

	DR - vk - Restore transition

Change 3913466 by Rolando.Caloca

	DR - Fix Vulkan EngineTest

Change 3913537 by Rolando.Caloca

	DR - vk - Fixes independent samplers & textures (contributed by AMD)

Change 3913548 by Rolando.Caloca

	DR - vk - Warning fix

Change 3913691 by Rolando.Caloca

	DR - vk - Fixes for parallel (wip)

Change 3914656 by Rolando.Caloca

	DR - vk - Fix bug when using separate samplerstates and textures

Change 3914730 by Rolando.Caloca

	DR - vk - Bump version

Change 3914764 by Rolando.Caloca

	DR - vk - Don't crash on exit

Change 3915532 by Rolando.Caloca

	DR - vk - Parallel context fixes

Change 3915589 by Rolando.Caloca

	DR - vk - Hoist and rename transition and layout manager class out of the context

Change 3915592 by Rolando.Caloca

	DR - Fix gpu marker name

Change 3917607 by Rolando.Caloca

	DR - vk - Fix depth bounds on Vulkan

Change 3917609 by Rolando.Caloca

	DR - vk - Fix static analysis

Change 3917616 by Rolando.Caloca

	DR - Fix D3D11 initialization

Change 3920569 by Rolando.Caloca

	DR - vk - Prep for layout mgr refactor

Change 3921023 by Rolando.Caloca

	DR - vk - Dump layer fixes

Change 3921623 by Rolando.Caloca

	DR - vk - Prep refactor for layouts
	- Dump now shows marker tree

Change 3922007 by Rolando.Caloca

	DR - vk - Fix extra allocation per draw call

Change 3922442 by Rolando.Caloca

	DR - vk - Detect potential issues

Change 3922470 by Rolando.Caloca

	DR - vk - Minor optimization

Change 3922482 by Rolando.Caloca

	DR - vk - More minor optimizations

Change 3923158 by Rolando.Caloca

	DR - Move r.DisableEngineAndAppRegistration out to common RHI and use it on Vulkan

Change 3923486 by Rolando.Caloca

	DR - vk - Minor cpu optimizations

Change 3923505 by Rolando.Caloca

	DR - vk - Use bigger allocations for uniform buffers

Change 3923516 by Rolando.Caloca

	DR - vk - Android compile fix

Change 3923557 by Rolando.Caloca

	DR - vk - Cache descriptorset layouts, refactor duplicated code

Change 3923851 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3924153 by Rolando.Caloca

	DR - vk - Support for dynamic UBs

Change 3924193 by Rolando.Caloca

	DR - vk - Remove old per pso descriptor pools

Change 3924197 by Rolando.Caloca

	DR - vk - Remove unused global uniform buffer pool

Change 3924220 by Rolando.Caloca

	DR - vk - Wrap some unused classes in their define

Change 3924234 by Rolando.Caloca

	DR - vk - Show ring buffer wrapping messages

Change 3924243 by Rolando.Caloca

	DR - vk - Fix bad dynamic buffer

Change 3924902 by Rolando.Caloca

	DR - vk - Fix crash running infiltrator

Change 3925209 by Rolando.Caloca

	DR - vk - Fix bug with dynamic buffers
	- Remove old defines

Change 3925300 by Rolando.Caloca

	DR - vk - Allow packed uniforms as dynamic UBs (with r.Vulkan.DynamicGlobalUBs)

Change 3925627 by Rolando.Caloca

	DR - vk - Move DynamicOffsets into the pipeline state

Change 3925834 by Rolando.Caloca

	DR - vk - Cache per stage information

Change 3925835 by Daniel.Wright

	Fixed DisplayName for UParticleModuleCollisionGPU

Change 3925897 by Rolando.Caloca

	DR - vk - Split update descriptors loop

Change 3926488 by Rolando.Caloca

	DR - vk - 16MB for ring buffer on desktop, 8 MB for mobile

Change 3928168 by Guillaume.Abadie

	Cherry-pick 3917219: Implements r.DOF.RecombineQuality

Change 3928173 by Guillaume.Abadie

	Cherry-pick 3927888: Enables r.DOF.HybridScatter.BackgroundCompositing and r.DOF.HybridScatter.ForegroundCompositing to work when both enabled.

Change 3928216 by Rolando.Caloca

	DR - vk - Fix Android
	- Fix static analysis

Change 3929119 by Rolando.Caloca

	DR - vk - Rename some classes for clarity
	- Fix read-only cvar

Change 3929151 by Rolando.Caloca

	DR - vk - Rename class

Change 3930046 by Rolando.Caloca

	DR - Temp fix Vulkan flickering grass

Change 3930148 by Rolando.Caloca

	DR - vk - Only update dirty descriptors
	- Use dynamic descriptors for packed global uniform buffers

Change 3930998 by Guillaume.Abadie

	Packs shader permutation in different XGE submissions.

Change 3931079 by Rolando.Caloca

	DR - vk - Fixes for Android and non-real ubs platforms

Change 3931942 by Krzysztof.Narkowicz

	Depth rendering - When EarlyZPassMode is set to DDM_AllOccluders, dynamic objects need also to test bUseAsOccluder just like static ones

	#jira none

Change 3932819 by Daniel.Wright

	[Integrate] Scene Textures uniform buffer
	* Base Pass Uniform Buffer now contains a Scene Textures uniform buffer.  Previously the translucent base pass had to check ~40 loose scene texture parameters every draw.
	* FMeshMaterialShader's must now bind PassUniformBuffer and supply a valid pass uniform buffer.  For most passes this is just FSceneTextureUniformParameters.
	* FRendererModule::DrawTileMesh can now cleanly set dummy scene texture resources, just by configuring how the pass uniform buffer is created.
	* Moved scene texture shader functions out of Common, into SceneTexturesCommon which must be manually included by shaders that want to use them
	* Separate Mobile Scene Textures uniform buffer to silo the platform complexities

	Moved DBuffer inputs out of FDeferredPixelShaderParameters and into FOpaqueBasePassUniformParameters

	Removed per-frame material uniform expressions.  GameTime material node with period is now implemented with an fmod in the shader, without the use of MaterialFloat, so that it will happen at full precision.
	* Per-frame expressions were used when the GameTime material node had a period, to do the fmod on the CPU where 32 bit precision is guaranteed, for mobile GPU's where pixel shader precision is sometimes less than 32fp.

	Moved forward shading data into the Base Pass Uniform Buffer
	Removed instanced stereo support for the light cull grid - will have to be reimplemented without changing SRV's per draw
	Base pass sets View Uniform Buffer from DrawRenderState instead of choosing which one to set per-draw

	Fixed padding in nested uniform buffer structs
	Skip SRV members on Feature Level SM4 and below

Change 3932964 by Rolando.Caloca

	DR - vk - Renderdoc on Android

Change 3933095 by Daniel.Wright

	Moved FSceneTextureUniformParameters out of the opaque base pass uniform buffer.
	* Base Pass shaders now enable SCENE_TEXTURES_DISABLED when compiling for a material of any domain other than MD_Surface.  These are used when rendering thumbnails of a material in a different domain, which could be opaque, but the opaque base pass drawing policy does not bind a scene textures uniform buffer, so the shader must not bind it.
	* Opaque materials can no longer use EyeAdaptation.

Change 3933096 by Daniel.Wright

	Better d3d11 assert message when a uniform buffer was not set by the renderer

Change 3933176 by Rolando.Caloca

	DR - vk - Prefer mailbox if available

Change 3933271 by Ryan.Vance

	#jira UE-55936
	Fixed missing referenced uniform bindings on AR pass-through camera shaders.

Change 3934000 by Guillaume.Abadie

	Fixes Win32 build in ShaderCompilerXGE.cpp

Change 3934299 by Guillaume.Abadie

	Fixes a bug in DOF's reduce operator that was casusing color leaking between background and foreground.

Change 3934699 by Daniel.Wright

	Added bAffectDistanceFieldLighting to landscape

Change 3935190 by Daniel.Wright

	Forward Light Grid SRV's use StructuredBuffer on Metal, instead of 'invariant Buffer', which throws off RemoveUniformBuffersFromSource parsing

Change 3935606 by Daniel.Wright

	Removed LightmapPolicy::Set which was needed for vertex lightmaps
	Renamed FVertexFactory::Set to SetStreams to make it findable

Change 3936510 by Rolando.Caloca

	DR - vk - Update glslangValidator.exe to 1.0.65.1 for dumped debug SPIRV shaders

Change 3936545 by Richard.Wallis

	Clone of CL's (3925763, 3925430, 3925424, 3925385, 3925278) Mark Satt's Xcode fixes from task stream //Tasks/UE4/Dev-UERNDR-354-mtlpp/

	Plus XCode 9.2 compile fix in ApplicationPlatformCompilerPreSetup.h for -Wunused-lambda-capture.

Change 3938061 by Daniel.Wright

	Vulkan: Added support for SRV's in Uniform Buffers

Change 3938123 by Daniel.Wright

	Vulkan: Slightly better assert for null resources in uniform buffer

Change 3939197 by Rolando.Caloca

	DR - vk - Disable custom memory mgmt

Change 3939677 by Rolando.Caloca

	DR - vk - Fix static analysis warning

Change 3939809 by Rolando.Caloca

	DR - vk - Fixes for async compute

Change 3939875 by Rolando.Caloca

	DR - vk - Support for -vktrace

Change 3939977 by Rolando.Caloca

	DR - vk - Skip a condition during gather UBs
	- Set up efficient compute async var
	- Fix validation cmd line

Change 3939982 by Rolando.Caloca

	DR - vk - Revert mipchain

Change 3939984 by Rolando.Caloca

	DR - vk - Remove unnecessary asserts

Change 3940082 by Rolando.Caloca

	DR - vk - Custom mem mgr

Change 3940475 by Rolando.Caloca

	DR - vk - Fix DFAO (indirect draw offset)

Change 3940555 by Rolando.Caloca

	DR - vk - Minor fixes

Change 3940675 by Rolando.Caloca

	DR - vk - Fix indirect type mismatch

Change 3941111 by Rolando.Caloca

	DR - Renderpass bGeneratingMips

Change 3941847 by Daniel.Wright

	Fixed Volumetric Lightmaps on Static geometry only working if the geometry had been built with Surface Lightmaps before

Change 3941978 by Rolando.Caloca

	DR - vk - Minor fixes for presenting on compute queue

Change 3942074 by Rolando.Caloca

	DR - vk - Remove some RHI stalls
	- Fixed swap chain stat

Change 3943946 by Daniel.Wright

	Fixed Texcoord0 on Volume materials on a particle sprite, including SubUV particles.

Change 3944065 by Daniel.Wright

	Fixed SceneDepth collision getting broken on GPU particles when a scene capture is rendering

Change 3944158 by Daniel.Wright

	Fixed ViewUniformShaderParameters accessing GEngine->PreIntegratedSkinBRDFTexture too early during slate loading screen

Change 3944865 by Rolando.Caloca

	DR - vk - Prep for render passes

Change 3945196 by Rolando.Caloca

	DR - Move render pass validate to cpp

Change 3945202 by Rolando.Caloca

	DR - vk - Some fixes for using real render passes

Change 3945357 by Rolando.Caloca

	DR - Fix bad condition

Change 3946295 by Yuriy.ODonnell

	Added a sentinel member to FLightMap, which is initialized in the ctor and reset in the dtor. Sentinel is then checked in FLightCacheInterface::GetLightMapInteraction().
	This aims to shed some more light on a hard-to-repro crash, which is suspected to be a use-after-free bug: http://crashreporter/Buggs/Show/1785593

Change 3946407 by Rolando.Caloca

	DR - vk - Prep for refactor

Change 3946648 by Rolando.Caloca

	DR - vk - Fixes for async compute (wip)

Change 3947299 by Rolando.Caloca

	DR - vk - FIx static analysis

Change 3948434 by Rolando.Caloca

	DR - vk - Fix exiting with parallel

Change 3948928 by Rolando.Caloca

	DR - vk - Fix enabling draw markers for tools

Change 3949021 by Rolando.Caloca

	DR - vk - Buffer tracking layer

Change 3949602 by Rolando.Caloca

	DR - vk - static analysis fix

Change 3949757 by Rolando.Caloca

	DR - vk - Remove bogus parameter

Change 3949810 by Rolando.Caloca

	DR - vk - Move waits for cmd buffer

Change 3950270 by Guillaume.Abadie

	Implements dedicated gather pass for foreground hole filling to avoid being VGPR bound in foreground gather pass, but still being hable to amend foreground.

Change 3950272 by Rolando.Caloca

	DR - vk - Minor refactor for semaphores

Change 3950279 by Guillaume.Abadie

	Oups... fixes build

Change 3950298 by Rolando.Caloca

	DR - vk - Gather wait semaphores in the cmd buffers

Change 3950371 by Rolando.Caloca

	DR - vk - fixes for async compute

Change 3950597 by Rolando.Caloca

	DR - vk - Fix for clip distance (fixes planar reflections)

Change 3951075 by Rolando.Caloca

	DR - vk - Fix for async compute

Change 3952524 by Guillaume.Abadie

	Some DOF enum refactoring.

Change 3955016 by Daniel.Wright

	Fixed BuiltData package getting renamed into the map package during a content browser folder move, causing a redirector to be incorrectly placed in the map package

Change 3955668 by Guillaume.Abadie

	Fixes a bug where full res coc buffer was computed even if not doing slight out of focus.

Change 3956722 by Guillaume.Abadie

	Fixes a bug where r.DOF.MaximalForegroundBlurringRadius was screen percentage dependent.

Change 3959212 by Guillaume.Abadie

	Prefixes all DOF's shaders files with DOF keyword.

Change 3959705 by Guillaume.Abadie

	Optimises the DOF setup pass outputing half res and full res with LDS downsample.

Change 3959941 by Guillaume.Abadie

	Halfs DOF's hybrid scatter compilation by using a unique downsampling for both foreground and background, instead of 2 reduce passes.

Change 3962273 by Rolando.Caloca

	DR - Fix typos

	#jira UE-56317
	PR #4586

Change 3962615 by Rolando.Caloca

	DR - vk - Compile fix

Change 3962949 by Rolando.Caloca

	DR - Fix DOFDownsample extension

Change 3962993 by Guillaume.Abadie

	Back out changelist 3962949

Change 3963016 by Guillaume.Abadie

	Adds missing DOFDownsample.usf

Change 3963041 by Rolando.Caloca

	DR - vk - Misc changes to help integrate

Change 3964293 by Guillaume.Abadie

	Fixes DOF's setup pass reading outside of the viewport.

Change 3964475 by Guillaume.Abadie

	Collapses DOF's hybrid scatter compilation passes into reduce passes.

Change 3964883 by Daniel.Wright

	Fixed 3d texture in uniform buffer on unsupporting RHI

Change 3964897 by Rolando.Caloca

	DR - Compile fixes

Change 3964914 by Guillaume.Abadie

	Fixes a bug on r.DOF.RecombineQuality=0

Change 3965153 by Guillaume.Abadie

	Fixes compile warning in D3D12Commands.cpp.

Change 3965814 by Rolando.Caloca

	DR - Prep for integration conflict resolve

Change 3965899 by Rolando.Caloca

	DR - Fix odd linkage issue

Change 3966072 by Rolando.Caloca

	DR - More prep for merge

Change 3966163 by Rolando.Caloca

	DR - Merge prep

Change 3966844 by Guillaume.Abadie

	Packs multiple DOF scattered bokeh per instance and uses PT_RectList in DOF for platforms that can.

Change 3967116 by Rolando.Caloca

	DR - Compile fixes for integration

Change 3967273 by Rolando.Caloca

	DR - Use same path for mip generation

Change 3967277 by Rolando.Caloca

	DR - vk - Fix mips on cubemaps

Change 3967693 by Rolando.Caloca

	DR - Copying //UE4/Dev-Main@3912313 to //UE4-DevRendering, missing shaders

Change 3967851 by Rolando.Caloca

	DR - Copying //UE4/Dev-Main@3912313 to //UE4-DevRendering, Engine 2/2

Change 3968083 by Rolando.Caloca

	DR - Integration compile fixes

Change 3968240 by Rolando.Caloca

	DR - Shader compile fixes for integration

Change 3968270 by Rolando.Caloca

	DR - Fix for missing hash calculation

Change 3969426 by Rolando.Caloca

	DR - vk - Fix warning

Change 3969869 by Krzysztof.Narkowicz

	Back out changelist 3946295 - UE-54537 is fixed, so no need for this debug sentinel.
	#jira none

Change 3969944 by Rolando.Caloca

	DR - Warning fix

Change 3970020 by Rolando.Caloca

	DR - Bump after integration

Change 3970052 by Rolando.Caloca

	DR - Fix for mobile

Change 3970236 by Daniel.Wright

	Causing decal shader to recompile to fix a merge bug

Change 3970270 by Daniel.Wright

	Bump shader version from merge

Change 3970339 by Olaf.Piesche

	Replace series of locks/unlocks with a single one for curve injection

	#tests QAGame

Change 3970390 by Rolando.Caloca

	DR - Rename FSceneTextureUniformParameters to FSceneTexturesUniformParameters
	- Remove duplicate method for occlusion queries

Change 3970523 by Rolando.Caloca

	DR - Fix serialization of shaders

Change 3970533 by Arne.Schober

	DR - fix for removing the Speed tree wind when the scene gets deleted. The original enque rendercommand requeues the element onto the renderthread although the call already came from the Renderthread and the scene can get lost in between.

	#jira UE-56322

Change 3971160 by Guillaume.Abadie

	Fixes CompositeEditorPrimtive pass and SelectionOutline pass for VR editor to work with TAAU.

Change 3971516 by Guillaume.Abadie

	Cherry-pick 3912629: Fixes SSR that was computing vigneting according to PrevScreen that could let some outside viewport samples going through when rotating the camera.

	#jira UE-55353

Change 3971594 by Krzysztof.Narkowicz

	Fixed assert inside BindLightMapVertexBuffer. FSplineMeshSceneProxy was calling BindLightMapVertexBuffer for invalid (still not generated) lightmap UV channel after mesh reimport. Simplified assert, as at the moment almost all of the high callsites already clamp lightmap uv channel.
	#jira UE-56321

Change 3971622 by Krzysztof.Narkowicz

	Fixed crash inside Indirect Lighting Cache. Data (reflection captures and lightmap) generation calls ULevel::GetOrCreateMapBuildData(), which can destroy lightmap data if level has legacy data. Last Lightmap generation step recreates this data, but if user cancels lightmap generation - it won't do that.
	#jira UE-56171

Change 3974788 by Rolando.Caloca

	DR - Remove GSupportsGenerateMips

Change 3974789 by Rolando.Caloca

	DR - Remove bogus function

Change 3974986 by Rolando.Caloca

	DR - vk - Tracking fixes

Change 3974989 by Rolando.Caloca

	DR - vk - Don't submit dummy barriers

Change 3975075 by Olaf.Piesche

	Update for particle curve injection improvement, fixing ES2 problems

	#tests QAGame tm-shadermodels, various color curve tests in-editor

Change 3975957 by Uriel.Doyon

	Fixed invalid max texture resolution when using the bake material tools.

Change 3978471 by Daniel.Wright

	New cvar r.SkylightUpdateEveryFrame

Change 3978779 by Rolando.Caloca

	DR - Accessor for texture sizes

Change 3978797 by Rolando.Caloca

	DR - Clean up RHI CopyTexture API

Change 3978832 by Rolando.Caloca

	DR - vk - Workaround for RenderDoc crashing due to Descriptor Pool reset

Change 3978836 by Rolando.Caloca

	DR - vk - Remove generate mips

Change 3979201 by Rolando.Caloca

	DR - vk - RHI CopyTexture. Uses general layout for generating mips

Change 3979204 by Rolando.Caloca

	DR - Use render passes and CopyTexture to generate mips

Change 3979592 by Rolando.Caloca

	DR - Warning fix

Change 3980855 by Krzysztof.Narkowicz

	Optimize bounding sphere radius after non-uniform scale by using bounding box extent.

	#jira UE-56227

Change 3981065 by Rolando.Caloca

	DR - vk - Fix bad layout

	#jira UE-56238

Change 3981346 by Rolando.Caloca

	DR - Copy from 3707257
	Support for not flushing compute jobs (r.D3D11.UAVFlushNV)

Change 3981347 by Rolando.Caloca

	DR - Copy from 3707257
	Don't flush between morph dispatched

Change 3981932 by Mark.Satterthwaite

	Generate the shader hash and function name when a Metal shader error needs to be reported so that even without shader code we get something to go on.

Change 3982442 by Rolando.Caloca

	DR - Fix warning

Change 3982652 by Rolando.Caloca

	DR - vk - Signal semaphore cleanup

Change 3983917 by Richard.Wallis

	Clone of CL 3974146 converted for mtlpp along with extra mtlpp usage suggestions by Mark Satt:

	Fix for black flickering on first paint with weighted material landscape on Mac.  When using AsyncCopyFromBufferToTexture in Metal we put the blit operation on the prologue encoder - however after a draw call using that resource the copy operation should happen after on the current encoder, this keeps the correct order of operations.

	Added Bool return from various Asnyc renderpass resource requests so caller can decide correct further action.  Updated to include the other async functions.

Change 3984409 by Guillaume.Abadie

	Attempts to make static analysis happy again.

Change 3984435 by Nick.Bullard

	Checking in Performance Test level provided to us by Tor Frick based on UE-44841.
	This has been utilized for checking issues against Aftermath performance impact.
	The Map includes 2 Level Book marks, most testing has been done against Bookmark 1 view, in fullscreen, in game mode

Change 3985087 by Mark.Satterthwaite

	Make sure that the particle scratch buffer is large enough to hold all the data for the curve texture we are rendering to, otherwise a full set of curves will start scribbling memory after 64Kb (the curve texture is 256Kb of data - 512x512x4 as sizeof(RGBAUInt8) == 4). This happens in ElementalDemo.

Change 3985201 by Rolando.Caloca

	DR - Fix bad CopyTexture

Change 3985258 by Mark.Satterthwaite

	Try and detect orientation changes so that we don't blow-up on iOS due to a huge mismatch between the drawable texture for the display and the scene's depth-stencil target. I can't just fiddle with the depth-stencil texture itself without running  the risk of obliterating in-use data and really we shouldn't permit such a mismatch anyway but it is fallout from 3620990.

	#jira UE-55756

Change 3986449 by Rolando.Caloca

	DR - vk - Update & consolidate Vulkan headers to 1.1.70.1
	Consolidate SDK into one

Change 3986571 by Guillaume.Abadie

	Makes PVS-Studio happy again in DOF.

Change 3987039 by Yuriy.ODonnell

	Initial implementation of tracing profiler to show CPU and multiple GPUs on the same timeline. Currently only supported on DX12 platforms.

	Use `TracingProfiler frames=N` console command to trigger a capture of the next N frames. Trace is saved to disk as a JSON file into `Saved/Profiling/Traces` directory.
	Trace file uses Google Tracing format and can be visualized in Chrome built-in profiler (chrome://tracing).

	`r.GPUStatsChildTimesIncluded=1` CVar makes timing scopes hierarchical.
	`TracingProfiler.BufferSize=N` CVar controls the size of the tracing buffer, which may need to be increased for long traces (default is 65k events). Only can be set at startup.

Change 3987074 by Yuriy.ODonnell

	Implemented timestamp calibration on DX11. Calibration is only performed when tracing profiler session starts.

Change 3987160 by Yuriy.ODonnell

	Added thread naming and ordering to the tracing profiler output

Change 3987331 by Mark.Satterthwaite

	Remove the Nvidia hack to retain resource references in command-buffers for UE-46604 as the mtlpp refactor provides stronger resource lifetime guarantees.

	#jira UE-46604

Change 3987754 by Mark.Satterthwaite

	Fix MetalRHI memory reporting in non-default path.

	PR #4568

Change 3988184 by Arciel.Rekman

	Linux: Fix editor OpenGL performance (UE-55960).

	- GetCurrentThreadId() calls became much more frequent with the OpenGL RHIT refactor.
	- We used to only cache that value in monolithic builds, because having per-thread static variables in dynamic libraries is risky due to OS limits.
	- This change adds dynamically-managed per-thread cache for non-monolithic builds.

	#jira UE-55960

Change 3988394 by Rolando.Caloca

	DR - vk - Improve memory mgmt
	- Use 256MB pages for Device heap (or 1/8th if less).
	- Remove texture allocations not going through resource manager

Change 3988405 by Marcin.Undak

	Fix VulkanQuery crash on exit #codereview rolando.caloca #codereview arciel.rekman #rb arciel.rekman

Change 3988567 by Rolando.Caloca

	DR - vk - Support for packed global UBs on pci aperture heap

Change 3988668 by Rolando.Caloca

	DR - vk - Remove old comments

Change 3988956 by Marcin.Undak

	RecordPerformance: added option to skip building/cooking before tests #rb none #codereview arciel.rekman

Change 3989161 by Yuriy.ODonnell

	Static analysis error fix

Change 3989196 by Guillaume.Abadie

	Fixes a crash in light shaft's TAA pass.

	#jira UE-57366

Change 3989207 by Yuriy.ODonnell

	Refactored FRealtimeGPUProfilerFrame to avoid splitting profile events when calculating exclusive times of scopes. This allows tracing profiler to retain the hierarchical view of the data, while keeping CSV and GPU Stat system behavior intact.

Change 3989469 by Rolando.Caloca

	DR - vk - Fix for bad index; fix for bad transition

Change 3989772 by Yuriy.ODonnell

	Implemented timestamp calibration on Vulkan

Change 3990040 by Marcus.Wassmer

	Aftermath enabled by default.
	Removed unnecessary warning for other vendors

Change 3990064 by Mark.Satterthwaite

	Ensure that packed globals are reuploaded when the command-encoder is restarted - don't simply invalidate the existing parameters. This properly handles cases where a single logical render-pass is broken into multiple command-encoders and/or command-buffers - otherwise all shaders must reset all parameters each time. When we move between frames we *do* want to perform a full state reset though as previous frame globals are treated as invalid.

Change 3990080 by Mark.Satterthwaite

	Change the way we invalidate the visibility buffer between command-buffers and command-encoders so that on iOS you can reuse the same buffer within the same command-buffer, but not across more than one. The code provides an exception to this rule when running under the MetalRHI validation tools which can break each draw call into its own buffer.

Change 3990084 by Mark.Satterthwaite

	Get MetalStatistics compiling again.

Change 3990381 by Arciel.Rekman

	Bring back D3D12 in RecordPerformance.

Change 3991113 by Rolando.Caloca

	DR - Fix crash on RHI thread on mobile preview
	- Check RHI objects are not null in the PSO initializer

Change 3991191 by Ryan.Vance

	#jira UE-55952

	Reimplemented instanced stereo for forward lighting cull grid after the srv/ub clean up.

Change 3991343 by Rolando.Caloca

	DR - Copy from 3911492
	UE4 - Disabled parallel mobile bass pass by default. This is experiemental and not known to be useful on any mobile platform.

Change 3991375 by Mark.Satterthwaite

	Proper copyright assignment in the mtlpp debugger header.

Change 3993151 by Daniel.Wright

	Fix RTDF resource transition found by Rolando

Change 3993818 by Rolando.Caloca

	DR - Missed file

Change 3993923 by Krzysztof.Narkowicz

	Fixed crashes inside RemoveSpeedTreeWind() and RemoveSpeedTreeWind_RenderThread().
	FStaticMeshComponentRecreateRenderStateContext didn't flush deferred render updates causing stale RenderData to be left:
	1. Thumbnail manager called SetStaticMesh(nullptr), which added StaticMeshComponent to deferred render updates.
	2. UStaticMesh::Build called FStaticMeshComponentRecreateRenderStateContext and destroyed DenderData, but didn't touch Thumbnail's manager StaticMeshComponent as it was nullptr.
	3. This resulted in a StaticMeshComponent with stale RenderData pointer.

	#jira UE-54544

Change 3994033 by Rolando.Caloca

	DR - vk - Reworked layers & extensions, as we were not doing it properly
	- Remove -vulkanstandardvalidation and -novulkanstandardvalidation as they are not needed anymore

Change 3994275 by Mark.Satterthwaite

	Change to linking against mtlpp via AddEngineThirdPartyPrivateStaticDependencies and marking its header with THIRD_PARTY_* macros in the vain hope that might convince the remote compilation code to distribute the module to the remote machine when building MetalRHI.

	#jira UE-57507

Change 3994365 by Mark.Satterthwaite

	Pilfer some code from the old MetalHeap file to handle calculating texture memory size on older macOS and iOS builds when running with stats or LLM enabled.

	#jira UE-57513

Change 3994382 by Rolando.Caloca

	DR - vk - Some missing locks during image tracking

Change 3994422 by Rolando.Caloca

	DR - vk - Remove bogus shader format

Change 3995530 by Rolando.Caloca

	DR - vk - Fix for crash when validation is enabled

Change 3995531 by Rolando.Caloca

	DR - vk - Fix static analysis

Change 3995532 by Rolando.Caloca

	DR - vk - Added support for r.Vulkan.SaveValidationCache

Change 3995610 by Uriel.Doyon

	Texture Streaming Changes and Fixes:
	- Using the small FOV items (like scopes) now only affect visible primitives (through "r.Streaming.MaxHiddenPrimitiveViewBoost").
	- Static components added after the level is registered in the streaming manager are now handled correctly (fixes the low quality on the chests)
	- Dynamic components do not need to register to the streaming manager anymore.
	- Optimized dynamic component management by removing duplicate entries in the update list.
	- Added a pregarbage collect pass to the dynamic component management to optimize GC handling.
	- Added a budget reset logic whenever the scene requirements change significantly.
	- PIE worlds now have correct visibility information.
	- Fixed possible invalid memory access when processing the streaming manager slave views.
	- Refactored the incremental level texture data build to prevent new components from being unhandled.
	- Removed StreamingManager callbacks for NotifyActorSpawned() and NotifyPrimitiveAttached()
	- Added a StreamingManager callback NotifyPrimitiveUpdated(), to be used whenever a primitive streaming state must be updated.

	#jira none

Change 3995908 by Arciel.Rekman

	Fix compile errors when using new Vulkan queries.

Change 3995990 by Arciel.Rekman

	More compile fixes to new Vulkan queries.

	- MSVC did not catch this, clang did.

Change 3996101 by Rolando.Caloca

	DR - vk - Win32 compile fix

Change 3996323 by Mark.Satterthwaite

	Use the right include path to export the mtlpp headers.

	#jira UE-57507

Change 3996392 by Arciel.Rekman

	Vulkan: fix crash on start when using new queries.

	- CommandBufferManager was not yet set at that point and the code in queries relied on it.

Change 3996585 by Rolando.Caloca

	DR - Slight improvement to GL being black, but just a temporary 'workaround' as it's not correct.

Change 3998806 by Arciel.Rekman

	Fix Linux build (UE-57602).

	#jira UE-57602

Change 3998866 by Arciel.Rekman

	SubwaySequencer: fix old shader platform name.

Change 3998947 by Mark.Satterthwaite

	Silence deprecation warnings in CEF on macOS now that we've moved to 10.12 as the minimum.

	#jira UE-57577

Change 3998951 by Mark.Satterthwaite

	Fix last of the deprecation errors that I am aware of for macOS 10.12.

	#jira UE-57581

Change 3998984 by Mark.Satterthwaite

	Build mtlpp for iOS 9.0 not 9.3.

	#jira UE-57586

Change 3999065 by Rolando.Caloca

	DR - vk - Make sure we use version 1.0.0

	#jira UE-57521

Change 3999071 by Arne.Schober

	DR - [UE-55433, UE-57361] Hack SNORM support in OpenGL by re-interpreting UNORM. Underlying data is always SNORM.

	#jira UE-55433, UE-57361

Change 3999494 by Rolando.Caloca

	DR - Enable r.UnbindResourcesBetweenDrawsInDX11 in debug
	- Clear compute resources when r.UnbindResourcesBetweenDrawsInDX11 is enabled

Change 4000197 by Krzysztof.Narkowicz

	Mesh simplifier - normalize TexCoordWeights using min/max TexCoord range. This fixes precision issues for very big TexCoord values and allows to optimize for all TexCoord channels when channels have values of different magnitudes (e.g. non standard TexCoord data).
	#jira UE-54935

Change 4000305 by Yuriy.ODonnell

	Suppress PVS Studio warning V547 (Expression is always true) related to Aftermath

	Reported issue to PVS team and to NVIDIA. Confirmed false positive, fix coming in future PVS version (v6.24).

	#jira UE-57579

Change 4000853 by Arciel.Rekman

	Linux: fix not calling CrashReportClient (UE-57678).

	#jira UE-57678

Change 4001504 by Rolando.Caloca

	DR - vk - Fix transition

Change 4002460 by Krzysztof.Narkowicz

	Toggle for contant shadow length in word space
	Exposed contact shadows to Blueprints
	#jira none

Change 4002608 by Rolando.Caloca

	DR - vk - Fix static analysis
	- Fix potential debug image tracking crash
	- Comment out unused methods

Change 4002615 by Rolando.Caloca

	DR - vk - Allow r.Vulkan.WaitForIdleOnSubmit to be set at startup (e.g. in ConsoleVariables.ini)
	Previously, if your map needed to UpdateSkyCaptureContents on startup, an ensure would fail if GWaitForIdleOnSubmit was set.
	PrepareForCPURead needs to wait for the command buffer to finish before trying to read the results back, but the wait has already happened when r.Vulkan.WaitForIdleOnSubmit is set. Trying to wait again correctly complains that the command buffer is not in the correct state. So, skip the WaitForCmdBuffer call when r.Vulkan.WaitForIdleOnSubmit is set.

Change 4002640 by Rolando.Caloca

	DR - vk - Missing support for CVarDefaultBackBufferPixelFormat

Change 4002919 by Guillaume.Abadie

	Implements DOF's temporal upsampling pass for better dynamic resolution stability.

Change 4002984 by Guillaume.Abadie

	Integrates Sebastian Aaltonen's ALU optimisations for TAAU.

Change 4003112 by Olaf.Piesche

	Fir for TBB stall (resulting in severe hitches and hangs in the editor with stats active); tested multiple scenarios and encountered no hitches.

	#tests QAGame PerformanceTest and RenderTest map with various stats on and off

Change 4003159 by Mark.Satterthwaite

	Undo parts of changelist 3970553 - the ref-counted pointer approach to returning textures to the pool is not working as expected so we'll remove that. It'll be faster on the CPU without it and everything works thanks to the changes this CL made to the way textures were released.

	#jira UE-57538

Change 4003287 by zachary.wilson

	Adding reflection capture content to TM-LightingScenarios

Change 4003395 by Arne.Schober

	DR - Fix unitzialised value when clicking Go To in the editor
	#jira UE-57048

Change 4003425 by Rolando.Caloca

	DR - vk - Fix for new occlusion queries

Change 4003530 by Arne.Schober

	DR - Disable GPU Benchmark in headless configurations

	#jira UE-57673

Change 4003717 by Rolando.Caloca

	DR - vk - Fix for depth not store, stencil store

Change 4003719 by Rolando.Caloca

	DR - Minor switch to render pass

Change 4003720 by Mark.Satterthwaite

	Don't suballocate private memory buffers on Vega and only Vega as there is something wrong with the blits in those cases but I can't capture a GPU trace to find out what right now (the driver is broken) - could be a bug in my code but this works on Polaris and Nvidia so it will need to be filed as a radar for AMD.
	Remove the FMetalBufferChunk from FMetalBuffer and simply store a pointer to the owning Heap/Magazine allocator. The FMetalResourceHeap now calls a new Release function to return the buffer to the allocator which will be faster on the CPU.

	#jira UE-57659

Change 4003854 by Mark.Satterthwaite

	Undo parts of 3990064 and try a different approach to get the uniforms to upload and remain available in the right places. As the original bug has been lost to time we should keep an eye out for missing buffer bindings by running under the Metal validation layer periodically.

	#jira UE-57576

Change 4004709 by Rolando.Caloca

	DR - Support for D3D 11, 12 & Vulkan for UAVs off Index Buffers

Change 4005149 by Guillaume.Abadie

	Adds shader permutation to avoid clamping input buffer UV in DOF's gather pass.

Change 4005284 by Uriel.Doyon

	Resaved volume texture assets with proper engine version.

	#jira UE-57534

Change 4005286 by Guillaume.Abadie

	Reduces constant setup in DOF's gather pass.

Change 4005359 by Rolando.Caloca

	DR - vk - Fix annoying warning

Change 4005363 by Rolando.Caloca

	DR - Fix android not finding vulkan shaders

Change 4005457 by Rolando.Caloca

	DR - vk - Fix swapchain crash

Change 4005473 by Patrick.Kelly

	UE-57135: Editor crash if set Reflection Capture Resolution to be 64 and New a Default level

	Codde by Daniel
	Tested by Patrick

Change 4005474 by Rolando.Caloca

	DR - vk - Remove glsl code from shaders. Packaged QAGame goes from 176MB to 162MB

Change 4005759 by Krzysztof.Narkowicz

	Fixed a bug, where reflection capture build is called, even though we are in mobile preview mode.
	#jira UE-57743

Change 4005774 by Mark.Satterthwaite

	Update the wave intrinsics to avoid implicit bool->uint conversion that Apple don't like.

	#jira UE-57750

Change 4005974 by Mark.Satterthwaite

	Don't use cubemap array types on iOS Metal as they aren't available on all devices and we need to maintain backward compatibiliy for years to come.

	#jira UE-57083

Change 4006056 by Mark.Satterthwaite

	Remove the use of the PrimitiveType argument from Metal draw calls.

	#jira UE-57822

Change 4006139 by Mark.Satterthwaite

	- Move the render-pass functions into the MetalRHI implementation for later alteration.
	- Implement Index buffer UAVs for Metal - makes them more like vertex-buffers so this is one more step on the road to a unified buffer base-class implementation.

Change 4006215 by Mark.Satterthwaite

	Metal's begin & end render/compute pass API implementation will take some time, but for now make it not depend on the parent stub implementation.

Change 4006394 by Mark.Satterthwaite

	In lieu of a real instruction count just use the number of lines in the "Main" function of the shader as the instruction count for Metal.

	#jira UE-57551

Change 4006493 by Mark.Satterthwaite

	MetalRHI can currently support 4-component formats for Buffer UAVs - this might need some thought in the future as the API evolves but we might as well take advantage while we can.

Change 4006495 by Daniel.Wright

	Integrate from Refactor branch
	* New FMaterialRenderProxy function GetMaterialWithFallback which provides both the FMaterialRenderProxy and FMaterial.  Needed when falling back to default material, so that proxy and material resource match.
	* Local vertex factory uniform buffer

Change 4006851 by Brian.Karis

	Fix for joined charts forming an L to inflate both axii.

	Thanks to Jess Kube of The Coalition.

Change 4006852 by Brian.Karis

	Fix for hard coded reflection capture cube map size. Should fix light static light aliasing in captures

Change 4006918 by Brian.Karis

	New ByteBuffer functionality. Memcpy and scatter upload. Can implement GPU side TArray reflection.

	Not yet used by checked in code. WIP optimization.

Change 4007246 by Guillaume.Abadie

	Creates lower quality permutation for DOF's gathering pass, without Coc based weighting of the samples, and lower number of gathering ring for fast accumulator.

Change 4007291 by Guillaume.Abadie

	Exposes more DOF scalability settings.

Change 4007328 by Guillaume.Abadie

	Optimises DOF's half res only setup pass using gather4

Change 4007627 by Richard.Wallis

	Fix for when Magic Mouse cannot zoom in World Composition editor.  Missing default SNodePanel::OnMouseMove behaviour.  Tested using a classic 2xbutton + wheel mouse and a Mac MagicMouse.

	#jira UE-57030

Change 4007682 by Richard.Wallis

	No video when playing HLS streaming video on Mac.  2 Issues, FPS was zero making duration for video sample buffer nonsense and Video Track dimensions were going to zero on the AVAsset once fully initialized when playing HSL streams.  Now cache relevant details and handle zero frame rate.

	Notes:
	- Caching the frame rate is not as important as we could look it up each time and fix for zero - ignoring that at the moment.
	- Assume we DO NOT want the FrameSize to be the last fetched video frame size from the AvfMediaVideoSampler as I think that is the video quality for streaming video and not the media frame size.
	- Renamed a variable in the AvfMediaVideoSample - was called FrameRate but it was the FrameDuration by that point.

	#jira UE-56734

Change 4007731 by Rolando.Caloca

	DR - Disable byte buffers on non-hlsl based platforms

	#jira UE-57851

Change 4007741 by Rolando.Caloca

	DR - Disable byte buffers on hlslcc platforms

Change 4007782 by Mark.Satterthwaite

	Force Metal shaders, including the stdlib, to recompile.

Change 4007918 by Rolando.Caloca

	DR - vk - Some static asserts

Change 4008404 by Arciel.Rekman

	Do not crash on incompatible Vulkan drivers (UE-57521).

	#jira UE-57521

Change 4008442 by Daniel.Wright

	Better comments on ERHIFeatureLevel expectations

Change 4008494 by Arne.Schober

	DR - moved bDeletedThroughDeferredCleanup before begincleanup to catch cases where the reference is added twice to the array. also removed finishcleanup as all they ever did was deleting the pointer anyway, and it sould be adfded if such functionallity is ever required fom outside of the regular destructor.

	#jira UE-57754

Change 4008730 by Mark.Satterthwaite

	After the most recent changes to handling uniform buffer dirty bits in MetalRHI we should guard against attempts to set an unbound uniform buffer.

	#jira UE-57870

Change 4008949 by Brian.Karis

	Fix compile warning

Change 4008951 by Brian.Karis

	Added LTC LUT textures

Change 4009326 by Guillaume.Abadie

	Compiles out DOF's gathering bokeh simulation on platform other than desktop.

Change 4009380 by Krzysztof.Narkowicz

	Moved area light code before the contact shadows, so contact shadows use representative light's direction.
	Merged all contact shadows shader code.
	Contact shadows keep constant screen space length independent of FoV settings.
	Contact shadows for translucents.
	Contact shadows for eye.

Change 4009555 by Guillaume.Abadie

	Splits DOFCocTile.usf in two.

Change 4009999 by Yuriy.ODonnell

	MallocStomp can now be enabled on certain platforms using '-stompmalloc' command line argument.

	Previously it was necessary to modify MallocaStomp.h and re-compile the engine.
	Currently supported platforms: Win64, Mac, Linux.

	Replaced hard-coded page size with FPlatformMemory::GetConstants().PageSize.

Change 4010288 by Rolando.Caloca

	DR - vk - Fix for vertex streams

Change 4010289 by Krzysztof.Narkowicz

	D3D12 - fixed depth bounds bug, where depth bounds wasn't properly set to [0;1] after disabling.

	#jira UE-57510

Change 4010297 by Rolando.Caloca

	DR - vk - Remove some functions for android

Change 4010315 by Rolando.Caloca

	DR - vk - Remove create info macro

Change 4010451 by Rolando.Caloca

	DR - vk - Reuse samplers
	- Infiltrator goes from 5759 to 24 samplers!

Change 4010627 by Rolando.Caloca

	DR - vk - Fix missing values for tracking swapchain validation

Change 4011924 by Guillaume.Abadie

	Implements tile based early return optimisation on DOF's postfiltering method.

Change 4011941 by Guillaume.Abadie

	Shaves some ALU in DOF's accumulator for LowQuality permutation.

Change 4012093 by Yuriy.ODonnell

	Disable MallocStompOverrunTest() in static analysis config, as it intentionally performs an out-of-bounds access.

Change 4012195 by Rolando.Caloca

	DR - vk - Fix for mobile backbuffer layout

Change 4012202 by Rolando.Caloca

	DR - vk - Don't use staging buffers on UMA

Change 4012467 by Rolando.Caloca

	DR - Remove redundant check

Change 4012486 by Rolando.Caloca

	DR - Fix missing transition

Change 4012518 by Guillaume.Abadie

	Implements fast shader permutation for DOF's TAA pass.

Change 4013084 by Arciel.Rekman

	Fix for Linux clock discrepancy.

	- Causing at least one precision issue, possibly more.

	(Edigrating 4003273, 4012462 from //UE4/Dev-Editor/... to //UE4/Dev-Rendering/...)

Change 4013266 by Uriel.Doyon

	Fixed crash when setting SceneDepthTextureNonMS and not having valid depth buffers in the  SceneContext.

Change 4013626 by Uriel.Doyon

	Fixed crash in the lighting build when creating a blueprint of the ALight and placing a light component in it.
	#jira UE-51672

Change 4013805 by Rolando.Caloca

	DR - Fix more missing transitions

Change 4014128 by Arne.Schober

	DR - Do not create LocalVFUniformBuffer when running without MVF

	#jira UE-57929

Change 4014193 by Uriel.Doyon

	Editing component transforms now invalidate the component's lighting cache.

	#jira UE-48134

Change 4014282 by Rolando.Caloca

	DR - vk - Remove extra validation during dump

Change 4014584 by Uriel.Doyon

	Duplicated static meshes now generate a new GUID to prevent possible issues with lightmass.
	#jira UE-49064

Change 4014604 by Uriel.Doyon

	UStaticMesh  postduplicate now only generates a new GUID if !bDuplicateForPIE.

Change 4015460 by Guillaume.Abadie

	Composes separate translucency within DOF's recombine pass.

Change 4015571 by Guillaume.Abadie

	Refactors tonemapper to use global shader permutation API, that adds permutation for HDR output device rather than dynamic branching that some shader compiler are not very well optimizing.

Change 4015984 by Krzysztof.Narkowicz

	Fixed crash inside DFAO resource allocation, when DFAO viewport has zero area.

	#jira UE-58000

Change 4016056 by Mark.Satterthwaite

	Fix Mac Metal shader compilation of texture cube arrays.

Change 4016062 by Richard.Wallis

	Convert things like Space, Delete, F6 etc to unicode so they display correctly on the Mac menu rather than first letter of word.  Added the default Mac commands to the GenericCommands so we get a Chord overwrite message and stop things like cmd+ q / w / h from getting bound.

	#jira UE-46999

Change 4016109 by Mark.Satterthwaite

	One unified Metal buffer implementation - will make further changes a heck of a lot easier.

Change 4016221 by Patrick.Kelly

	UE-57617: Ensure changing viewmode to ShaderComplexity while in -game

Change 4016238 by Guillaume.Abadie

	Makes clang happy again in Tonemapper.

Change 4016309 by Mark.Satterthwaite

	More *_RenderThread implementations for MetalRHI.

Change 4016414 by Mark.Satterthwaite

	And MetalRHI version of CreateStructuredBuffer_RenderThread...

Change 4016498 by Mark.Satterthwaite

	Don't hold on to the uniform buffers bound to the hull shader when switching to a tessellated draw call as they'll have the wrong buffer layout.

	#jira UE-57930

Change 4017394 by Juan.Canada

	OpenGL: Fixed shading artifacts due incorrect UNORM/SNORM conversions in skin/skincache/computetangent shaderss.
	#jira UE-57691

Change 4017522 by Rolando.Caloca

	DR - vk - Remove unused code path (old mip generation detection)

Change 4017539 by Rolando.Caloca

	DR - vk - Fix for sky lighting mips showing green on AMD

Change 4017542 by Arciel.Rekman

	Moved appCountTrailingZeros to a non-SSE header (fixes ARM64 build).

	- Arguably WITH_SLI shouldn't apply to Linux on ARM but the fact that the function wasn't available is bad on its own.

Change 4017827 by Guillaume.Abadie

	Optimises DOF's scattering cost by a third.

Change 4017835 by Rolando.Caloca

	DR - Only allow a render pass to generate mips for one color render target

Change 4017889 by Mark.Satterthwaite

	Cache all the Metal state objects to avoid hitting the API unnecessarily.

Change 4018251 by Mark.Satterthwaite

	Fix broken rendering on Metal that tracked back to the innocuous looking changes in CL #4006495 (no blame attached - these changes are entirely reasonable) and cause various bugs in QAGame's TM-DistanceFields, ElementalDemo and probably more. Doesn't fix broken SpeedTree rendering :(.

	MetalRHI was allowing uniform buffers to blow away linear texture buffers when the constant buffer has been elided due to dead-code elimination. This problem can manifest without linear textures if the uniform buffer contains both constant data and a resource-table but the shader doesn't use any of the constant data. That's because Metal doesn't separate constant buffers from any other kind of buffer unlike D3D which separates all the slots out - and Metal doesn't provide enough buffers to emulate the D3D arrangement. So far this has only manifested in the MVF + Linear Texture case but a more robust solution will be necessary long term.

Change 4018514 by Guillaume.Abadie

	Implements r.DOF.Scatter.MinCocRadius.

Change 4018553 by Guillaume.Abadie

	Implements r.DOF.Scatter.MaxSpriteRatio to control the budget upperbound of DOF's scattering

Change 4020369 by Yuriy.ODonnell

	Disable MallocStompOverrunTest in all static analysis configs (using USING_CODE_ANALYSIS macro)

	Previously was only disabled for PVS-Studio.

Change 4020620 by Arciel.Rekman

	Fix XboxOne CIS (fallout of appCountTrailingZeros move).

Change 4020949 by Guillaume.Abadie

	Configures DOF in scalability settings.

Change 4021593 by Rolando.Caloca

	DR - vk - Support for Aftermath style api on AMD

Change 4021740 by Rolando.Caloca

	DR - vk - Change log output

Change 4022008 by Uriel.Doyon

	Fixed renderthread stalls when streaming texture mips on low end systems.

Change 4022135 by Rolando.Caloca

	DR - vk - Fix last mip's layout during mip chain creation

Change 4022607 by Jian.Ru

	Speculative fix for a bug where an invalid vertex buffer is deferenced
	#jira UE-56229

Change 4022890 by Rolando.Caloca

	DR - Fix reference count not getting released

Change 4023540 by Mark.Satterthwaite

	Avoid some pointless retain/release calls on Metal Encoders.

Change 4023796 by Marcus.Wassmer

	Tell users they are over the maximum size when allocating very large rendertargets.

Change 4025337 by Yuriy.ODonnell

	Improved use-after-free detection mechanism and physical memory usage of MallocStomp on Windows.

	MallocStomp on Windows will now reserve virtual address space for every allocation and then commit physical pages only to the valid usable part.
	Physical pages will be unmapped on Free, but virtual address space will not be released and therefore will never be re-used.

	Virtual address space is allocated from the OS in blocks of 1GB and then linearly sub-allocated.
	This reduces VA space usage, as VirtualAlloc returns blocks on 64KB granularity even if we just need 4KB. As a small bonus, this also reduces number of syscalls per allocation.

	This dramatically increases accuracy of use-after-free detection, but consumes significant amount of memory for the OS page table.
	Virtual memory limit for a process on Win10 is 128 TB, which means we can afford to keep virtual memory reserved for a long time.
	Running Infiltrator demo consumes ~700MB of virtual address space per second.

	Additionally, committing physical pages only for the usable part of the entire virtual block reduces physical memory usage by ~30% compared to old behavior,
	which allocated and committed entire block of pages via BinnedAllocFromOS and then marks border page as non-accessible.

Change 4026047 by Rolando.Caloca

	DR - Fix test/shipping

	#jira UE-58148

Change 4026150 by Krzysztof.Narkowicz

	Force proper ordering of buffer visualization materials - after tonemapping (so exposure doesn't influence it) and before editor stuff like icons.
	#jira UE-57992

Change 4026226 by Rolando.Caloca

	DR - Fix static analysis

	#jira UE-58150

Change 4026354 by Jian.Ru

	Debug check trying to catch a crash. Only enabled in editor build
	#jira UE-50111

Change 4026655 by Rolando.Caloca

	DR - Fix for static analysis

	#jira UE-58149

Change 4026763 by Rolando.Caloca

	DR - Remove references to defunct CCT to avoid confusing licensees

Change 4027167 by Uriel.Doyon

	Fixed possible out of bound buffer access when serializing with FDuplicateDataWriter.

	#jira UE-56509

Change 4027850 by Jian.Ru

	Prevent log spam
	#jira UE-50111

Change 4029546 by Rolando.Caloca

	DR - Compile fixes

Change 4029624 by Yuriy.ODonnell

	Addressed static analysis errors in MallocStomp

	- VirtualAlloc return value is now explicitly checked.
	- C6250 is suppressed, as VirtualFree does not release address space by design.

Change 4030225 by Yuriy.ODonnell

	Static analysis warning fix: make sure declaration of Sleep() is consistent between Windows headers and TBB

	The complexity with this particular case is that the warning is generated in synchapi.h, which is included by some Windows headers.
	If a module includes TBB and then Windows platform headers, static analyzer will report this warning.
	Suppressing it would require wrapping all instances of Windows header includes in third-party macros.

	Current pragmatic solution is to modify the Sleep() declaration in TBB header to be consistent with Windows and to report the issue to Intel for a permanent fix.

Change 4030440 by Rolando.Caloca

	DR - Fix crash on mobile

	#jira UE-58222

Change 4030570 by Daniel.Wright

	Allow null SRV's in uniform buffers for feature levels that don't support SRV's in shaders

Change 4030618 by Arne.Schober

	DR - missing tangent/normal sign conversion after integration from main
	#jira UE-58224

Change 4031588 by Rolando.Caloca

	DR - vk - Fix compile error when missing vkCmdWriteBufferMarkerAMD

Change 4032145 by Mark.Satterthwaite

	Fix UE-58268 by only emitting the base_instance/base_vertex variables required to fix-up the instance/vertex ID values to match D3D when the Metal version is 1.1 or higher, earlier versions don't support these features.

	#jira UE-58268

Change 4032209 by Rolando.Caloca

	DR - Fix crash on EngineTest: Mesh Batch's UserIndex is not a union anymore

Change 4033178 by Guillaume.Abadie

	Fixes FXAA sampling outside viewports, that was causing black outline on bottom and right edge of the screen when ViewSize != BufferSize, problematic for some screenshot automated test.

	#jira UE-58151

Change 4034489 by Daniel.Wright

	Fixed UStaticMeshComponent modifying its UStaticMesh when undoing a change.  This caused a crash when other static mesh components using the same mesh asset were rendered, since their rendering state was not recreated.  A component should not modify its asset during PostEditUndo.
	 * This behavior has been present for a long time but was previously hidden because only the vertex factory of the mesh asset is cached in static draw lists, not any of its rendering resources (eg vertex declaration).

Change 4035157 by Uriel.Doyon

	Fixed deadlock in the streaming code when running with -onethread.
	#jira UE-58299

Change 4035198 by Rolando.Caloca

	DR - vk - Fix issue when an older SDK was installed, UBT would pick it (should pick the newer of ThirdParty\Vulkan or installed SDK).

	#jira UE-58267

Change 4035730 by Arne.Schober

	DR - Fix missing Fog parameters during LightScattering Injection

	#jira UE-57608

Change 4035843 by Daniel.Wright

	Reimplemented support for EyeAdaptation node in opaque materials

Change 4036837 by Marcus.Wassmer

	Replace some of the screenshots to match new un-tonemapped buffer visualization

Change 4036980 by Rolando.Caloca

	DR - vk - Fix deadlock contention during mem allocation on Linux

Change 4037225 by Guillaume.Abadie

	Fixes jittering selection outline.

	#jira UE-58350

Change 4038056 by Marcus.Wassmer

	roll back changelist 4026150.  breaks a bunch of automated tests by cutting off half the image.
	Change can go back in later with that part fixed also

Change 4038296 by Jian.Ru

	Static analysis fix
	#jira UE-58377

Change 4038402 by Ben.Marsh

	Suppress IncludeTool warnings caused by CL 3998947.

Change 4038514 by Arne.Schober

	DR - Fix case with MVF where instance offset is not supported by the API (in this case only foliage OpenGL and TvOS), usually the buffers are offsetted instead but with MVF we do not use offsetted buffers, therfore the offset needs to be passed into the shader although we are drawing with offset of 0.

	#jira UE-57652

Change 4038747 by Marcus.Wassmer

	Back out changelist 3853645, causing us to lose shadows in the shaderhair test

Change 4040138 by Rolando.Caloca

	DR - Fix compile warning

Change 4041614 by Rolando.Caloca

	DR - vk - Fix for Oculus module

	#jira UE-58267

Change 3810277 by Daniel.Wright

	Ray Traced Distance Field shadows use a two pass tile culling algorithm with no tile max - fixes flickering from tile overflow in dense areas or with a low sun angle.  Costs .2ms on PS4.
	The distance field scene buffers now use float4 on PS4 and Xbox, saves .1ms on PS4.

Change 3817029 by Uriel.Doyon

	Added UVolumeTexture, which use 3D textures. Compressed formats are supported on DX11, DX12, PS4 and XB1.
	Projects targetting OpengGL don't have access to compressed formats (as the implementation has texture tiling issues).
	Add "r.AllowVolumeTextureAssetCreation" set as 0 by default, which controls whether volume texture can be sampled in materials and whether they can be created from 2D texture assets.
	Platform not supporting BC7, will now fallback on RGBA8 instead of DXT to preserve quality, in an attemps to increase usage of BC7.

	#jira UE-32263

Change 3819960 by Michael.Lentine

	Expose UEPhysics Clothing Parameters through UI.

Change 3823401 by Rolando.Caloca

	DR - Add NumQueriesInBatch to RHIBeginOcclusionQueryBatch

Change 3844805 by Arne.Schober

	DR - Increased Intermediate normal of Umodel and Skelmesh from 8bit Unorm Compressed to float. A resave/rebuid/reimport of the meshes is recommended to recover some lost precision.
	Fixed an issue with compressed (packed) normals on the GPU which were off by one integer representation. Also switched from UNORM to SNORM to get a discrete zero representation and removed some mads from all the VertexShaders.

Change 3847283 by Marcus.Wassmer

	Extra fixes from Uriel

Change 3876607 by Rolando.Caloca

	DR - Use render passes when running occlusion queries
	- Removes the RHI(Begin|End)OcclusionQueryBatch API

Change 3903799 by Daniel.Wright

	[Integrate] Pass Uniform Buffers
	* All pass-constant shader inputs should go into the appropriate pass uniform buffer, instead of being set per-draw
	* Moved many per-draw base pass parameters over to the Base Pass Uniform Buffer
	* Opaque and Translucent base pass shaders have different uniform buffers, which allows compile errors when accessing an invalid resource (eg GBuffer in Opaque), instead of silently falling back to GBlackTexture

	Uniform buffers can now contain nested structs with UNIFORM_MEMBER_STRUCT()
	* This allows composing a uniform buffer at a particular update frequency out of many features, with encapsulation of each feature's parameters in a struct.
	* Eg deferred fog uses FFogUniformParameters, but so does translucency in the base pass, where FFogUniformParameters is reused nested inside the base pass uniform buffer.
	* Resources can now be located anywhere in the uniform buffer.  Padding is inserted to the cbuffer representation to keep memory layouts matching.  In the future the cbuffer could be compacted.
	* RemoveUniformBuffersFromSource() which works around HLSLCC lack of struct initializers now handles nested structs

Change 3917500 by Rolando.Caloca

	DR - Change depth bounds so only the enable bit is in the PSO, allow min/max to be dynamically modified

Change 3964907 by Guillaume.Abadie

	Implements RectList topology support in RHI.

Change 3979171 by Mark.Satterthwaite

	Copying //Tasks/UE4/Dev-UERNDR-354-mtlpp to Dev-Rendering (//UE4/Dev-Rendering):

	Rewrites MetalRHI in terms of mtlpp, which is a C++ wrapper library built around Metal's Objective-C API that attempts to reduce overheads and eliminate resource lifetime errors.

	Regarding mtlpp:
	- The mtlpp library uses C++ constructor/destructor and smart-pointer style management of Objective-C retain/release calls to prevent over- and under-release problems.
	- To reduce Objective-C overheads the mtlpp library caches the internal C-function that implements the Objective-C selectors for the most commonly used Metal protocol types and calls the function directly - this avoids objc_msgSend which does this look-up dynamically and thus improves CPU performance slightly.
	- Another advantage is that mtlpp provides infrastructure to extend the Metal API slightly to help improve MetalRHI - the two important aspects are mtlpp::CommandBufferFence which provides a consistent CPU<->GPU synchronisation primitive and sub-buffer allocations from mtlpp::Buffer which allow for far superior memory management.
	- Validation functionality is also provided by mtlpp to detect CPU vs. GPU data races and resource lifetime validation - this is expensive and is thus optional and compiled out from Shipping binaries that should be used when performance is most critical. The validation only works between resource modification and *submitted* command-buffers - anything that is being actively encoded on the CPU is ignored and it remains the responsibility of the application to validate the order of operations when encoding.

	Apple Platform:
	- LLM support which tracks Objective-C objects is enabled only on macOS - we don't have the necessary libraries to intercept and override the internal system calls on iOS.

	MetalRHI:
	- All the types are switched over, (mostly) insuling the external API from the horror of Metal and Objective-C.
	- Buffers are now managed quite differently, small buffers are allocated from a magazine allocator that allocates in fixed blocks from a larger parent buffer, intermediate sized buffers are allocated from a simple heap allocator that wraps a larger buffer and anything of reasonable size (>2Mb) will use the pooled allocator. This *radically* reduces the number of buffer resources, by as much as a factor of 10, because they are now sub-allocated without the need to use MTLHeap or MTLFence so they are performance equivalent to the existing implementation on the GPU and much faster on the CPU. Total memory use is approximately the same.
	- Vertex & index buffer management has been updated to reflect changes in the management and to avoid reallocating buffers which provide a Linear Texture (for SRVs) unless strictly necessary. This ensures that even in cases where a dynamic buffer is updated multiple times in a frame it will still work acceptably well.
	- The Metal ring-buffer implementation is completely different again, this time it can use Managed memory on macOS which allows for much better performance on eGPUs which will be more and more important for Mac.
	- Everyone that needs to wait on a command-buffer fence (rather than a command-buffer itself) now use mtlpp::CommandBufferFence, which prevents race conditions between the different command-buffer handlers (which sometimes execute out of order).
	- LLM tracking should now report the same data as the MetalRHI stats group for buffer & texture allocations - there is no segmentation for Vertex/index/Structured/Uniform allocations in Metal so these numbers are going to be wrong and will need to be rethought.
	- What will be unseen are the number of small but important resource usage fixes that avoid stale resources from being bound to the device after the point at which they become invalid. This should eliminate a class of errors where the GPU uses a resource pointer that is modified by the CPU and was necessary to satisfy the new mtlpp validation code.

	Other:
	- Remove the Metal focused workarounds from the ClothBuffer resource binding and related vertex-buffer SRV - these were put in when MetalRHI/MetalShaderFormat couldn't handle float->uint conversions correctly and they should now.
	- Fix a validation error caused by trying to render a 0-sized scissor rect which is invalid in Metal and simply pointless elsewhere.
	- Consistency of disabling the Manual Vertex Fetch behaviour in shaders.

	#jira UERNDR-354

Change 3979312 by Rolando.Caloca

	DR - Remove bogus bKeepOriginalSurface parameter in CopyToResolveTarget

Change 4005122 by Rolando.Caloca

	DR - Support for PS4 Index Buffer UAVs

Change 4016298 by Guillaume.Abadie

	Fixes DOF hybrid scattering on platforms that supports RectList topology.

Change 4018575 by Guillaume.Abadie

	Optimises DOF's reduce pass when doing scattering compilation.

Change 4020317 by Guillaume.Abadie

	Implements WaveBroadcastIntrinsics.ush.

[CL 4042226 by Marcus Wassmer in Main branch]
2018-05-01 10:36:33 -04:00
Ben Marsh
7ce4c05fda Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 4034418)
#lockdown Nick.Penwarden
#rb none

============================
  MAJOR FEATURES & CHANGES
============================

Change 3851142 by Robert.Manuszewski

	When BP clustering is enabled, make sure to add the template to the BP cluster when replacing it.

Change 3853797 by Ben.Marsh

	BuildGraph: Add a <Trace> element, which allows logging messages after the string is parsed (as opposed to the Log task, which logs them at runtime). Useful for debugging macro expansion, etc...

	Also add a -showdiagnostics parameter, to have diagnostic messages output even when running with the -listonly option.

Change 3857540 by Graeme.Thornton

	Properly process the uexp file for a umap asset when generating a pak patch. Stop those uexp files being included in the patch even when they haven't changed

Change 3860062 by Steve.Robb

	Fix for FString::Reset()'s buffer not being an empty null-terminated string (affects FString::ParseIntoArray, for example).

Change 3860138 by Steve.Robb

	Fix for FString::ParseIntoArray() for when string memory has been allocated but has no characters.

Change 3860273 by Steve.Robb

	Tidy up of FHotReloadClassReinstancer::FCDOWriter to not do stuff in constructors.

Change 3863203 by Steve.Robb

	Crash fix for UObjects whose constructors are defined as = default;, which would re-null the UObject state (ClassPrivate, OuterPrivate etc.).

	See: https://udn.unrealengine.com/questions/412930/crash-due-to-default-constructor.html

Change 3864588 by Graeme.Thornton

	Crypto Keys Improvements
	 - Removed UAT command line params for encryption. Centrally configured by the editor settings now.
	 - UAT staging now creates a small json file containing the keys and settings used for encryption and signing and stores it in the build metadata
	 - Minor refactoring of UAT encryption processing to use the new cryptokeys json file
	 - UnrealPak can be told to get its encryption settings from a json crypto file with the "-CryptoKeys=<filename>"
	 - UnrealPak can now accept a "PatchCryptoKeys=<filename" parameter which gives it a filename to a cryptokeys json file that it can use to unpack the patch reference paks

Change 3864691 by Robert.Manuszewski

	Don't add objects that are in root set to GC clusters to prevent them from keeping the clusters alive forever.

Change 3864744 by Robert.Manuszewski

	Added the ability to get the actual filename of the log file FOutputDeviceFile writes to.

Change 3864816 by Graeme.Thornton

	TBA: Minor formatting improvements to textasset commandlet

Change 3868939 by Graeme.Thornton

	TBA: If -outputPath isn't supplied to TextAsset commandlet, output converted files to the {ProjectSaved}/TextAssets directory

Change 3869031 by Graeme.Thornton

	TBA: Changed timing logs in TextAsset commandlet to be Display so we can see them in the EC log

Change 3871802 by Steve.Robb

	Class cast flags and property flags are now visible in the debugger.

Change 3871863 by Robert.Manuszewski

	Serializing object will now be passed to GC so that it can be logged in case the referenced objects is garbage.

Change 3874413 by Steve.Robb

	Algo::MinElement and Algo::MaxElement, for finding the minimum and maximum element in a range, and *By versions which take projections.
	TRangePointerType moved to its own file and used in Algo::MinElement and Algo::MaxElement.

Change 3874457 by Ben.Marsh

	When spawning child processes, only allow them to inherit the writable ends of the stderr and stdout pipe. Fixes an issue related to AutomationTool hanging when the editor closes after running automation tests.

	The editor launches ADB.EXE (Android Debug Bridge) on editor startup, which forks itself to initialize a server. Even though the child process has its own stdout and stderr pipes, it also inherits the pipes for the editor. When run from C#, as we do for automation tests, Process.WaitForExit() waits for all pipes to be closed before returning. This can't happen if the forked ADB instance still has a reference to the editor's pipes.

Change 3876435 by Robert.Manuszewski

	Don't add root set objects to level actor container to prevent situations where clusters are kept alive forever

Change 3878762 by Robert.Manuszewski

	Fixing potential LinkerLoad leak when a package that still has a linker associated with it is being destroyed.

Change 3878850 by Robert.Manuszewski

	SerializePreloadDependencies will now serialize raw data into the array instead of serializing one element at a time to speed up serialization performance.

Change 3881331 by Graeme.Thornton

	TBA: SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter

Change 3886983 by Ben.Marsh

	UGS: Fix notification window not expanding to fit long captions.

Change 3887006 by Ben.Marsh

	UGS: Change modal dialog to regular window style to avoid weird alignment issues under Windows 10.

Change 3887500 by Ben.Marsh

	UGS: Add support for grouping build badges by a prefix. Badges such as "Foo:Bar1", "Foo:Bar2" will be grouped together (with "Foo:" stripped from the displayed badge names).

	Also add a separate column showing the type of each change, rather than including it in the CIS column, and change badges to a more angular Windows 10 style.

Change 3887513 by Ben.Marsh

	UGS: Fix badge text drawing outside the clipping bounds.

Change 3888010 by Josh.Engebretson

	Fix UVS logging to UnrealVersionSelector/Saved/Logs and instead use project's log path
	#jira none

Change 3888418 by Ben.Marsh

	UGS: Add a cache for computed badge layout information. Improves responsiveness when redrawing.

Change 3889457 by Steve.Robb

	GitHub #4457 : Display abbreviations properly when converting FNames to display string

	#jira UE-54611

Change 3889547 by Ben.Marsh

	UGS: Add an extensible method for adding arbitrary badges to the right of the "description" column, by running a regular expression over the changelist description.

	Epic uses a "#tag" style annotations in changelist descriptions and Perforce triggers to verify them. "#jira" is used to link a changelist to an issue tracked in Jira, for example. A matcher to add a badge next to every changelist with a #jira tag, and link to the corresponding issue in Jira, could be set up with an addition to the project's Build/UnrealGameSync.ini file like this:

	[Badges]
	+DescriptionBadges=(Pattern="(?i)#\\s*jira\\s*:?\\s+([A-Za-z]+-[0-9]+)", Name="$1", Group="Jira", Color="#c0c0c0", HoverColor="#e0e0e0", Url="https://jira.it.epicgames.net/browse/$1")

	The "Pattern" attribute specifies the regex to match, and may capture portions of the matched text to be substituted later. "Label" specifies the label to appear on the badge. "Group" specifies an arbitrary identifier used to group related badges together rather than separating them with whitespace. "Color" and "HoverColor" specify hex RGB colors for the badges. "Url" specifies the path to open with a C# Process.Open call if the badge is clicked.

Change 3889726 by Ben.Marsh

	UGS: Fix description badges that don't have any associated URL.

Change 3889995 by Ben.Marsh

	UGS: Fix issue where popup menus can create top level windows in the taskbar. Seemlingly caused by capturing mouse before the window has been activated - removed capture code, and replaced with handling of OnMouseLeave() event instead.

Change 3890007 by Ben.Marsh

	UGS: Add a caption underneath the project logo which shows the current stream, to make it more obvious.

Change 3890057 by Ben.Marsh

	UGS: Fix repainting glitch when resizing window; bounds for status panel lines was not being reset correctly.

Change 3891069 by Robert.Manuszewski

	Fixing a crash in MallocBinned2 when running with malloc profiler enabled.

Change 3891084 by Steve.Robb

	Back out changelist 3881331 because it's causing cook errors.

Change 3891100 by Ben.Marsh

	UGS: Add support for a per-branch "message of the day"-style feature. Messages can be specified in a project's config file in Perforce (eg. <ProjectDir>/Build/UnrealGameSync.ini) as follows:

	[//UE4/Main/Samples/Games/ShooterGame.uproject]
	Message=:alert:  Lockdown for fixes is **5pm on Friday**. Only fixes for the 2.0 release should be submitted to this branch. [34 issues](https://jira.it.epicgames.net) are remaining as of 2/15.

	A limited subset of Markdown is supported: [web links](http://www.google.com), *italic*, _italic_, **bold**, __bold__. Icons will be supported through :icon: syntax; the only icon currently available is :alert:

Change 3891346 by Steve.Robb

	TSharedPtr::operator bool, and some usage of it.

Change 3891787 by Steve.Robb

	Fix for buffer overflow in FDebug::LogFormattedMessageWithCallstack().

Change 3892379 by Ben.Marsh

	UGS: Fix notification window containing the group fix for each build type.

Change 3892400 by Ben.Marsh

	UGS: Shrink the size of the alert panel.

Change 3892496 by Ben.Marsh

	UGS: Dim badges for changes which aren't eligable for syncing.

Change 3893932 by Steve.Robb

	Re-removal of SetShouldHandleAsWeakRef, which was originally removed in CL# 3437205.

Change 3895872 by Ben.Marsh

	UGS: Show the stream name in tab labels by default.

Change 3896366 by Ben.Marsh

	UGS: Automatically resize columns when the main window is resized, and allow specifying desired column widths for projects that have a large number of CIS badges.

	Columns are now resized proportionally, clamped to a minimum size. Columns will automatically expand up to a desired maximum size, though can be explicitly resized larger if necessary. Columns will not be resized if they are already larger than the window can show, or smaller than the window has space to show.

Change 3896367 by Ben.Marsh

	UGS: UI tweaks - change and time columns are now centered, "Unknown" badge is displayed until a change's type has been determined, increase height of status panel.

Change 3896425 by Ben.Marsh

	UGS: Speculative fix for race condition on clients displaying "under investigation" state. If the DB event is received before a change where an investigation is cancelled is polled from Perforce, we will exclude the resolve event from the list of active investigations.

Change 3896461 by Ben.Marsh

	UGS: Add an option to allow setting a tint color to be applied to the status panel, to allow identifying streams more easily. To use, add a setting similar to the following to a project's Build/UnrealGameSync.ini file:

	[//UE4/Main/Samples/Games/ShooterGame/ShooterGame.uproject]
	StatusPanelColor=#dcdcf0

Change 3899530 by Ben.Marsh

	Add unified syntax for overriding branch specific settings. Checks branch settings first, then [Default] section.

Change 3901164 by Ben.Marsh

	UGS: Add a class to store all the resources for the status panel.

Change 3901165 by Graeme.Thornton

	TBA: Attempt #2 at submitting the text asset saving code. SavePackage rejigged to write all header information in terms of FStructuredArchive, with all exports written through an FArchive adapter. Minimal amount of structured archive serialization functions added to allow this data to be written

Change 3901301 by Ben.Marsh

	UGS: Add support for reading the latest version of the project config file from Perforce. Some settings should be read depending on the CL you are synced to (eg. build steps), whereas others (MOTD, branch status) should always use the latest version. Will read the local version if checked out, to allow testing local changes.

Change 3902454 by Ben.Marsh

	UGS: Fix logo not being redrawn in the correct position when starting to sync.

Change 3903416 by Ben.Marsh

	UGS: Group badges explicitly through INI file rather than by expecting name to contain ':'.

Change 3904154 by Josh.Engebretson

	Adding Breakpad to ThirdParty sources (Git Commit: 49907e1c3457570f56d959ae26dec6c3a5edd417 https://chromium.googlesource.com/breakpad/breakpad)
	#jira UE-55442

Change 3904648 by Ben.Marsh

	UGS: Remove files from the workspace that are excluded by the sync filter.

	The user's config file stores a hash of the last sync filter. During syncing, if this hash doesn not match the previous value, we enumerate all the files in the #have list and remove anything masked out by the filter.

	#jira UE-47335

Change 3905442 by Steve.Robb

	Change of the ConvertFromType() multi-bool return value to a more descriptive enum.
	Some return values here do not make sense - this is because the existing logic is being preserved and will be fixed in a separate change.

Change 3905629 by Ben.Marsh

	UGS: Fix race condition between two child processes starting on different threads, and inheriting the other's intended stdout/stderr pipes. This prevents pipes being closed when one of the child processes shuts down, and causes waits on the read ends of those pipes to continue indefinitely.

Change 3906447 by Steve.Robb

	Rename EConvertFromTypeResult enumerators.

Change 3906574 by Steve.Robb

	Crash fix for container conversion failure during tagged property import.

Change 3909255 by Daniel.Lamb

	Fixed issue with DLCpackaging crashing on windows
	#jira UE-42880
	#test EngineTest windows

Change 3909270 by Steve.Robb

	Seek instead of skipping bad properties byte-by-byte.

Change 3909324 by Steve.Robb

	Use switch statement instead of repeated if/else.

Change 3909525 by Ben.Marsh

	UGS: Use the StudioEditor target when syncing content-only Enterprise projects.

Change 3911754 by Daniel.Lamb

	Fix for building pak patches.

	#jira UE-55340

Change 3911942 by Robert.Manuszewski

	Fixing an ensure when MediaPlayer is being constructed from any thread other than the main one.

Change 3913067 by Ben.Marsh

	UGS: Allow workspace sync filter categories to re-enable categories that are disabled by the global filter.

Change 3913209 by Ben.Marsh

	UGS: Fix incorrect target name when compiling Enterprise projects.

Change 3917358 by Steve.Robb

	Fix for GetLen(FString).

Change 3919610 by Ben.Marsh

	Put data for CrashReportClient in a PAK file of its own (under Engine/Programs/CrashReportClient/Content/Paks/CrashReportClient.pak). There are a large number of small files required for it to run with loose files, which takes a lot of space on disk (due to cluster sizes), and is unweildy to move around.

	CrashReporter UFS files are tracked in a separate dictionary to regular UFS files to allow construction of the additional PAK file.

Change 3921002 by Ben.Marsh

	UGS: Add option for syncing all projects in a branch. Off by default. Also add support for masking in additional paths to be synced (eg. one or two extra projects).

Change 3921008 by Ben.Marsh

	UGS: Prevent pause waiting for mutual exclusivity when syncing precompiled binaries. We don't need to generate project files or build, so there's no need to wait in line.

Change 3921906 by Steve.Robb

	New interpolation functions for quaternions.

	https://udn.unrealengine.com/questions/419028/quaternion-interp-to-functions.html

Change 3921978 by Graeme.Thornton

	TBA: Make "Loader" member of FLinkerLoad private to prevent use outside of FLinkerLoad. This archive could be something unexpected if the linker is for a text asset package, so we need to stop people accessing it.

Change 3924520 by Graeme.Thornton

	UnrealPak: Improve encryption summary log messages

Change 3924522 by Graeme.Thornton

	UAT: Add *Encryption.ini to the list of auto-blacklisted config filenames

Change 3924604 by Graeme.Thornton

	UnrealPak: If encryption keys are parsed and fail the encrypt/decrypt test, throw a fatal error. The exectutable will have those same keys embedded so there is no point allowing the paks to be created with broken keys.

Change 3924638 by Graeme.Thornton

	Crypto: Improvements to parsing of old fashioned encryption.ini settings:
	 - AES keys that are too long or short (need to be 32 bytes) will now emit a warning when being parsed, and be truncated or expanded before adding to the crypto settings.
	 - Signing keys will emit an error when they are too long (>64bytes)
	 - Unrealpak will still assert when invalid settings are passed via the other mechanisms (command line or -encryptionini mode). Settings via the crypto json file should now be sanitized and not cause issues

	#jira UE-55080

Change 3924747 by Steve.Robb

	Fix for degrees.

Change 3925459 by Chad.Garyet

	Adding check to not to attempt to delete autosdk workspace if it doesn't already exist.

Change 3926703 by Ben.Marsh

	BuildGraph: Include the path to the XML file when displaying an XML parse error.

Change 3926917 by Ben.Marsh

	UBT: Allow overriding the name of the UE4 solution on a branch-specific basis. Useful for switching between multiple UE4 workspaces. Also add support to the editor and UGS for opening the correct solution (determined via a text file saved to Engine/Intermediate/ProjectFiles).

	Set the solution name using an entry in BuildConfiguration.xml as follows:

		<ProjectFileGenerator>
			<MasterProjectName>UE4_Main</MasterProjectName>
		</ProjectFileGenerator>

Change 3927683 by Graeme.Thornton

	UAT: When building with chunk installs enabled, don't generate the master manifest from each pak creation thread. Just do it once after all pak files have been created. Avoids intermittent crash with multiple threads trying to write the same json file.

Change 3928111 by Ben.Marsh

	UBT: Add an option <bMasterProjectNameFromFolder> which allows setting the solution name based on the folder that it's in.

Change 3928926 by Ben.Marsh

	BuildGraph: Add support for enumerating content copied by the <CsCompile> task. Also add support for invoking methods on string properties.

Change 3931041 by Graeme.Thornton

	TBA: Add option to textasset commandlet to also include engine content in a resave

Change 3931043 by Graeme.Thornton

	TBA: Redirect some more FArchive members in FArchiveProxy

Change 3931913 by Ben.Marsh

	UGS: Do not create a modal dialog if a scheduled sync is unable to run because the editor is open, and do not run the editor after a scheduled sync.

	#jira UE-47368

Change 3932419 by Ben.Marsh

	UGS: Allow selecting which projects to sync on schedule. Any projects not already opened at the time the schedule is triggered will be opened first.

	#jira UE-33541

Change 3932483 by Ben.Marsh

	PR #3949: UnrealGameSync: Add environment path field to custom BuildStep (Contributed by frankie-dipietro-epic)


Change 3932624 by Ben.Marsh

	UGS: Add an error dialog when trying to clean the workspace before closing the editor.

	#jira UE-42308

Change 3932679 by Ben.Marsh

	UGS: Add the date/time to the end of the sync log.

	#jira UE-33540

Change 3932705 by Ben.Marsh

	UGS: Prompt to close the editor before allowing the user to enter a changelist to sync to, when syncing to a specific changelist.

	#jira UE-53182

Change 3933318 by Ben.Marsh

	UGS: Detect more programs running before allowing a sync to start, show a dialog listing them, and add an option to ignore if necessary.

	#jira UE-33535, UE-53914

Change 3933840 by Graeme.Thornton

	TBA: When loading assets, only use structured archive adapters for exports when loading text files.

Change 3936040 by Ben.Marsh

	UGS: Rewrite application lifecycle to fix issues with scheduled syncs on background windows not activating, and window jumping to the front after auto-update.

	Now uses a custom application context to allow creating separate 'main' windows (first the "opening projects" form, then the regular form), and does not require any forms to be shown in order to be updating in the background.

	#jira UE-52870

Change 3940230 by Robert.Manuszewski

	Fixes for FilenameToLongPackageName crashes when runnign commandlets

Change 3940240 by Graeme.Thornton

	Automated cycling of encryption and signing keys

Change 3940243 by Graeme.Thornton

	UAT: CryptoKeys automation script

Change 3940321 by Ben.Marsh

	UGS: Add a "Bisect" mode for regressing bugs between a certain range of changes. To use, select a range of changes by holding down the shift key or individual changes by holidng the control key, then right click and select "Bisect these changes". Individual changes in the list can be marked as "Bisect: Pass" or "Bisect: Fail" from the context menu, and syncing will find the next change in the center of the range.

Change 3940538 by Ben.Marsh

	UBT: Always determine whether a project is a foreign project or not from the valid .uprojectdirs entries, rather than relying on the user passing -game on the command line.

Change 3941285 by Gil.Gribb

	UE4 - Removed PRAGMA_DISABLE_OPTIMIZATION from PlatformFileCommon.h. It was an oversight.
	#jira none

Change 3942404 by Graeme.Thornton

	Pak Signing:
	 - Unify naming of pak precacher and signedarchivereader signature check functions to make it easier to search for them in crash reporter
	 - Format the signedarchivereader output to match the pak precacher
	 - When signedarchivereader detects a signature check, do the same master signature hash check that the pak precacher does to confirm that the .sig file contents haven't been corrupted since load.
	 - Add PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL guarded exit to signedarchivereader signature failure
	 - Optimization for pakprecacher signature checks. Instead of locking the cached files mutex for every decoded signature, take a local copy in blocks of 16. Only re-lock if we need more. Grab the initial batch when setting up. In most cases, reduces the number of locks to 1 per signature check call.

Change 3942825 by Ben.Marsh

	UAT: Allow passing -Project<N>=Foo.uproject arguments to the MegaXGE commandlet (eg. -Target1="ShooterGame Win64 Development" -Project1="D:\ShooterGame\ShooterGame.uproject") so it can be used from an installed engine build.

Change 3942839 by Ben.Marsh

	UBT: Explicitly query the number of logical processors in the system, to fix Environment.ProcessorCount just returning the number available to the .NET framework. For machines with > 64 cores, processors in a different processor group will not be included in this number.

Change 3943153 by Ben.Marsh

	Use the correct logical processor count in ParallelExecutor.

Change 3943210 by Ben.Marsh

	UGS: Add an option to the editor arguments window that allows prompting before launching the editor.

Change 3943329 by Ben.Marsh

	UGS: Tweak appearance of bisect mode; now shows slightly transparent version of pass/fail icons, and includes remaining CL range in status panel.

Change 3944294 by Ben.Marsh

	UGS: Prompt for confirmation before removing any files from the workspace.

Change 3945283 by Ben.Marsh

	UGS: Add support for project-specific connection settings, and detection of Perforce login tickets expiring.

Change 3945325 by Ben.Marsh

	PR #4558: Changed incorrect obsolete message for ReceiptPropertyList in Modules.cs (Contributed by ryanjon2040)


Change 3947359 by Graeme.Thornton

	TBA: Fixes to loading code to allow bulk data to get a pointer from its loader archive to an archive that it can load from at a later date. For binary archives, this is just a pointer back to the same archive, but for text assets it is a pointer to a "child reader" which maintains its own structured archive that is scoped to the current location in the file.

Change 3947360 by Graeme.Thornton

	TBA: Added RoundTrip mode to text asset commandlet. Performs determinism tests in project assets to see whether they save deterministically to binary and text files, and also when they are ping-ponged between the two formats.

Change 3949431 by Graeme.Thornton

	TBA: Refactored string escaping code in json output formatter FString serializer into a common function which is now used by FName and UObject path serialization too. Fixes some odd cases where an FName contained quotation marks

Change 3950843 by Ben.Marsh

	UBT: Add a better error if an XML config file is corrupt.

Change 3952504 by Steve.Robb

	GitHub #4545 : UE-55924: CaseSensitive token recognition

	#jira UE-55961
	#jira UE-55924

Change 3952707 by Graeme.Thornton

	Make RandInit(...) log message verbose

Change 3954694 by Ben.Marsh

	BuildGraph: Add support for user-defined macros, which can contain a list of buildgraph commands and be expanded within a node. Example script in Engine/Build/Graph/Examples/Macros.xml.

	To define a Macro, use the syntax:

		<Macro Name="MyTestMacro" Arguments="PrintFirstMessage;PrintSecondMessage" OptionalArguments="PrintThirdMessage">
			<Log Message="First message" If="$(PrintFirstMessage)"/>
			<Log Message="Second message" If="$(PrintSecondMessage)"/>
			<Log Message="Third message" If="'$(PrintThirdMessage)' == 'true'"/>
		</Macro>

	To expand a macro, use the syntax:

		<Expand Name="MyTestMacro" PrintFirstMessage="true" PrintSecondMessage="true"/>

	An error will be thrown if any required arguments are missing. Optional arguments default to empty if not specified.

	Tasks within a macro are validated by the schema at the point of definition using the same rules as apply to a <Node> element, but properties are not evaluated until the macro is expanded. This allows macros to get and set properties in scope at the point that it is expanded. Local properties that are introduced within a macro do not otherwise leak to the scope that they are expanded.

Change 3954695 by Ben.Marsh

	PR #4582: Fixed incorrect condition in StagedFileSystemReference.cs (Contributed by moadib)


	#jira UE-56283

Change 3954961 by Ben.Marsh

	UBT: Fix issues caused by toolchain assuming that the editor target will be the name of the project with an "Editor" suffix. This is not necessarily the case; the launcher will allow you to instantiate a project with any name, and it will not rename the target files.

	#jira UE-56040

Change 3955785 by Steve.Robb

	GitHub #4546 : Don't discard errors from zlib inflate

	#jira UE-55969

Change 3955940 by Steve.Robb

	Redundant and confusing macro check removed.

Change 3956809 by Ben.Marsh

	Guard against project paths passed on the command line to UBT being treated as project names. Previous code used to just take the first, which would mask this problem.

Change 3959590 by Steve.Robb

	Useless IsIntrinsic constant and COMPILED_IN_INTRINSIC macro removed.

Change 3959864 by Robert.Manuszewski

	Increasing the size of permanent object pool to fix warnings in cooked ShooterGame

	#jira UE-56001

Change 3960956 by Steve.Robb

	New ToCStr function which generically gets a TCHAR* from a 'string-like' argument.

Change 3963628 by Ben.Marsh

	UBT: Fix intellisense issues caused by _API macros being defined as DLLIMPORT (imported symbols cause an error if they are defined). Generate intellisense macros with the -Monolithic argument to work around it.

Change 3964349 by Ben.Marsh

	Move support for reading .modules files into FModuleManager, and always use it in modular builds. Pathway which discovers modules by filename only is no longer supported for simplicity, and due to platform-specific version checks being unreliable on any platforms other than Windows.

Change 3964821 by Ben.Marsh

	Use a custom tool for deleting directories on Windows, to handle paths longer than MAX_PATH correctly.

Change 3965269 by Ben.Marsh

	Add more [RequiresUniqueBuildEnvironment] attributes to target settings that modify the global environment.

Change 3966554 by James.Hopkin

	#core Removed redundant cast

Change 3966558 by James.Hopkin

	#core Removed redundant casts and changed some MakeShareables to MakeShared

	#robomerge #fortnite

Change 3966754 by Ben.Marsh

	Always use the compiled-in app name when looking for a module manifest. Fixes issues with XGEControlWorker.exe being a renamed copy of ShaderCompileWorker.exe.

Change 3967397 by Ben.Marsh

	Fix "copy local" files not being included in build products enumerated from C# projects. Remove files with "Embed Interop Types" from the output list.

Change 3967664 by Ben.Marsh

	Update UGS solution to use Visual Studio 2017.

Change 3967838 by Ben.Marsh

	Couple of fixes to conform scripts.

Change 3968767 by Ben.Marsh

	Compile the name of the module manifest into the executable via a define explicitly set by UBT, rather than guessing at runtime.

Change 3968771 by Ben.Marsh

	Fix compiled-in engine path being subject to macro expansion.

	#jira UE-56504

Change 3968886 by Robert.Manuszewski

	Merging 3914301:

	Remove any references we had added to the GGCObjectReferencer during Init

Change 3968978 by Steve.Robb

	FString->FName fixes for module names in HotReload.

Change 3969019 by Steve.Robb

	Minor refactor of property skipping logic in SerializeTaggedProperties().

Change 3969041 by Steve.Robb

	Simplification of Build.version filename construction.

Change 3969049 by Steve.Robb

	Always do rolling names when recompiling in editor, because an unloaded module may still actually by loaded-but-abandoned by the executable.

	This also removes HotReload's dependence on FModuleManager::GetCleanModuleFilename().

	#jira UE-52405

Change 3969120 by Ben.Marsh

	Enable errors for using undefined identifiers in conditional expressions by default.

Change 3969161 by Ben.Marsh

	Remove log line that should only be included in the log.

Change 3969216 by Steve.Robb

	Dump a list of module names - rather than DLL filenames - when the editor detects modules which need recompiling.
	This removes the only remaining use of FModuleManager::GetCleanModuleFilename(), which is also now removed.

	#jira UE-52405

Change 3969346 by Steve.Robb

	Missed some bad FScript(Map/Set)Helper usage from CL# 3698969.

Change 3969598 by Ben.Marsh

	Fix warning from VS2017.

Change 3971101 by Graeme.Thornton

	TBA: Added RoundTrip mode to TextAsset commandlet which does a sequence of saves and checks for determinism. It will do 3 binary saves, 3 text saves, then 3 alternate binary->text saves.

Change 3971407 by Ben.Marsh

	UBT: Fix exception when enumerating toolchains if the directory does not exist yet.

Change 3971523 by Graeme.Thornton

	Make compressed block offsets in a pak file store offsets relative to the file header, rather than absolute. Reduces the amount of entropy when data changes in the pak file, making it play nicely with patching

Change 3971613 by Ben.Marsh

	Fix Lightmass non-unity compile errors.

Change 3971649 by Ben.Marsh

	Disable optimization around FTickerObjectBase constructor on Win32 due to ICE.

Change 3971829 by Ben.Marsh

	Fix deprecated header warning from PVS Studio.

Change 3972503 by Ben.Marsh

	Changes to build failure notifications:

	* Only people that submitted between builds with different error messages will be included on emails by default.
	* Email subject line will be different for each failing build step, but will include the CL of the first failing step. This will result in one thread for each build failure (a success email is sent with the same subject line).
	* Anyone that starts a build will be included on all failure emails.

Change 3972732 by Ben.Marsh

	Changes to ensure notification messages are stable.

Change 3972810 by Ben.Marsh

	Write debug information about the digest computed for a change, to assist with debugging it if it's not stable.

Change 3973331 by Ben.Marsh

	Fix missing dependency on linker response file. Prevents target being relinked when build environment changes.

Change 3973343 by Ben.Marsh

	PR #4612: Adding support for PVS-Studio settings file to PVS-Studio Unreal Build Tool toolchain. (Contributed by PaulEremeeff)


Change 3973820 by Ben.Marsh

	Fix incorrect error message when unable to find Visual C++ install directory.

Change 3974295 by Robert.Manuszewski

	Made sure that lazy object pointers are only fixed up for PIE in actual PIE worlds.

Change 3975336 by Robert.Manuszewski

	CIS fix after the last merge from main

Change 3976999 by Ben.Marsh

	Move the Windows stack size settings onto the WindowsTargetRules object, and add the [RequiresUniqueBuildEnvironment] attribute to ensure it's not overwritten incorrectly.

	This should cause CIS to better errors for compiling Odin editor.

Change 3977934 by Ben.Marsh

	UBT: Allow setting additional compiler/linker arguments through properties on the TargetRules object.

Change 3977953 by Ben.Marsh

	UBT: Enumerate all Visual Studio 2017 install locations using the Visual Studio Setup interop SDK. Multiple simultaneous Visual Studio installations are now supported, and using registry keys to determine installation directories has been deprecated. Allows choosing toolchains from preview versions as well as full versions.

Change 3978544 by Ben.Marsh

	UBT: Include verbose timing information from compiler frontend if using VS2017 15.7 preview 2 or later.

Change 3978780 by Ben.Marsh

	Add Visual C++ 2017 redist files to AppLocalDependencies, and update the prereq installer to include 2017 support DLLs.

Change 3979313 by Ben.Marsh

	UBT: Add the EngineDirectory property to ModuleRules. Makes it easier to find paths to files under the engine folder.

Change 3980499 by Ben.Marsh

	UBT: Automatically enable /DEBUG:FASTLINK if we're using the VS2017 15.7 toolchain or newer and not doing a formal build. This contains fixes for debugger OOM issues present in older versions.

Change 3980890 by Ben.Marsh

	UBT: Update project file generator to support VS2017 solution options file; fixes C# projects being opened by default when generating new project files.

Change 3981495 by Ben.Marsh

	Do not include embedded interop assemblies in the list of references required by a C# project; they are not required build products.

	#jira UE-54343

Change 3982157 by Ben.Marsh

	Only output a warning message if BuildConfiguration.xml schema validation fails; we may have settings that only apply to code in another branch.

Change 3982239 by Ben.Marsh

	Update tooltip directing users to install Visual Studio 2017 instead of 2015.

Change 3983395 by Graeme.Thornton

	Fix reference to BUILD_VERSION in BootstrapPackagedGame RC file

Change 3983523 by Graeme.Thornton

	Backwards compatibility for pak files with compressed chunk offsets

Change 3983769 by Ben.Marsh

	UAT: Allow using PDBCOPY.EXE installed as part of the Windows 10 SDK to strip symbols, and add a better message if it can't be found.

Change 3984529 by Ben.Marsh

	BuildGraph: When run with the -Preprocess=... argument, no steps will be executed.

Change 3984557 by Ben.Marsh

	BuildGraph: Return the updated patterns from FilePattern.CreateMapping(), so we can print accurate messages when displaying the source and target directories for a copy or move task.

Change 3986520 by Ben.Marsh

	Remove hacks to uniquify response file name on Android and Linux.

Change 3987166 by Steve.Robb

	Allow overloading of functions which take TFunctions or TFunctionRefs with mutually exclusive signatures.

Change 3989061 by Graeme.Thornton

	TBA: Text asset loading/saving work
	 - Start using FStructuredArchive flavours of UObject Serialize functions when loading and saving exports.
	 - Only use FStructuredArchive interface for text assets, and for classes that have the CLASS_MatchingSerializers which tells us that the class can serialize to both FStructuredArchives and FArchives.
	 - Add GetCacheableArchive to FArchive, which allows transient archives to return a pointer to another archive that will outlive it. Used by bulk data to get a pointer to an archive that can be held and used at a later time to lazy load things. For text assets where the bulk data might be held inside a base64 encoded FArchiveFromStructuredArchive block, we can't dynamically seek back to that location after the on-stack wrapper has been destroyed after the original serialize, so this will return null. For binary assets, we just return a pointer to the same binary archive which can be used freely.

Change 3989109 by Graeme.Thornton

	TBA: TextAsset commandlet emits a warning when binary package determinism fails

Change 3990823 by Ben.Marsh

	UGS: Allow project settings to specify a client path rather than a filesystem path. Not currently usable through UI.

Change 3990832 by Ben.Marsh

	UGS: Make the schedule window resizable.

Change 3991569 by Steve.Robb

	GitHub #4636 : Fixed typo in HeaderParser.cpp for "missed WithValidation keyword" error message

Change 3991970 by Steve.Robb

	Fix for 4096 char limit on FParse::Value.

Change 3992222 by Steve.Robb

	Advice added to the coding standard for using default member initializers.

Change 3993675 by Ben.Marsh

	UGS: Add UI to allow creating new workspaces and selecting projects from existing workspaces that are not currently synced.

Change 3994199 by Ben.Marsh

	UGS: Fix child processes being unable to spawn other child processes with the CREATE_BREAKAWAY_FROM_JOB flag, to add them to their own job objects.

	In Windows 7 or earlier job objects cannot be nested, so child processes have to create separate job objects and spawn processes with CREATE_BREAKAWAY_FROM_JOB to be able to add them. This fails unless parent process' job object was created with JOB_OBJECT_LIMIT_BREAKAWAY_OK.

	Discussed here: https://msdn.microsoft.com/en-us/library/windows/desktop/hh448388(v=vs.85).aspx

Change 3994243 by Ben.Marsh

	UGS: Use the select stream dialog instead of displaying a drop list unless there's a stream filter specified. We have way too many streams for this to be useful in a menu unless it's filtered.

Change 3994260 by Ben.Marsh

	UGS: Tweak the stream filter dialog to only use the previous selected node if the filter terms match. It may be a parent node of something that matches, even though it doesn't match itself.

Change 3994350 by Ben.Marsh

	UGS: Automatically guess the correct root path for new workspaces based on the most common existing workspaces for the current user.

Change 3995159 by Ben.Marsh

	UGS: Do not delete files which are outside the sync filter. People expect to be able to sync different projects within a stream without having to update sync filters.

	Indend to re-introduce this functionality through the manual 'clean workspace' operation.

Change 3995169 by Ben.Marsh

	UGS: Show options as dimmed in the open project dialog, if the radio button for those controls is not checked. Automatically set the radio button if the focus is given to one of those controls.

Change 3995228 by Ben.Marsh

	UGS: Update recently opened projects list when editing project for an existing tab.

Change 3995312 by Ben.Marsh

	UGS: Stop showing all dialogs in the taskbar.

Change 3995929 by Robert.Manuszewski

	Completely rewritten FReferenceChainSearch class used by 'obj refs' command.

	- 3+ times faster
	- Uses the same code as GC to track all the references down
	- Actually reports all reference chains properly
	- Less code that is more readable than the previous version

Change 3995981 by Ben.Marsh

	UGS: Clean workspace window will now force-sync files that have been deleted or which are writable.

Change 3996113 by Ben.Marsh

	UGS: Fix crash upgrading config files from older versions.

Change 3997990 by Ben.Marsh

	UGS: Prevent error when syncing an empty workspace.

Change 3998095 by Ben.Marsh

	UGS: Change logic for dealing with job objects: rather than creating breakaway jobs (requires co-operation with spawning process), always try to use nested job objects (requires Windows 8.1+). If it fails, ignore the error if we're already part of a job.

	Also forcibly terminate the process on dispose to handle cases where the job object wasn't created.

Change 3998264 by Ben.Marsh

	UGS: Fix exception when switching projects in-place.

Change 3998643 by Ben.Marsh

	Fix shared DDC not being used for installed engine builds.

	#jira UE-57631

Change 4000266 by Ben.Marsh

	UnrealPak: Add an option that allows rebuilding a set of PAK files with different settings. Usage is:

	    UnrealPak [PakFile] -Repack [-Output=FileOrDirectory] [Options]

	The input pak file may be a single file or wildcard, and is overwritten unless the -Output parameter is specified.

Change 4000293 by Ben.Marsh

	Add a compression flag that allows selecting compressor without using the default platform implementation.

Change 4000315 by Ben.Marsh

	Add support for custom compressors implemented via modular features. Specify -compressor=<PathToDll> on the command line to UnrealPak to load a compressor from an external DLL.

Change 4000610 by Ben.Marsh

	UnrealPak: Add a parameter for compression block size (-compressionblocksize=XXX). Accepts arguments with MB/KB suffixes, as well as byte counts.

Change 4000627 by Ben.Marsh

	UBT: Include enabled plugin info in the UBT log.

Change 4000793 by Ben.Marsh

	UBT: Remove some member variables from VCEnvironment that don't need to be stored.

Change 4000909 by Ben.Marsh

	UBT: Add VS2017 installations to the list of paths checked for MSBuild installations.

Change 4001923 by Ben.Marsh

	UBT: Allow any plugins which are enabled by default to be included in the enabled list, even if they don't have any modules for the current platform. This changes the build-time logic to match the runtime logic.

	At some point in the future we may add a separate SupportedHostPlatforms list to each plugin to do this explicitly, rather than guessing via the per-module whitelist.

Change 4001927 by Ben.Marsh

	Fixes for compiling against the Windows 10 SDK.

Change 4002439 by Robert.Manuszewski

	Added TDefaultReferenceCollector and FSimpleReferenceProcessorBase to extract common code for clients of  TFastReferenceCollector

Change 4003508 by Ben.Marsh

	UGS: Fix new workspaces not having the correct owner and host set.

Change 4003622 by Ben.Marsh

	UGS: Add support for "skipped" as a build result.

Change 4004049 by Robert.Manuszewski

	Significantly improved performance of Reference Chain Search for objects that are nested deep in the object hierarchy

Change 4005077 by Ben.Marsh

	UGS: Update version number.

Change 4005112 by Ben.Marsh

	UBT: Reduce number of times a target has to be constructed while generating project files.

Change 4005513 by Ben.Marsh

	UBT: Reduce number of checks for directories existing when adding include paths to a module. Accounted for 40% of runtime time when generating project files.

Change 4005516 by Ben.Marsh

	UBT: Add warnings whenever a module adds an include path or library path that doesn't exist

Change 4006168 by Ben.Marsh

	CIS fixes.

Change 4006236 by Ben.Marsh

	UGS: Populate the workspace name/root directory text box with the cue banner when focus moves to the control.

Change 4006266 by Ben.Marsh

	UGS: Swap around the new workspace/existing file boxes on the open project dialog.

Change 4006552 by Ben.Marsh

	If staging fails because a restricted folder name is found, include a list of them in the error message.

Change 4007397 by Steve.Robb

	Comments added to make it clear that GetAllocatedSize() only counts direct allocations made by the container.

Change 4007458 by Ben.Marsh

	UBT: Change RPC utility to abort early, rather than continue to try to build even though SSH init failed.

Change 4009343 by Ben.Marsh

	UGS: Set the rmdir option on new workspaces by default.

Change 4009501 by Ben.Marsh

	UBT: Add Windows include paths to the compiler command line, rather than setting through environment variables. This ensures that incremental builds work correctly when SDK versions change.

Change 4009509 by Ben.Marsh

	UBT: Check in a non-versioned directory under the Windows 10 SDK for the resource compiler.

Change 4010543 by Ben.Marsh

	Remove the "Device" and "Simulator" platform groups, because they're unused and overly generic for folder names. Also remove source code for the HTML5 simulator (which is no longer supported).

Change 4010553 by Ben.Marsh

	UAT: Include platform groups in restricted folder names when staging.

Change 4012030 by Ben.Marsh

	UGS: Increase the size of the main window, and set the current stream as the default when creating a new workspace.

Change 4012204 by Chad.Garyet

	- Cleanup to get the POSTs returning 400s the same way the GETs would (now no longer returns the exception text)
	- Create directory for sqlite db if it doesn't exist
	#jira none

Change 4014209 by Brandon.Schaefer

	New changes in breakpad dump_syms to allow for producing a symbol file for elf files on windows

	#review-3998840 @Arciel.Rekman, @Ben.Marsh, @Josh.Engebreston, @Anthony.Bills

Change 4015606 by Brandon.Schaefer

	Missed a code project that needed updating for new Breakpad changes for Mac

Change 4017795 by Robert.Manuszewski

	GC assumption verification should now be 3-4x faster.

	- Refactored Disregard For GC to use TFastReferenceCollector
	- Move both Disregard For GC and Cluster verification code to separate source files

Change 4020381 by Ben.Marsh

	Add link to the new official doc page for UnrealGameSync.

Change 4020665 by Ben.Marsh

	UBT: Prevent plugins being precompiled if they don't support the current target platform.

Change 4021829 by Ben.Marsh

	Update message about downloading a new version of Visual Studio.

Change 4022063 by Ben.Marsh

	UBT: Suppress toolchain output when generating project files.

Change 4023248 by Ben.Marsh

	Install an unhandled exception filter to ensure we get crash reports from threads that are not spawned by the engine. At the moment, we only receive crashes that are routed through ReportCrash() via our structured exception handlers in WinMain() and FRunnableThreadWin::Run().

	(Also fix an exception within the exception handler, if GError has not been created yet)

Change 4025759 by Ben.Marsh

	Fix universal CRT include paths not being added to compile environment for VS2015.

Change 4026002 by Ben.Marsh

	UBT: Check the old registry locations for the Windows SDK installation directory.

Change 4026068 by Ben.Marsh

	UBT: Use the correct compiler version in the error message for not having the UCRT.

Change 4026181 by Ben.Marsh

	Fix DebugGame editor configurations not enumerating modules correctly.

	#jira UE-58153

Change 4026285 by Ben.Marsh

	UBT: Add additional logging for enumerating Windows SDKs.

Change 4026708 by Ben.Marsh

	UBT: Keep a separate list of installed Universal CRT versions to the list of Windows 10 SDK versions. It's possible to install C++ support without the Windows 10 SDK, which still includes UCRT files in Windows 10 SDK folders.

Change 4029404 by Ben.Marsh

	Remove incorrect include paths to fix CIS warnings.

Change 4031517 by Steve.Robb

	Fix for UHT errors not being clickable in the Message Log.

	#jira UE-58173

Change 4031544 by Ben.Marsh

	Fix errors building asset catalog for IOS due to modifying shared build environment.

	#jira UE-58240

Change 4032227 by Ben.Marsh

	BuildGraph: Print out a warning message when trying to submit without the -Submit argument in BuildGraph.

Change 4032262 by Ben.Marsh

	BuildGraph: Remove the need to copy files to the staging directory in BuildEditorAndTools.xml.

Change 4032288 by Ben.Marsh

	Remove UFE from the BuildEditorAndTools script.

Change 3833533 by Ben.Marsh

	Rewrite engine source files to base include paths relative to the "Public" directory. This allows reducing the number of public include paths that have to be added for engine modules.

Change 3838569 by Steve.Robb

	Algo moved up a folder.

Change 3848581 by Robert.Manuszewski

	Changing the UObjectArray to not be allocated up front but in 64K-FUObjectItem chunks. This is to fix strange OOM reports on editor startup where it's trying to allocate space for 1M+ FUObjectItems.

	#jira UE-49446

Change 3864743 by Steve.Robb

	Fix for buffer overrun when copying a context string.
	Fix for being unable to link to MallocLeakDetection.
	Fix to prefix for FMallocLeakDetection::ContextString.
	New MALLOCLEAK_SCOPED_CONTEXT macro to push/pop a context string.
	Overload for const TCHAR* added to FMallocLeakDetection::PushContext to save on redundant memory allocations.

	#jira UE-54612

Change 3865020 by Graeme.Thornton

	TBA: Changed FIELD_NAME macro to FIELD_NAME_TEXT so that FIELD_NAME can be used for non-literal name definitions

Change 3869550 by Josh.Engebretson

	New SymGen and SymUpload tasks (ShooterGame usage example)
	Example C# symbolicator (using saved crash and data router formats)
	Updates for stack walking and crash runtime xml on Windows/Mac

Change 3905453 by Steve.Robb

	USE_TUPLE_AUTO_RETURN_TYPES moved to PLATFORM_COMPILER_HAS_DECLTYPE_AUTO.

Change 3910012 by Ben.Marsh

	UGS: Show an error window and allow setting default P4 server settings if syncing UGS fails.

Change 3920044 by Graeme.Thornton

	TBA: Text asset loading

	* Added a structured archive layer to FLinkerLoad
	* Wrapped export loading in a ArchiveUObjectFromStructuredArchive
	* Updated TextAssetCommandlet to have a "loadtext" mode which will try to load every text asset in the project content
	* Changed text asset extensions to .utextasset and .utextmap. Couldn't go with the favourite .uasset.json because our various path functions (FPaths::GetCleanFilename etc.) will only strip one layer of extension, so leave a bogus filename.
	* Relaxed a few checks in structured archive where it was checking for field reentrance, which isn't a problem for loading.
	* Changed FArchiveFromStructuredArchive to not load all referenced objects at construction time. This introduced some changes to load order which don't work in the engine. Object names are resolved at the point that a reference to them is serialized from the main data block, same as with legacy archives.

Change 3921587 by Steve.Robb

	Static asserts inside ensureMsgf() macros to prevent them being passed invalid arguments or non-literal formatting strings.
	Fixes for various misuses.

	#jira UE-55681

Change 3942873 by Ben.Marsh

	UBT: Allow link time code generation on any configurations where bAllowLTCG is set to true. Microsoft platforms were previously only allowing this option in shipping; the target can decide when to enable it or not.

Change 3944629 by Graeme.Thornton

	Merging back a couple of fixes from Fortnite
	 - Extra parenthesis around some calculations in the pakprecacher
	 - Changed FChunkCacheWorker::DoSignatureCheck() back to ::CheckSignature()
	 - Added documentation for build script crypto options

Change 3945381 by Ben.Marsh

	Disable warning C4770 on Windows (partially validated enum 'xxx' used as index), which occurs when enabling LTCG. Can't find a reference online for this warning, but I suspect it's due to LTCG allowing the compiler to trace code paths where we don't validate that an enum is a known value.

Change 3968969 by Steve.Robb

	Fixes to incorrect uses of FScriptMapHelper and FScriptSetHelper, which weren't accounting for gaps in the sparse array.

Change 3969417 by Ben.Marsh

	Make Visual Studio 2017 the default compiler for UE4 projects, and add support using Visual C++ toolchains from an AutoSDKs.

	Also add support for selecting a specific toolchain version to use through the WindowsPlatform.CompilerVersion property, which can be configured via a Target.cs files or BuildConfiguration.xml (eg. <WindowsPlatform><CompilerVersion>14.13.26128</CompilerVersion></WindowsPlatform). As well as allowing a specific version number, you can always use the latest toolchain by setting it to "Latest".

Change 3972443 by Ben.Marsh

	Change build scripts to allow running any steps on non-compile workspaces. Setup Dev-Core to just use a non-compile Win64 workspace for everything.

Change 3977198 by Ben.Marsh

	Remove INI file override for editor stack size on Windows. This is rarely valid since editor targets share build products with other games by deafult. Fix to add linker response file as prerequisite exposed targets overriding this as a bug.

Change 3979632 by Ben.Marsh

	Consolidate codepaths for embedding versioning information in the engine. Engine/Build/Build.version is now the authoritative place to read version information; Engine/Source/Runtime/Launch/Resources/Version.h no longer includes macros for the current branch and changelist.

	* Settings from Build.version are compiled into the (tiny) BuildSettings module via macros set in BuildSettings.build.cs, which is used to initialize version information inside the engine at runtime.
	* The IsPromotedBuild value is now set to zero by default (but set to 1 by the UpdateLocalVersion UAT command).
	* The -Licensee argument to the UpdateLocalVersion UAT command, and the IsLicenseeVersion setting for UnrealGameSync, is determined automatically by looking for the Engine/Build/NotForLicensees/EpicInternal.txt file. This path is not visible to licensees.

Change 3981738 by Ben.Marsh

	Move utility classes for filtering files and matching wildcards into DotNETUtilities.

Change 3983888 by Steve.Robb

	Warning C4868 disabled, about evaluation order of braced initializer lists.

	https://udn.unrealengine.com/questions/426081/help-with-error-c4868-braced-initializers.html

Change 3984019 by Steve.Robb

	FString::Printf formatting argument checking added.
	Vararg support for FText::Format.
	All remaining usage fixed.

Change 3985502 by Steve.Robb

	Change to TFunction debugger visualization to allow right-clicking on the [Lambda] and selecting 'Go To Source Code'.

Change 3985999 by Graeme.Thornton

	TBA: Serialize function generation for FArchive and FStructuredArchive overloads on a UObject, using UHT.
	 - Adds a restriction that UObject::Serialize() functions MUST be declared outside of any conditional compilation directives, except for WITH_EDITORONLY_DATA

Change 3986461 by Ben.Marsh

	Fixup lots of platforms not adding response files as a prerequisite.

	This can cause incremental builds to fail if input files/compile arguments change, because the action graph does not know that the response file being updated invalidates the build artifacts.

Change 3990081 by Ben.Marsh

	Remove custom output formatters for errors and warnings. These are not well supported by different executors, and cause fences between actions with the same formatter with external executors like XGE.

	Clang supports -fdiagnostics-format=msvc for all platforms, which should do a better job than our crude attempts at regexing errors (causing botched output in some cases).

Change 3996714 by Chad.Garyet

	UGSRestAPI, conversion of UGS to use it.

	#jira none

Change 4008287 by Ben.Marsh

	UBT: Change the engine to use the Windows 10 SDK by default.

	Also add support for switching between specific Windows SDK versions. The WindowsPlatform.WindowsSdkVersion property in the target rules can be used to select a desired version, which can also be configured by the <WindowsPlatform><WindowsSdkVersion>Foo</WindowsSdkVersion></WindowsPlatform> parameter in the BuildConfiguration.xml file.

	The version of Windows to target (ie. the WINVER macro) can be modified by setting WindowsPlatform.TargetWindowsVersion. The default is 0x0601 (Windows 7).

Change 4008516 by Chad.Garyet

	- Adding support for both SQLite and MsSql
	- API now reads from only MsSql, but writes to both
	- Added support for POST to CIS for badges
	- PostBadgeStatus now writes out via API Url rather than a direct connection to the DB

	#jira none

Change 4010296 by Chad.Garyet

	Moving SQLite db initilization into Application_Start.  An exception thrown creating or seeding the db will unload the entire AppDomain and all pages will return a 404.
	#jira none

Change 4024045 by Ben.Marsh

	Set the list of supported target platforms for OnlineSubsystemGameCircle.

	#jira UE-57887

Change 4031014 by Ben.Marsh

	UAT: Add a WhitelistDirectories list in DefaultEngine.ini, which allows specifying folders that can be staged despite having restricted folder names.

[CL 4034515 by Ben Marsh in Main branch]
2018-04-26 14:11:04 -04:00
Marc Audy
f92fe6140d Remove unused variable
#jira UE-57325
#rb none
#rnx
#fyi Arciel.Rekman
#lockdown Nick.Penwarden

[CL 3989938 by Marc Audy in Main branch]
2018-04-06 12:38:31 -04:00
Arciel Rekman
96da656b37 Fix Mac CIS (unused variable in C# code).
#rb Marcin.Undak
#lockdown Nick.Penwarden

[CL 3984661 by Arciel Rekman in Main branch]
2018-04-04 14:38:20 -04:00