If there's JSON inside of JSON in a given analytic, simply output it as JSON instead of wrapping it with double-quotes.
Contributed by: mfortin-bhvr
#jira UE-159503
#preflight none
[CL 24992990 by Wes Hunt in ue5-main branch]
* Another batch iwyu updates to reduce number of includes used in files
#preflight 63c58d742e714f64ade93797
#rb none
[CL 23732856 by henrik karlsson in ue5-main branch]
#rb none
#lockdown nick.penwarden
=================================================================================================
MAJOR FEATURES + CHANGES
=================================================================================================
Change 3526838 by David.Nikdel
#WEX: make map elements support TitleProperty on their values in the editor
#JIRA: none
Change 3517937 by Ben.Zeigler
#jira UE-46574 Deprecate IPlatformChunkInstall::SetChunkInstallDelgate as it was spelled wrong, was only half implemented, and did not support success vs failure
Replace with AddChunkInstallDelegate, which supports a bool error code and is bound once instead of separately for each chunk. All implementations support this delegate at a basic level, although several could be improved to call the failure delegate in more cases
Change 3498765 by David.Nikdel
#WEX: Added a way to bind a delegate that fires whenever an analytics event is queued.
- Bind this delegate and use it to log analytics events (for now)
#JIRA: none
Change 3495796 by Josh.May
#WEX
#JIRA: None
- Reworked the LoadTimes.DumpReport console command to accept command arguments and added options for alphanumeric sorting (-alphasort), tweakable asset time cutoff (lowtime=X), and file output to the Saved/Profiling directory (file).
- Added hooks for automatically generating load time reports for every map load (enabled using the DUMP_LOAD_REPORT_PER_MAP #define).
Change 3489241 by Josh.Markiewicz
#UE4 - First unfinished pass to GoogleIOS
- SDK auth token data needs to copy auth into TMap properly
#jira none
Change 3487767 by David.Nikdel
#Analytics: Make FAnalyticsEventAttribute support typed values
- This makes sure the value types in the resultant JSON reflect the code.
- Added support for Number (double), Boolean, Null, and JsonFragment types
- This should make it so we don't have to whitelist everything to be converted to number on the Grafana processing side.
- Made all attributes on FAnalyticsEventAttribute immutable
#JIRA: WEX-6696, WEX-6706
Change 3478818 by Chris.Babcock
Add detection of Houdini (running on Intel Android CPU)
#jira WEX-5009
#ue4
#android
#robomerge R1.2
Change 3475449 by Allan.Bentham
Add disable force inline option for iOS build, enabled for WEX.
#jira UEMOB-167
[CL 3588553 by Peter Sauerbrei in Main branch]
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 3494741 by Steve.Robb
Generated code size savings.
#jira UE-43048
Change 3495484 by Steve.Robb
Fix for generated indices of static arrays when saving configs.
Change 3497926 by Robert.Manuszewski
Removed FPackageFileSummary's CompressedChunks array as it was no longer being used by anything.
Change 3498077 by Robert.Manuszewski
Only use the recursion guard in async loading code when the event driven loader is enabled.
Change 3498112 by Ben.Marsh
UBT: Respect the option to not create debug info in the Android toolchain. This option is already being respected by the compiler, but the linker adds debug info of its own.
Change 3500239 by Robert.Manuszewski
Made sure the Super Class token stream is also locked when assembling Class token stream with async loading thread enabled. This to to prevent race conditions when loading BP classes.
Change 3500395 by Steve.Robb
Extra codegen savings when not in hot reload.
Change 3501004 by Steve.Robb
EObjectFlags now have constexpr operators.
Change 3502079 by Ben.Marsh
UBT: Pad multi-line error messages so that they align under the prefix for the first line, and include the timestamp if necessary.
Change 3502527 by Steve.Robb
Fix for zero-sized array compile error in generated code when all functions are editor-only.
Change 3502542 by Ben.Marsh
UAT: Remove the custom source parameter from log functions, and add support for a customizable indent instead.
Change 3502868 by Steve.Robb
Workaround for inefficient generated code with stateless lambdas on Clang.
Change 3503550 by Steve.Robb
Another generated code lambda optimization.
Change 3503582 by Ben.Marsh
BuildGraph: Add support for nullable parameter types.
Change 3504424 by Steve.Robb
New AllOf, AnyOf and NoneOf algorithms.
Change 3504712 by Ben.Marsh
UAT: Less spammy log and error output from UAT.
* Callstacks for AutomationExceptions are suppressed by default but still included in the log (the path to the log is noted in console output with the message from the exception).
* Add a mechanism for any exceptions to be caught and rethrown with additional lines of context (CommandUtils.AddContext()) that will be appended to the error output by UAT. Avoids decaying the exception type or masking the inner exception message while still adding additional information.
* AggregateExceptions resulting from exceptions on child threads are automatically unwrapped (full details are still appended to the log)
* Name of the calling function is not included in console output by default, but still included in the log.
Change 3504808 by Ben.Marsh
UAT: Suppress P4 output when running a recursive instance of UAT.
Change 3505044 by Steve.Robb
Code generation improved for TCppClassType code.
Change 3505485 by Ben.Marsh
Fix deterministic cooking issue; always use a pseudo-random number stream when compiling a module.
Change 3505699 by Ben.Marsh
Plugins: Store the bEnabledByDefault flag exactly as it was read from disk rather than collapsing it to an absolute value based on the default for the location it was read from. This allows loading/saving plugin descriptors without any knowledge of whether they are game or engine plugins.
Change 3506055 by Ben.Marsh
UAT: Add a class to apply a log indent for the lifetime of an object (ScopedLogIndent), and use it to apply an indent to MegaXGE/ParallelExecutor output.
Change 3507745 by Robert.Manuszewski
Moved FSimpleObjectReferenceCollectorArchive and FSimpleObjectReferenceCollectorArchive to be internal archives used only by FReferenceCollector so that they are constructed only once per GC task instead of potentially multiple times per GC (as was the case with UDataTables and BlueprintGeneratedClasses).
Change 3507911 by Ben.Marsh
Plugins: Minor changes to plugin descriptors.
* Add a distinct setting for an unspecified EnabledByDefault setting in plugin descriptors.
* Add a function to IPlugin to determine the effective EnabledByDefault setting, based on where the plugin was loaded from.
Change 3508669 by Ben.Marsh
EC: Parse multi-line messages from UBT and UAT.
Change 3508691 by Ben.Marsh
Fix double-spacing of cook stats.
Change 3509245 by Steve.Robb
UHT makefiles removed.
Flag audit removed.
Change 3509275 by Steve.Robb
Fix for mismatched stat categories in AudioMixer.
#jira UE-46129
Change 3509289 by Robert.Manuszewski
Custom Version Container will no longer be always constructed in FArchive constructor. This reduces the number of the Custom Version Container allocations considerably.
Change 3509294 by Robert.Manuszewski
UDataTable::AddReferencedObjects will no longer try to iterate over the RowMap if there's no UObject references in it.
Change 3509312 by Steve.Robb
GitHub# 3679: Add TArray constructor that takes a raw pointer and a count
Check improved for Append() to allow nullptr in empty ranges, and added to new constructor too.
#jira UE-46136
Change 3509396 by Steve.Robb
GitHub# 3676: Fix TUnion operator<< compile error
#jira UE-46099
Change 3509633 by Steve.Robb
Fix for line numbers on multiline macros.
Change 3509938 by Gil.Gribb
UE4 - Fix rare assert involving cancelled precache requests and non-pak-file loading.
Change 3510593 by Daniel.Lamb
Fixed up unsoilicited files getting populated with files which aren't finished being created yet.
#test None
Change 3510594 by Daniel.Lamb
Fixed up temp files directory for patching.
Thanks David Yerkess @ Milestone
#review@Ben.Marsh
Change 3511628 by Ben.Marsh
PR #3707: Fixed UBT stack size (Contributed by gildor2)
Change 3511808 by Ben.Marsh
Optimize checks for whether the game project contains source code. Now stops as soon as the first file is found and ignores directories beginning with a '.' character (eg. .git)
#jira UE-46540
Change 3512017 by Ben.Marsh
Plugins: Deprecate the QueryStatusForAllPlugins() function; the same functionality is available via the IPlugin interface.
Change 3513935 by Steve.Robb
Reverted array iteration in FPropertyNode::PropagatePropertyChange as this is now covered in TProperty::InitializeValueInternal() as of CL# 3293477.
Change 3514142 by Steve.Robb
MemoryProfiler2 added to generated solution.
Change 3516463 by Ben.Marsh
Plugins: Create a manifest for each PAK file containing all the plugin descriptors in one place. Eliminates need to recurse through directories and read separate multiple files in serial at startup, and allows reading all plugin descriptors with one read. The "Mods" directory is excluded from the manifest, since these are intended to be installed separately by the user.
Change 3517860 by Ben.Marsh
PR #3727: FString Dereference Fixes (Contributed by jovisgCL)
Change 3517967 by Ben.Marsh
Suppress additional system error dialogs when loading DLLs if -unnattended is on the command line.
Change 3518070 by Steve.Robb
Disable Binned2 stats in shipping non-editor builds.
Change 3520079 by Steve.Robb
Fixed bad codegen TAssetPtrs being passed into BlueprintImplementableEvent functions.
#jira UE-24034
Change 3520080 by Robert.Manuszewski
Made max package summary size to be configurable with ini setting
Change 3520083 by Steve.Robb
Force a GC after hot reload to clean up reinstanced objects which may still tick.
#jira UE-40421
Change 3520480 by Robert.Manuszewski
Improved assert message when the initial package read request was too small.
Change 3520590 by Graeme.Thornton
SignedArchiveReader optimizations
- Loads more stats
- Stop chunk cache worker from waking up continuously to poll for work. Only wake up when triggered by the archive reader
- Signed archive reader just yields when waiting for buffers to finish loading, rather than sleeping for some arbitrary amount of time
- Track the number of pending read requests in an atomic counter, to save having to lock the request queue to check for new entries
Change 3521023 by Graeme.Thornton
Remove spin from signed archive reader. Main thread waits on an event triggered by the chunk worker to indicate that new chunks are ready for processing
Change 3521787 by Ben.Marsh
PR #3736: Small static code analysis fixes (Contributed by jovisgCL)
Change 3521789 by Ben.Marsh
PR #3735: Fix case sensitivity issue in FWindowsPlatformProcess::IsApplicationRunning. (Contributed by samhocevar)
Change 3524721 by Ben.Marsh
Move Linux SDL initialization into FLinuxPlatformApplicationMisc. Attempting to move functionality related to interactive applications (graphics, input, etc...) into a separate place, so it can ultimately be moved out of Core.
Change 3524741 by Ben.Marsh
Move PumpMessages() into FPlatformApplicationMisc.
Change 3525399 by Ben.Marsh
UGS: Use the default Perforce server port when opening P4V if there is not one set in the environment.
Change 3525743 by Ben.Marsh
UAT: Add a parameter to allow updating version files without updating Version.h, to allow faster link times on incremental builds.
Change 3525746 by Ben.Marsh
EC: Include the clobber option on new workspaces, to allow overriding version files when syncing.
Change 3526453 by Ben.Marsh
UGS: Do not generate project files when syncing precompiled binaries.
Change 3527045 by Ben.Marsh
Fix hot reload generating import libraries without DLLs. Now that they are produced by separate actions by default, it was removing DLLs from the action graph due to the bSkipLinkingWhenNothingToCompile setting.
Change 3527420 by Ben.Marsh
UGS: Add additional search paths for UGS config files, and fix a few cosmetic issues (inability to display ampersands in tools menu, showing changelist -1 when running a tool without syncing).
Config files are now read from:
Engine/Programs/UnrealGameSync/UnrealGameSync.ini
Engine/Programs/UnrealGameSync/NotForLicensees/UnrealGameSync.ini
If a project is selected:
<ProjectDir>/Build/UnrealGameSync.ini
<ProjectDir>/Build/NotForLicensees/UnrealGameSync.ini
If the .uprojectdirs file is selected:
Engine/Programs/UnrealGameSync/DefaultProject.ini
Engine/Programs/UnrealGameSync/NotForLicensees/DefaultProject.ini
Change 3528063 by Ben.Marsh
Fix non-thread safe construction of FPluginManager singleton. Length of time spent in the constructor resulted in multiple instances being constructed at startup, making the time to enumerate plugins on slow media significantly worse.
Change 3528415 by Ben.Marsh
UAT: Remove \r characters from the end of multiline log messages.
Change 3528427 by Ben.Marsh
EC: Fix spaces being converted to tabs at start of line in failure emails (by Gmail), and wrap following lines at the same indent.
Change 3528485 by Ben.Marsh
EC: Remove zero-width word break characters from slashes in notification emails; can cause really hard to debug problems when copy pasted into other places.
Change 3528505 by Steve.Robb
PR #3755: MallocProfiler - Remove subfolder from profiling save directory (Contributed by Josef-CL)
#jira UE-46819
Change 3528772 by Robert.Manuszewski
Enabling actor and blueprint clustering in ShooterGame
Change 3528786 by Robert.Manuszewski
PR #3760: Fix typo (Contributed by jesseyeh)
Change 3528792 by Steve.Robb
PR #3764: MallocProfiler - Refactoring Scopelock (Contributed by Josef-CL)
#jira UE-46962
Change 3528941 by Robert.Manuszewski
Fixed lazy object pointers not being updated for streaming sub-levels in PIE. Fixed lazy pointers returning object that is still being loaded which could lead to undefined behavior when client code started modifying the returned object.
#jira UE-44996
Change 3530241 by Ben.Marsh
UAT: Only pass -submit or -nosubmit to child instances of UAT if they were specified on the original command line. BuildCookRun uses this flag to determine whether to submit, rather than just whether to allow submitting, so we shouldn't pass an inferred value.
Change 3531377 by Ben.Marsh
Plugins: Allow plugins to specify a list of supported target platforms, which is propagated to any .uproject file that enables it.
This has several advantages over the per-module platform whitelist/blacklist:
* Platform-specific .uplugin files can now be excluded when staging other platforms. Previously, it was only possible to determine which platforms a plugin supports by reading the plugin descriptor itself. Now that information is copied into the .uproject file, so the runtime knows which plugins to ignore.
* References to dependent plugins from platform-specific plugins can now be eliminated.
* Plugins containing content can now be unambiguously disabled on a per-platform basis (having no modules for a platform does not confer that a plugin doesn't support that platform; now it is possible to specify supported platforms explicitly).
* The editor can load any plugins without having to whitelist supported editor host platforms.
UE4 targets which support loading plugins for target platforms can set TargetRules.bIncludePluginsForTargetPlatforms (true for the editor by default, false for any other target types). This defines the LOAD_PLUGINS_FOR_TARGET_PLATFORMS macro at runtime, which allows the plugin system to filter which plugins to look for at runtime.
Any .uproject file will be updated at startup to contain the list of supported platforms for each referenced plugin if necessary.
Change 3531502 by Jin.Zhang
Add support for GPUCrash #rb
Change 3531664 by Ben.Marsh
UBT: Change output format from C# JSON writer to match output by the engine.
Change 3531848 by Ben.Marsh
UAT: Add script to resaving all project descriptors under a folder, embedding information for any supported platforms for the plugins they enable.
Change 3531869 by Ben.Marsh
UAT: Add parameter to the ResaveProjectDescriptors command to update the engine association field.
Change 3532474 by Ben.Marsh
UBT: Use the same mechanism as UAT for logging exceptions.
Change 3532734 by Graeme.Thornton
Initial VSCode Support
- Tasks generated for building all game/engine/program targets
- Debugging support for targets on Win64
Change 3532789 by Steve.Robb
FScriptSet::Add and TScriptMap::Add now replace the element, matching the behavior of TSet and TMap.
Set_Add and Map_Add no longer have a return value.
FScriptSet::Find and FScriptMap::Find functions are now FindIndex.
FScriptSetHelper::FindElementFromHash is now FindElementIndexFromHash.
Change 3532845 by Steve.Robb
Obsolete UHT settings deleted.
Change 3532875 by Graeme.Thornton
VSCode
- Add debug targets for different target configurations
- Choose between VS debugger (windows) and GDB (mac/linux)
Change 3532906 by Graeme.Thornton
VSCode
- Point all builds directly at UBT rather than the batch files
- Adjust mac build tasks to run through mono
Change 3532924 by Ben.Marsh
UAT: Set the UAT working directory immediately on startup. This ensures that any command line arguments containing paths are resolved consistently to the branch root.
Change 3535234 by Graeme.Thornton
VSCode - Pass intellisense system a list of paths to use for header resolution
Change 3535247 by Graeme.Thornton
UBT - Add a ToString to ProjectFile.Source file to help with debugger watch presentation
Change 3535376 by Graeme.Thornton
VSCode
- Added build jobs for C# projects
- Linked launch tasks to relevant build task
Change 3537083 by Ben.Marsh
EC: Change P4 swarm links to start at the changelist for a build.
Change 3537368 by Graeme.Thornton
Fix for crash in FSignedArchiveReader when multithreading is disabled
Change 3537550 by Graeme.Thornton
Fixed a crash in the taskgraph when running single threaded
Change 3537922 by Steve.Robb
Missing PF_ATC_RGBA_I added to FOREACH_ENUM_EPIXELFORMAT.
Change 3539691 by Graeme.Thornton
VSCode - Various updates to get PC and Mac C++ projects building and debugging.
- Some other changes to C# setup to allow compilation. Debugging doesn't work.
Change 3539775 by Ben.Marsh
Plugins: Various fixes to settings for enabling plugins.
* Fix crash on startup when trying to disable a missing plugin (was keeping pointers to elements in the project's plugin reference array, which may be modified if a plugin is disabled).
* Revert fix to set PluginDescriptor.bRequiresBuildPlatform = true by default. This was the originally intended behavior, but it was accidentally defaulted to false during serialization unless specified in the .uplugin file. Many plugins may rely on this behavior (they may not declare asset classes otherwise, for example, which could result in loss of data), so change the default value to false instead. Also fixes popups to disable platform-specific plugins if platform SDKs are not installed.
* Fix plugins which are referenced but do not exist not showing the appropriate prompt to disable them.
Change 3540788 by Ben.Marsh
UBT: Add support for declaring custom pre-build steps and post-build steps from .target.cs files. Similarly to the custom build steps configurable from .uproject and .uplugin files, these specify commands which will be executed by the host platform's shell before or after a build. The following variables are expanded within the list of commands before execution: $(EngineDir), $(ProjectDir), $(TargetName), $(TargetPlatform), $(TargetConfiguration), $(TargetType), $(ProjectFile).
Example usage:
public class UnrealPakTarget : TargetRules
{
public UnrealPakTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "UnrealPak";
if(HostPlatform == UnrealTargetPlatform.Win64)
{
PreBuildSteps.Add("echo Before building:");
PreBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");
PostBuildSteps.Add("echo After building!");
PostBuildSteps.Add("echo This is $(TargetName) $(TargetConfiguration) $(TargetPlatform)");
}
}
}
Change 3541664 by Graeme.Thornton
VSCode - Add problemMatcher tag to cpp build targets
Change 3541732 by Graeme.Thornton
VSCode - Change UBT command line switch to "-vscode" for simplicity
Change 3541967 by Graeme.Thornton
VSCode - Fixes for Mac/Linux build steps
Change 3541968 by Ben.Marsh
CRP: Pass through the EnabledPlugins element in crash context XML files.
#jira UE-46912
Change 3542519 by Ben.Marsh
UBT: Add chain of references to error messages when configuring plugins.
Change 3542523 by Ben.Marsh
UBT: Add more useful error message when attempt to parse a JSON object fails.
Change 3542658 by Ben.Marsh
UBT: Include a chain of references when reporting errors instantiating modules.
Change 3543432 by Ben.Marsh
Plugins: Fix plugins which are enabled by default not being enabled unless a project file is set.
Change 3543436 by Ben.Marsh
UBT: Prevent recursing through the same module more than once when building out the referenced modules. Produces much shorter reference chains when something fails.
Change 3543536 by Ben.Marsh
UBT: Downgrade message about redundant plugin references to a warning.
Change 3543871 by Gil.Gribb
UE4 - Fixed a critical crash bug with non-EDL loading from pak files.
Change 3543924 by Robert.Manuszewski
Fixed a crash on UnrealFrontend startup caused by re-assembling GC token stream for one of the classes.
+Small optimization to token stream generation code.
Change 3544469 by Jin.Zhang
Crashes page displays the list of plugins from the crash context #rb
Change 3544608 by Steve.Robb
Fix for nativized generated code.
#jira UE-47452
Change 3544612 by Ben.Marsh
Add callback into FMacPlatformMisc::PumpMessages() from FMacPlatformApplicationMisc::PumpMessages().
#jira UE-47449
Change 3545954 by Gil.Gribb
Fixed a critical crash bug relating to a race condition in async package summary reading.
Change 3545968 by Ben.Marsh
UAT: Fix incorrect username in BuildGraph <Submit> task. Should use the username from the Perforce environment, not assume the logged in user name is the same.
#jira UE-47419
Change 3545976 by Ben.Marsh
EC: Delete the AutoSDK client if the directory doesn't exist. When we format build machines, we need to force everything to be resynced from scratch.
Change 3546185 by Ben.Marsh
Hacky fix for deployment on IOS/TVOS. Since deployment directly references the NonUFS manifest files that are written out, merge all the SystemNonUFS files back into the NonUFS list after the regular NonUFS files have been remapped.
Change 3547084 by Gil.Gribb
Fixed a critical race condition in the new async loader. This was only reproducible on IOS, but may affect other platforms.
Change 3547968 by Gil.Gribb
Fixed critical race which potentially could cause a crash in the pak precacher.
Change 3504722 by Ben.Marsh
BuildGraph: Improved tracing for error messages. All errors are now propagated as exceptions, and are tagged with additional context information about the task currently being run.
For example, throwing new AutomationException("Unable to write foo.txt") from SetVersionTask.Execute is now displayed in the log as:
ERROR: Unable to write to foo.txt
while executing <SetVersion Change="0" CompatibleChange="0" Branch="Unknown" Promoted="True" />
at Engine\Build\InstalledEngineBuild.xml(91)
(see D:\P4 UE4\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
Change 3512255 by Ben.Marsh
Rename FPaths functions with a "Game" prefix (GameDir(), GameContentDir(), etc...) to have a "Project" prefix (ProjectDir(), ProjectContentDir(), etc...) for clarity with non-game uses of UE4. Old functions still exist but are deprecated.
Change 3512332 by Ben.Marsh
Rename "Game" functions in FApp to be "Project" functions (FApp::GetGameName() -> FApp::GetProjectName(), etc...) for clarity with non-game uses of UE4.
Change 3512393 by Ben.Marsh
Rename FPaths::GameLogDir() to FPaths::ProjectLogDir().
Change 3513452 by Ben.Marsh
Plugins: Rename EPluginLoadedFrom::GameProject to EPluginLoadedFrom::Project.
Change 3516262 by Ben.Marsh
Add support for a "Mods" folder distinct from the project's "Plugins" folder, instead of using the bIsMod flag on the plugin descriptor.
* Mods are enumerated similarly to regular plugins, but IPlugin::GetType() will return EPluginType::Mod.
* The DLCName parameter to BuildCookRun and the cooker now correctly finds any plugin in the Plugins or Mods directory (or any subfolders).
Change 3517565 by Ben.Marsh
Remove fixed engine version numbers from OSS plugins.
Change 3518005 by Ben.Marsh
UAT: Remove the bUFSFile parameter from DeployLowerCaseFilenames(). Every platform returns false if the argument is false.
Change 3518054 by Ben.Marsh
UAT: Use an enum to direct whether all directories should be searched when finding files to stage, rather than a bool. Having so many optional boolean arguments makes code unreadable and refactoring hard.
Change 3524496 by Ben.Marsh
Start moving GUI application code into a separate static platform class, hopefully ultimately removing it from Core.
Change 3524641 by Ben.Marsh
Move more functionality related to windowed/graphical applications into FPlatformApplicationMisc.
Change 3528723 by Steve.Robb
MoveTemp now static asserts if passed a const reference or rvalue.
MoveTempIfPossible still follows the old (std::move) rule, which is useful for templates where the nature of the argument is not obvious.
Fixes to violations of these new rules.
Change 3528876 by Ben.Marsh
Move FPlatformMisc::ClipboardCopy and FPlatformMisc::ClipboardPaste to FPlatformApplicationMisc::ClipboardCopy and FPlatformApplicationMisc::ClipboardPaste.
Change 3529073 by Ben.Marsh
Add script to package ShooterGame for any platforms.
Change 3531493 by Ben.Marsh
Update platform-specific plugins to declare the target platforms they support.
Change 3531611 by Ben.Marsh
UAT: Add a ResavePluginDescriptors command, which resaves all plugin descriptors under a given folder, removing any outdated fields and rewrites them in a consistent style. Many plugins in the wild contain redundant or no-longer used fields due to using our plugins as templates.
Change 3531868 by Ben.Marsh
Resaving project descriptors to remove invalid fields.
Change 3531983 by Ben.Marsh
UAT: Simplify logic for staging code, and add validation against shipping files in restricted folders.
* Added a new SystemNonUFS type for staged files, which excludes files from being remapped or renamed by the platform layer.
* Replaced the DeplyomentContext.StageFiles() function with simpler overloads for particular use cases (options for remapping are replaced with the SystemNonUFS file type)
* Config entries in the [Staging] category in DefaultGame.ini file allow remapping one directory to another, so restricted content can be made public in packaged builds (Example syntax: +RemapDirectory=(From="Foo/NoRedist", To="Foo"))
* An error is output if any restricted folder names other than the output platform are in the staged output.
Change 3540315 by Ben.Marsh
UAT: Moving StreamCopyDescription command into a NotForLicensees folder, since it's only meant to be used by engine developers.
Change 3542410 by Ben.Marsh
UBT: Deprecate accessing properties through BuildConfiguration.* or UEBuildConfiguration.* from .target.cs files. These have been aliases to the current TargetRules instance for several releases already.
Change 3543018 by Ben.Marsh
UBT: Deprecate the BuildConfiguration and UEBuildConfiguration aliases from the ModuleRules class. These have been implemented as an alias ot the ReadOnlyTargetRules instance passed to the constructor for several engine versions.
Change 3544371 by Steve.Robb
Fixes to TSet_Add and TMap_Add BPs.
#jira UE-47441
[CL 3548391 by Ben Marsh in Main branch]
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3233612 on 2016/12/13 by Ben.Marsh
UGS: Fix cases where precompiled binaries are submitted for a content change.
Change 3235584 on 2016/12/14 by Ben.Marsh
UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead.
Change 3235741 on 2016/12/14 by Ben.Marsh
UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself.
Change 3238176 on 2016/12/16 by Ben.Marsh
UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs.
Change 3238249 on 2016/12/16 by Ben.Marsh
UBT: Add attribute-driven command line parser.
Change 3238462 on 2016/12/16 by Ben.Marsh
UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly.
Change 3238564 on 2016/12/16 by Ben.Marsh
UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor.
Change 3239919 on 2016/12/19 by Ben.Marsh
UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined.
Change 3240061 on 2016/12/19 by Ben.Marsh
UBT: Remove ThirdPartyHeaderFinder. I don't think anything is using this any more.
Change 3240175 on 2016/12/19 by Ben.Marsh
UBT: Add the target name and project file location to the target rules.
Change 3240490 on 2016/12/19 by Ben.Marsh
UAT: Remove Mac staging code that requires UAT to compile and construct .target.cs files when packaging, to check bUseSteam and bUseCEF3 flags. libsteam_api.dylib is now staged at build time by adding it as a bundle resource, CEF3 is already marked as a runtime dependency by CEF3.build.cs, and UnrealCEFSubProcess.app is already marked as a runtime dependency from WebBrowser.build.cs.
Change 3240717 on 2016/12/20 by Ben.Marsh
UAT: Allow configuring UAT to run as if on a build machine by passing the -buildmachine argument on the command line.
Change 3240718 on 2016/12/20 by Ben.Marsh
UAT: Remove target-specific properties that are no longer used by staging (bUsesSlate, bUsesCEF3, etc...). This stuff should all be handled inside UBT.
Change 3241002 on 2016/12/20 by Ben.Marsh
UBT: Move most target configuration settings from UEBuildConfiguration to TargetRules. This encapsulates target specific settings that will allow instancing multiple targets in the future. To facilitate migration of settings to their new location, "UEBuildConfiguration" is now a property that returns the current target rules instance.
Change 3241027 on 2016/12/20 by Ben.Marsh
Only copy the Steamworks dylib into the app bundle for monolithic builds. For all other times, just add it as a runtime dependency.
Change 3241055 on 2016/12/20 by Ben.Marsh
UBT: Only store a ReadOnlyTargetRules object on the instanced build target; finalize the configuration before it's instantiated.
Change 3241156 on 2016/12/20 by Ben.Marsh
Update SwarmInterface.csproj to .NET framework 4.5, to match what all other C# tools are using.
Change 3241205 on 2016/12/20 by Ben.Marsh
Replace all uses of TargetRules.TargetType with TargetType.
Change 3241881 on 2016/12/21 by Ben.Marsh
UBT: Remove project file information from UEBuildContext base class. As configurable properties are moved on to the TargetRules object, it will no longer be a dependency to instantiate the platform with this path.
Change 3241895 on 2016/12/21 by Ben.Marsh
UBT: Remove toolchain support for Windows XP.
Change 3241908 on 2016/12/21 by Ben.Marsh
UBT: Move settings for windows targets into a WindowsTargetRules class, which is exposed for targets to modify via the TargetRules.WindowsPlatform field.
Change 3242835 on 2016/12/22 by Ben.Marsh
UBT: Fix multiple binaries being created if plugins specify module names more than once. MfMedia.uplugin has MfMediaFactory listed twice.
Change 3242837 on 2016/12/22 by Ben.Marsh
Change UE4EditorServices to include MacSystemIncludes rather than Cocoa.h directly; causes FVector to be defined incorrectly in non-unity builds.
Change 3242923 on 2016/12/22 by Ben.Marsh
Build: Fixes for conforming incremental workspaces:
* P4 have table is now reset before deleting all the files. This prevents Perforce being out of sync if the delete fails for some reason.
* Incremental workspaces are skipped when running a clean operation, because they do not have a workspace capture file (causing a full re-sync, always). The "P4 Clean" option is still effective for cleaning these workspaces.
Change 3242961 on 2016/12/22 by Ben.Marsh
UBT: Move entry points from PreBuildSync() and PostBuildSync() from UEToolChain to UEBuildPlatform, and make the original toolchain versions static. These functions are already at odds with the rest of the data flow within UBT because they rely on global state cached outside the toolchain instance, making assumptions that UBT is only ever going to be invoked with one target that's constructed in the same run and that nothing is being cached (eg. UBT makefiles). Moving them onto UEBuildPlatform simplifies the toolchain lifecycle for other platforms without leaving Mac and IOS any more limited than they were before.
Change 3242981 on 2016/12/22 by Ben.Marsh
UBT: Remove symbol server handling code into UAT's platform library, since it's never needed from inside UBT.
Change 3242999 on 2016/12/22 by Ben.Marsh
UBT: Remove the StripSymbols() function from the UEToolChain base class. This functionality is only required by UAT, so it's better suited to being exposed through UAT's modular platform classes.
Change 3243022 on 2016/12/22 by Ben.Marsh
UBT: Require an instance of the target rules to be able to construct a toolchain in UBT. This will allow configuring toolchain-specific options from the target, using reflection from config files, and the command line.
Change 3243083 on 2016/12/22 by Ben.Marsh
UBT: Move settings for the Windows compiler version to use onto the Windows-specific target rules.
Change 3243090 on 2016/12/22 by Ben.Marsh
UBT: Change the third party paths in UEBuildConfiguration to constants. Changing these would not work.
Change 3243423 on 2016/12/23 by Ben.Marsh
UBT: Move a lot of settings from BuildConfiguration to TargetRules. This allows different targets to have different settings, naturally, and moves converts argument parsing and config to be driven by attributes.
Change 3243516 on 2016/12/23 by Ben.Marsh
UBT: Remove the ValidateUEBuildConfiguration callback, which is no longer used. (XGE settings validation occurs in XGE.cs)
Change 3244020 on 2016/12/28 by Ben.Marsh
UBT: Remove the BaseIntermediatePath static property. Precursor to removing RelativeEnginePath and IntermediateFolder properties.
Change 3244074 on 2016/12/28 by Ben.Marsh
UBT: Remove the RelativeEnginePath variable from BuildConfiguration. UnrealBuildTool.EngineDirectory gives the absolute path, and can be used to construct a relative path when necessary.
Change 3244076 on 2016/12/28 by Ben.Marsh
UBT: Remove BuildConfiguration.BaseIntermediateFolder; just use a fixed directory everywhere instead.
Change 3244083 on 2016/12/28 by Ben.Marsh
UBT: Replace FileReference and DirectoryReference instance methods for manipulating files and directories with static methods, to mirror the System.IO.File and System.IO.Directory classes.
Change 3244441 on 2016/12/31 by Ben.Marsh
UBT: Remove code to force PDBs when building with no debug info under XGE. Verified described symptoms (that it causes PCH generation to be serialized) no longer occur.
Change 3244687 on 2017/01/03 by Matthew.Griffin
Changed Exception to use FirstInclude.IncludeName as PrecompiledHeaderIncludeFilename can be null when this occurs
Change 3246112 on 2017/01/04 by Ben.Marsh
UBT: Fix UHT failures building some targets with the -useprecompiled option, due to differences in the order that circularly dependent modules are parsed. Precompiled binaries are now kept in the regular AppBinaries list, but are excluded from the build at the last minute. Also change some checks from IsEngineInstalled() to bUsePrecompiled, to prevent headers being overwritten when running in a non-installed precompiled build.
Change 3246223 on 2017/01/04 by Ben.Marsh
UBT: Prevent version manifests being overridden if a file is not being built as part of the target.
Change 3246387 on 2017/01/04 by Ben.Marsh
UBT: Remove BuildConfiguration settings for UnrealCodeAnalyzer. This tool isn't used at the moment, but it's configured using global variables accessed from all over the UBT codebase, making it difficult to refactor the build options into an instanced object. If we bring this tool back from the dead in the future, it should be possible to implement it using the exported JSON target definition or the XGE manifest, similarly to how IncludeTool uses it.
Change 3247004 on 2017/01/04 by Ben.Marsh
UBT: Simplify the logic for cleaning targets in UBT. Now uses FileReference/DirectoryReference objects everywhere, doesn't require the compile/link environment, and does all the checking to avoid deleting precompiled binaries in one place.
Change 3247250 on 2017/01/04 by Ben.Marsh
UBT: Prevent precompiled binaries being added to the list of app binaries twice.
Change 3247594 on 2017/01/05 by Ben.Marsh
Build: Run sample and template editors on the same agents as the other incremental builds. Remove ProtoStar, which does not have any non-precompiled editor target to build.
Change 3247763 on 2017/01/05 by Ben.Marsh
UBT: Allow the toolchain to update the list of build products for each module linked into a binary. Allows Mac to add dylibs and bundle resources specified per-module without having to construct a link environment and try to link them.
Change 3247775 on 2017/01/05 by Ben.Marsh
UBT: Instance the target compile and link environments when they are required during building, and don't persist them on the UEBuildTarget instance.
Change 3247811 on 2017/01/05 by Ben.Marsh
EC: Add a batch file for testing postp filters.
Change 3247839 on 2017/01/05 by Ben.Marsh
EC: Include the name of the file being compiled when parsing MSVC errors and warnings.
Change 3248101 on 2017/01/05 by Ben.Marsh
UBT: Fix Android support for force included headers.
Change 3248533 on 2017/01/05 by Ben.Marsh
PR #3097: UBT project supports optional platforms (Contributed by PrimalJohnScott)
Change 3249205 on 2017/01/06 by Ben.Marsh
UAT: Fix ParseTaggedP4Output throwing an exception if the same key name is specified more than once. This can happen when parsing the output from "P4 INFO", where multiple brokers are present.
Change 3249249 on 2017/01/06 by Ben.Marsh
UBT: Check for the existance of AndroidManifest.xml within extracted AAR directories, rather than just checking for the existance of the directory itself. Perforce does not remove empty directories when cleaning a workspace unless the rmdir option is on the workspace, so this can cause incremental build failures to fail on build machines.
Change 3249486 on 2017/01/06 by Ben.Marsh
UBT: Use relative paths in unity files when compiling for Mac/IOS, rather than generating a separate local/remote version of the file for gathering include dependencies. Absolute paths are only used to work around the way that MSVC concatenates paths internally; we don't hit the same problems when checking dependencies.
Change 3249736 on 2017/01/06 by Ben.Marsh
UBT: Rename CPPEnvironment to CppCompileEnvironment, and remove the separate CPPEnvironmentConfiguration object. All settings are now stored directly on the CppCompileEnvironment object.
Change 3250179 on 2017/01/07 by Ben.Marsh
Fix creating installed build when root directory contains a space in the name.
Change 3250181 on 2017/01/07 by Ben.Marsh
UBT: Remove some esoteric (and unused, AFAIK) options for orthogonally building different platforms.
Change 3250223 on 2017/01/07 by Ben.Marsh
UBT: Merge the LinkEnvironment and LinkEnvironmentConfiguration classes together.
Change 3250233 on 2017/01/07 by Ben.Marsh
UGS: Allow specifying a workspace-specific sync filter, which is applied on top of the standard filter. Also fix filter being cleared if the cancel button is pressed, and help text being stripped out.
Change 3250241 on 2017/01/07 by Ben.Marsh
UBT: Move the options for specifying additional Android architectures to target onto an Android-specific object on the TargetRules.
Change 3250400 on 2017/01/08 by Ben.Marsh
UBT: Move executor config settings onto the executor instances.
Change 3257708 on 2017/01/13 by Ben.Marsh
UBT: Remove the ThirdPartySourceDirectory constant; there are many places which hard-code or assume this location anyway, and it's not going to change.
Change 3260535 on 2017/01/17 by Ben.Marsh
Add an optional "RequiredSubmittedChange" setting to EC settings files. Allows a scheduled job to run even if there have been no code changes submitted. Test with the utilization capture job.
Change 3260875 on 2017/01/17 by Ben.Marsh
EC: Fix workspaces getting out of sync wrt. newly added files when jobs are aborted during a sync. In such cases, the P4 have table indicates the new files have been synced locally, but the workspace is forced back to a state before it had them due to the capture file. When a following sync tries to add them again, P4 believes the workspace already has them synced.
To work around this, we now write an additional file to the root folder of a workspace containing the last CL that was captured, and sync back to it before doing the reconcile.
Change 3261724 on 2017/01/18 by Ben.Marsh
Allow filtering job types from the list view in EC. Hide the utilization capture job by default. Also set up notifications for the utilization capture job.
Change 3261756 on 2017/01/18 by Ben.Marsh
IncludeTool: Prevent matching a full enum declaration as a forward declaration.
Change 3261932 on 2017/01/18 by Ben.Marsh
EC: Add support for specifying days of the week in schedules. The following syntaxes are supported:
"Monday, Tuesday and Wednesday at 10:30"
"Daily except Sunday and Wednesday at 14:30"
Also tweak display of dates relative to now to handle dates/times in the future, and include the date when specifying a day name.
#jira UEB-729
Change 3262676 on 2017/01/18 by Ben.Marsh
UBT: Split UBTMakefile into its own file. (From PR #3106)
Change 3263893 on 2017/01/19 by Ben.Marsh
UBT: Stop exporting platform classes from UBT, as well as all the referenced classes that have to be made public as a result. Any platform-specific functionality that needs to be shared with UAT is now exposed through wrappers in separate public classes, eg. WindowsExports.cs, IOSExports.cs, etc...
Change 3264291 on 2017/01/19 by Ben.Marsh
UBT: Fix errors generating documentation in UBT, and enable it by default. Will catch more errors with new code being added. Originally in PR #3106, but redone due to conflicts.
Change 3264534 on 2017/01/19 by Ben.Marsh
UBT: Include plugin config files in generated projects.
Change 3264571 on 2017/01/19 by Ben.Marsh
UBT: Prevent overwriting .modules files if nothing has changed. On builders, it's common to build multiple editors in the same workspace, and changing the last modified timestamp causes BuildGraph to fail due to tampered files.
Change 3265745 on 2017/01/20 by Ben.Marsh
UGS: Automatically open UGS when running the launcher for a second time, rather than prompting to close the original instance.
Change 3265777 on 2017/01/20 by Ben.Marsh
UGS: Automatically close and reopen when UGS is re-ran with the shift key held down to switch into unstable mode.
Change 3268314 on 2017/01/23 by Ben.Marsh
UBT: Make sure version manifests are stable by sorting the list of build products, so they are only touched if the contents have really changed.
Change 3269601 on 2017/01/24 by Ben.Marsh
UBT: Fix symbol files being added to manifest for some platforms even though debug info is disabled.
Change 3269607 on 2017/01/24 by Ben.Marsh
UBT: Fix bug where UBT would need to be invoked when switching between two editors sharing the same engine binaries on Mac. The location of the .modules file cannot be guessed on Mac by looking in the same directory as the primary output executable because it's an .app bundle, and the actual modules are nested several directories below that.
Change 3269608 on 2017/01/24 by Ben.Marsh
UBT: Fix additional files copied into the app bundle always being updated on Mac. Now uses rsync --checksum to make sure only modified files are updated.
Change 3271062 on 2017/01/24 by Ben.Marsh
UBT: Fixes for bugs detected by PVS Studio (PR #3161)
Change 3272421 on 2017/01/25 by Ben.Marsh
Fix commends regarding DDC in BaseEngine.ini
#jira UE-41076
Change 3272810 on 2017/01/25 by Ben.Marsh
Fix VS2017 being displayed as 'Visual Studio 15' in the Windows target settings panel.
Change 3272935 on 2017/01/25 by Ben.Marsh
Fix Metal errors launching on Mac due to use of OSX environment settings before they are initialized. Toolchain settings are now constructed on demand in a separate class, for Mac, iOS and TVOS.
Change 3274167 on 2017/01/26 by Ben.Marsh
Fix resource files not being compiled in installed builds on Windows. Was causing metadata not to be embedded into executables.
#jira UE-36457
Change 3275557 on 2017/01/27 by Ben.Marsh
Expand checks for propagation of restricted folder names to include source files, and to ensure that each restricted folder is represented in the output. Also improve messaging to show the dependency chain leading to a restricted folder being referenced, and which folder it is.
Change 3275628 on 2017/01/27 by Ben.Marsh
UBT: Splitting configuration files into one class per-file.
Change 3276784 on 2017/01/29 by Ben.Marsh
Add an authoritative list of confidential folder names, and expose it through global BuildGraph properties ($(RestrictedFolderNames) and $(RestrictedFolderFilter)). Also switch existing scripts to use it.
Change 3276792 on 2017/01/29 by Ben.Marsh
UBT: Use UE4CSharp.prog files to indicate which projects should be included in the solution without having to hard-code a list of them in UBT.
Change 3277263 on 2017/01/30 by Ben.Marsh
IncludeTool: Merging various fixes.
* Fix warnings about #include directives after first code block from parsing monolithic headers.
* Fix exception on startup if the intermediate directory does not already exist.
* Add a special case for ignoring missing header guards from MonolithicHeaderBoilerplate.h, rather than marking it as an inline header. Marking it as inline prevents parsing include directives, which results in including CoreTypes.h from the wrong location.
* Create job objects for spawned compiler instances to prevent them trying allocating more memory than the system can spare.
* Remove (unused) code which makes assumptions about files ending with "Classes.h".
* Add a verbose per-file output log to aid with debugging.
* Negate the MakeStandalone command line option, which was added to allow tweaking forward declarations in already optimized files, so the optimized output does not have missing headers by default.
* Fix missing headers when creating standalone files, due to incorrect list of previous files being passed in to the OutputFile constructor. Now passes the original list of included files, not the output list.
* Fix initial header for a cpp file sometimes being removed. Forcibly including a header at the start of the file does not use the normal pathway for spidering through includes, so a second include of the same file was being generated. Any includes of that header were being forced into output, and the earlier include was then removed due to being redundant.
* Prevent forward declaring enums which have to be parsed by UHT. UHT relies on includes to determine a parse order, and will fail if the enum definition has not been parsed first.
* Use a relative path for private includes in the same module if there are any. Fixes some incorrect paths, and makes it clearer that we're doing something we shouldn't.
Change 3277307 on 2017/01/30 by Ben.Marsh
UBT: Fix private PCHs not using correct header. Causes custom definitions to be excluded from the command line.
[CL 3278101 by Ben Marsh in Main branch]
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182087 on 2016/11/01 by Lina.Halper
PR #2328: fix morph target weight application order. (Contributed by tmiv)
- changed order of morphtarget application to be animation and THEN SetMorphTarget
- made sure you could clear the weight also if SetMorphTarget to be 0.f
#jira: UE-29999
Change 3182090 on 2016/11/01 by Lina.Halper
Fix issue where import doesn't display any message when import type hasn't been detected
Change 3182123 on 2016/11/01 by Wes.Hunt
ensure the EngineAnalytics singleton is not being held onto by someone else during engine shutdown.
Change 3182177 on 2016/11/01 by Lina.Halper
Fix not being able to modify Joint Target Location in detail panel
#jira: UE-30900
Change 3182181 on 2016/11/01 by Ben.Zeigler
Add UGameplayTagsManager::AddNativeGameplayTag to allow registering tags directly from native code. This stops them from being deleteable in the editor, and will register them even if they don't exist elsewhere
Change internal games to use this to register their native tags. The explicit call to be done adding native tags is not required, it happens on engine post init
Some header cleanup
Change 3182876 on 2016/11/02 by Danny.Bouimad
Moving files
Change 3182912 on 2016/11/02 by Thomas.Sarkanen
Added access to the viewport client from IPersonaViewport
Allows systems to hook into the state of the client.
#jira UE-36549 - Need to access the current viewmode in FPersonaMeshDetails
Change 3182927 on 2016/11/02 by Thomas.Sarkanen
Initially select current asset in the asset family shortcut bar dropdown
#jira UE-35532 - Animation dropdown submenu doesn't highlight currently selected object, where as the asset browser does
Change 3182970 on 2016/11/02 by Lukasz.Furman
CIS fix for gameplay debugger
copy of CL# 3165005
Change 3183123 on 2016/11/02 by Mieszko.Zielinski
Fixed changing AreaClass of NavLinkProxy point links not having any effect on navmesh generation #UE4
Change 3183310 on 2016/11/02 by Jurre.deBaare
Blendspace changes:
- Moved MarkerSync code from BlendSpaceBase.cpp to BlendSpaceUtilities.h/cpp
- Re-ordered blendspace.h/cpp
- const correctness where possible
- Removed unused code paths
- Wrapped non-runtime code paths in WITH_EDITOR
Blendspace editor refactor:
- Moved element generators into respective AnimationBlendSpaceHelpers.h/cpp
- New Grid Widget class
- Simplified Blendspace(1D) editors, most things are handled within SAnimationBlendSpaceBase
- SBlendSpaceGridWidget handles visualization and UI interaction (modifying blendspace is done through parent SAnimationBlendSpaceBase)
Change 3183344 on 2016/11/02 by James.Golding
UEFW-181 : Move PhysX vehicle support to a plugin
- Added FPhysicsDelegates for several useful global physics delegates (OnUpdatePhysXMaterial, OnPhysicsAssetChanged, OnPhysSceneInit, OnPhysSceneTerm)
- Added OnPhysScenePreTick and OnPhysSceneStep delegates to FPhysScene
- TireType is now deprecated, just kept in Engine for backwards compat. TireConfig in PhysXVehicles plugin is new structure
- Added 'ConvertTireTypes' editor console util which creates TireConfig's from TireTypes's (using asset registry) and PhysicalMaterials, and updates any VehicleWheel BPs
Change 3183351 on 2016/11/02 by Ben.Zeigler
Add utility functions to convert from export text versions of tag and container, which is useful when reading tags out of the asset registry
Change 3183354 on 2016/11/02 by Ben.Zeigler
Change fortnite to use new GameplayTag functions to parse tags in the asset registry to avoid bad stall while checking mission requirements. This only works once the mission infos have been resaved
Change 3183383 on 2016/11/02 by Thomas.Sarkanen
Persona camera fixes
Dont reset the camera all the time when setting skeletal meshes (we only do this the first time now).
Add shortcuts to focus the camera using 'F' key from the skeleton tree (or anywhere else that wants to). Also add a menu option to the viewport to make this more discoverable.
Shortcut is now handles by the viewport widget instead of the client (as this is how other viewports handle it).
#jira UE-36458 - Stop camera from resetting when doing undo or redo in persona animation editor
Change 3183409 on 2016/11/02 by Jon.Nabozny
#rn Allow MAX_ARRAY_SIZE and MAX_ARRAY_MEMORY from RepLayout to be user configurable.
#jira UE-35660
Change 3183625 on 2016/11/02 by James.Golding
Hopeful fix for Mac CIS issue in PhysXVehiclesEditor
Change 3183652 on 2016/11/02 by Ben.Zeigler
Fix issue where commonly replicated tags didn't work if load from ini was turned off.
Fix it so gameplay tag tree is always fully sorted alphabetically, instead of only the root tags being sorted.
Change 3183856 on 2016/11/02 by Richard.Hinckley
#jira UEDOC-4006
Editing GameMode and GameState documentation (in Framework branch).
Change 3183902 on 2016/11/02 by Mieszko.Zielinski
Fixed EQS debug drawing not showing item labels #UE4
Proper implementation of CL#3183899
#jira UE-38122
Change 3183996 on 2016/11/02 by Jon.Nabozny
Fix DefaultMaxRepArrayMemory value to be UINT16_MAX (65535). Was previously set to 64 * 1024 = 65536.
Change 3184129 on 2016/11/02 by Ben.Zeigler
#jira UE-38022 Move GameplayAbilities to a plugin.
Remove GameplayAbilitiesEditorEnabled ini setting, instead enable the "GameplayAbilities" plugin in your uproject if you want abilities, it's disabled by default
#jira UE-6947 Remove GameplayAbilityBlueprintGeneratedClass as it's not needed and was only being used half the time
#jira UE-19427 Fix incorrect usage of WorldContextObject in ability tasks to instead be OwningAbility, as it would crash if used on anything other than a gameplay ability object
Change 3184130 on 2016/11/02 by Ben.Zeigler
Internal game fixups for moving gameplayabilities to a plugin
Change 3184469 on 2016/11/02 by Ben.Zeigler
Change abilities plugin to be more obviously unsupported
Change 3184565 on 2016/11/02 by dan.reynolds
AEOverview update with HRTF test map
Change 3184800 on 2016/11/03 by Thomas.Sarkanen
Added "Show Selected and Parents" to bone display options
Also fixed mis-named menu section.
#jira UE-35375 - Add 'selected bone and parents' option to Persona viewport
Change 3184810 on 2016/11/03 by James.Golding
Remove WoflPlat PhysX 3.3 and Apex 1.3 files
Change 3184817 on 2016/11/03 by Thomas.Sarkanen
Added facial animation support
Added curve table to sound wave (internal or external). Added UI support for manipulating these.
Improved curve table editor.
- Editor can now display curves as well as tables.
- Sparse keys are now properly supported (where keys are not presnet at some times in some curves).
Added curve source interface.
Added external curve node. This allows any component or actor (BP or native) that implements ICurveSourceInterface to drive curves.
Added new audio component that can also provide curves. This handles the preroll delay (approx 0.4 seconds, depending on audio) so the mouth can open before audio is played.
Added bulk importer plugin.
This imports audio & FBX files and builds cuirve data into SoundWave assets.
- Adapted exisitng FBX curve import slightly to use FRichCurves rather than FFloatCurves.
- Added new support for importing curves to a curve table.
Added preview of audio to Persona.
- Added display, filtering and playback of sound waves from the anim sequence browser.
- Audio playback with curves routed to animation now works with anim blueprints and pose assets (as we need a pose asset to preview poses!)
- Persona now uses an Actor rather than disparate components.
- Added overrides for AddComponent and RemoveComponent to make sure actor is hooked up correctly.
- Preview scene can now be manipulated by plugins etc. using a delegate when it is created.
- Single anim instance has been slightly re-worked to do its update and evaluate logic inside of a local anim node. This allows derived classes to build functionality up component-wise by adding new nodes to the 'graph'.
#jira UEFW-7 - Routing Sound Curves to AnimBP
#jira UEFW-5 - Support importing curves
#jira UE-37950 - Spawn preview actor in animation editor
Change 3184837 on 2016/11/03 by James.Golding
PR #2896: Fix FVehicleAnimInstanceProxy::PreUpdate not calling FFAnimInstanceProxy's PreUpdate (Contributed by DenizPiri)
#jira UE-37978
Change 3184847 on 2016/11/03 by Thomas.Sarkanen
Fixed editor shutdown crash
Dont try to save config when UObjects are all gone.
Change 3184853 on 2016/11/03 by James.Golding
Stop Engine module linking against PhysX vehicle lib, link that into PhysXVehicles plugin instead.
Change 3184884 on 2016/11/03 by Thomas.Sarkanen
Anim Blueprint thread safety is now checked in the compiler
Added new metadata keys for classes and functions to describe their thread safety.
Added extra warnings in the anim BP compiler based around these new keys to help people catch suspect thread usage.
Expanded the compiler erorr reporting to allow for extra rich message tokens to be appended (for documentation etc.).
Improved BP error reporting: Now we display the actual node name instead of CallFunction_0 etc.
CVar forcing multithreaded update is now defaulted to off. Projects now by default enable it but can more easily opt-out.
#doc Added link to new section of AnimGraph page, which may benefit from images etc.
#jira UE-28283 - Look into expanding the system to determine what nodes we allow to run on worker threads.
Change 3184886 on 2016/11/03 by Thomas.Sarkanen
Content fixes for anim BP thread safety warnings
Ocean:
Random Float node is unsafe (uses rand() unde rthe hood) so replaced with Random Stream.
Odin:
Flying Bot accessed the character blueprint inside some transitions. Cached the value in the event graph instead.
Fortnite:
Disable threaded update for a number of anim BPs as they were using unsafe calls when using CopyPoseFromMesh
Change 3184894 on 2016/11/03 by Thomas.Sarkanen
Fix Mac CIS
Change 3184951 on 2016/11/03 by Thomas.Sarkanen
Fix CIS warning on clang platforms
Change 3185176 on 2016/11/03 by James.Golding
Hopeful fix for building PhysXVehicles plugin for mac
Change 3185289 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - Updating the Gameplay Tags UI to allow for the following:
-Addition of a tag with comments and a specific INI location
-An "Add Subtag" button that will allow the user to create a tag underneath a specified parent that autofills most of the information (parent name and location) for the new tag
-A dropdown menu to allow for additional actions to be performed on a tag (rename, delete, search for references)
-Comments for gameplay tags now show up in the tooltip forthe tag rather than the tag name if one had been specified
-Shows a tree in the Project Settings window when viewing the gameplay tag list instead of an array
Change 3185331 on 2016/11/03 by Marc.Audy
Remove duplicated condition from if
Change 3185426 on 2016/11/03 by James.Golding
Another attempt at fixing mac builds of PhysXVehicles plugin
Change 3185487 on 2016/11/03 by James.Golding
- Remove TireType assets from templates/sample, add TireConfigs instead
- Make deprecated vehicle vars visible (but not editable), to help converting content
- Change icon for PhysX vehicle plugin
Change 3185520 on 2016/11/03 by James.Golding
Trying yet again to fix Mac CIS!
Change 3185542 on 2016/11/03 by Ben.Zeigler
#jira UE-34086
Commit modified version of PR #2665 to allow overriding crouch behavior in subclasses of CharacterMovementComponent
#jira UE-35652
Fix crouch behavior to not change capsule until after uncroach check, to avoid causing unnecessary physics side effects
Also had to set the TeleportPhysics flag in this case, so add code to remember if a teleport was attempted during a deferred movement, and then apply that flag during EndScopedMovementUpdate
Change 3185570 on 2016/11/03 by Marc.Audy
Protect against theoretical crash introduced in CL# 2049861 if CreatePackage returns null.
Remove some autos
Change 3185749 on 2016/11/03 by dan.reynolds
AEOverview test map addition: testing Virtual Voice
Change 3185946 on 2016/11/03 by dan.reynolds
AEOverview tweaks - clarified success conditions for Streaming Spam and Streaming Priority maps
Change 3185972 on 2016/11/03 by Lina.Halper
Fix issue with offset of attachment getting messed up because parent doesn't tick the animation correctly when opening level from Content Browser
#jira: UE-31890
#code review: Thomas.Sarkanen
Change 3186043 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - Fixing some of the gameplay tags UI based on feedback
-Right-aligned input fields for the AddNewGameplayTag and RenameGameplayTag widgets
-Added a divider to the GameplayTag widget that will appear when the AddNewGameplayTag widget is visible
-Tags with comments will now display both their name and their comment in tooltips
Change 3186207 on 2016/11/03 by Alex.Delesky
#jira UE-37773 - The Gameplay Tags widget in the project browser will no longer display the disabled checkboxes and disabled text for the tag names
Change 3186321 on 2016/11/03 by Dan.Reynolds
Removed deprecated test asset (BP_ProceduralSoundWaveTest)
Change 3186740 on 2016/11/04 by Thomas.Sarkanen
Removed FPersona and supporting classes
Also removed UMorphTarget's asset type actions (as it was nearly empty and we dont use them as assets any more).
#jira UEFW-222 - Remove FPersona
Change 3186741 on 2016/11/04 by Thomas.Sarkanen
Fix non-unity builds
Change 3186755 on 2016/11/04 by Thomas.Sarkanen
Prevent adding keys to read-only curves in curve tables
Lock off the shift-LMB shortcut to add keys
#jira UE-38210 - Crash trying to add a key to a curve table in curve view
Change 3186798 on 2016/11/04 by James.Golding
UE-37503 - Add FHitResult output to K2_LineTraceComponent
Change 3186800 on 2016/11/04 by James.Golding
- Remove deprecated collision functions in KismetSystemLibrary
- Remove _NEW from collision function names, add redirectors
- Add debug draw options (TraceColor, TraceHitColor, DrawTime) to shape traces, to match line traces (UE-35941)
Change 3186989 on 2016/11/04 by James.Golding
Fix CIS fail in Fortnte
Change 3187081 on 2016/11/04 by Wes.Hunt
EngineAnalytics::Shutdown now checks to see if the Analytics pointer is null OR unique before ensuring. #jira UE-38125
Change 3187135 on 2016/11/04 by Jurre.deBaare
Fix for incorrect framework version in blendspace serialization code.
Change 3187682 on 2016/11/04 by Ben.Zeigler
#jira UE-38289 Fix crash when replicated tag array is empty
Change 3188113 on 2016/11/05 by Mieszko.Zielinski
Removed a bunch of deprecated AI module functions #UE4
Cut-off point at v4.10
Change 3188119 on 2016/11/05 by Mieszko.Zielinski
Deprecated AI functionality removal fallout fixes #UE4
Change 3188121 on 2016/11/05 by Mieszko.Zielinski
PR #2883: Added a Cone EQS Generator (Contributed by orfeasel)
Did some massaging on change.
#jira UE-37685
Change 3188122 on 2016/11/05 by Mieszko.Zielinski
Bumped EnvQueryGenerator_Cone.AlignedPointsDistance's default value up to 100, which makes a bit more sense #UE4
Change 3188442 on 2016/11/07 by James.Golding
Check in trace debug draw test map
Change 3188463 on 2016/11/07 by james.cobbett
Submitting Pose Snapshot test map and asset
Change 3188618 on 2016/11/07 by Thomas.Sarkanen
Expanded pose snapshot system
Allows poses to be stored in variables.
Split FPoseSnapshot from FAnimInstanceProxy and made it a BlueprintType USTRUCT.
Added modes to FAnimNode_PoseSnapshot so that we can either use the named pose or a FPoseSnapshot variable pin.
Moved pose snapshot code into USkeletalMeshComponent as it doesnt need to be on the proxy any more.
#jira UEFW-242 - Caching poses to a Blueprint variable (and an anim node to use it with)
Change 3188619 on 2016/11/07 by Thomas.Sarkanen
Moved "NoResetToDefaults" to the correct metadata section in ObjectMacros.h
Change 3188642 on 2016/11/07 by Thomas.Sarkanen
Added new test for pose variables
Change 3188716 on 2016/11/07 by Ben.Zeigler
#jira UE-38294 Fix bad error message when adding new DefaultGameplayTags.ini file
Change 3189020 on 2016/11/07 by dan.reynolds
Added a test map for Audio Volume Ambient Zone test for Play Sound at Location
AVOverviewAZPlaySoundAtLocation
Change 3189188 on 2016/11/07 by Jon.Nabozny
Fix edge cases / alternate IPv6 formats in IPAddressBSDIPv6::SetIp.
#jira UE-36607
Change 3189199 on 2016/11/07 by Jon.Nabozny
Flag UActorComponent, USceneComponent, and UPrimitiveComponent UFUNCTIONS as UnsafeDuringActorConstruction="true" if they
modify unreplicated properties, require use of the PhysScene, or otherwise indicate poor design.
#jira UE-33038
Change 3189271 on 2016/11/07 by Aaron.McLeran
UEFW-224 Refectoring UnrealEd code to move all audio related editing code to a new AudioEditor module
- Fixups for removals
- Several bug fixes for sound classes
Change 3189450 on 2016/11/07 by Aaron.McLeran
Fixes for facial animation playback progress
- Creating a per-source PlaybackTime which can be used to get a fairly accurate playback percentage function for all platforms.
- Allowing platforms to override to get a "sample accurate" playback time for platforms that are able.
Change 3189507 on 2016/11/07 by Wes.Hunt
* Deprecated GetUniqueDeviceId. Use GetDeviceId now instead. #jira AN-820
* Added warnings to each implementation of GetDeviceId as to what API it uses, and what cert requirements may be placed on it.
* Deprecated all platform independent usages of GetMacAddress and related functions. #jira AN-820 #jira AN-802
* Deprecated GetMachineId. Use GetLoginId now instead. #jira AN-811
* Update usages of MachineID throughout CrashReporter code. Left MachineId and LoginId as available attributes.
* Removed LocalPlayer requirement for setting the Analytics UserId in internal products. Removed fallbacks for seting UserId for internal products. #jira AN-814 #jira AN-808
* Removed GetUniqueDeviceId code from LauncherInstaller.
* Removed redundant MachineID and AccountID from Editor.ProgramStarted analytics event.
* Removed DeviceID from SessionStart analytics event.
#FYI: justin.sargent, Chris.Wood, Wes.Fudala
* Justin, reminder that FPortalRpcResponderFactory::Create will need to start using GetLoginID instead of MacAddress for IPC identifiers.
* Chris, look over CRP code to ensure that I didn't destroy some vital bit of necessary connection with the MachineId->LoginId name change. Both values are used, and for now, they both return the same thing.
* Wes, we didn't need GetUnqiueDeviceId attribute in BeginSession, as no one ever uses it, so I just removed it.
Change 3190032 on 2016/11/08 by Wes.Hunt
Fix a few places I forgot to deprecate regarding GetMacAddress.
Change 3190107 on 2016/11/08 by Wes.Hunt
Another attempt to remove deprecation warning in CIS. Apparently removing the warning for a const string initialized via a consrtuctor with a deprecated function is somewhat tricky. Still not sure why it works on my machine either way.
Change 3190326 on 2016/11/08 by Aaron.McLeran
Fixing CIS build warning
Change 3190495 on 2016/11/08 by Jon.Nabozny
Fix OSSNull server / session filtering to better match SessionSettings and online OSS. Make MCP, Steam, and Null LAN queries more consistent.
#jira UE-37512
Change 3190566 on 2016/11/08 by Martin.Wilson
Remove warning on Least Destructive (was incorrectly applied to least destructive due to legacy reasons)
#jira UE-27323
Change 3190631 on 2016/11/08 by Martin.Wilson
Fix notify validation not triggering when using set time/set frame context menu options
#jira UE-37857
Change 3190666 on 2016/11/08 by Martin.Wilson
Add info about anim instance to additive warning
#jira UE-35930
Change 3191290 on 2016/11/09 by Thomas.Sarkanen
Fix skeleton tree selection disappearing when filtering changes
Note: Copying //Tasks/UE4/Dev-UEFW132-PhATUpgrade to Dev-Framework (//UE4/Dev-Framework)
Split SSkeletonTree into multiple files
Items now derive from the common base class ISkeletonTreeItem.
New skeleton tree item RTTI added modlled on the drag/drop RTTI.
Filtering is now performed independently of tree building. Filtering and building are more extensible (more of this to come).
Item selection is now preserved on filter change.
Filtering now (optionally) keeps the hierarchy in place.
#jira UE-31017 - Skeleton Selection is Lost When Changing Filters
Change 3191325 on 2016/11/09 by Thomas.Sarkanen
Fix clang CIS
Change 3191344 on 2016/11/09 by Thomas.Sarkanen
More clang CIS fixes
Change 3191345 on 2016/11/09 by Thomas.Sarkanen
CIS fix: Missed another enum fwd declaration
Change 3191374 on 2016/11/09 by Thomas.Sarkanen
Remove 4.11 deprecated functions from animation systems
Also deprecate NativeUpdateAnimation_WorkerThread as users should no longer be calling this function (it is not run on worker threads anyways).
#jira UE-35748 - Clean up 4.11 Deprecated functions
Change 3191375 on 2016/11/09 by Thomas.Sarkanen
Fixup Orion hero instance after deprecation
Change 3191739 on 2016/11/09 by Marc.Audy
PhysX Vehicle plugin needs to be loaded with -game as well, so it must be Developer, not Editor.
Change 3191827 on 2016/11/09 by Marc.Audy
Raw Input plugin allowing support of steering wheels and flightsticks
#jira UEFW-237
Change 3191828 on 2016/11/09 by Ben.Zeigler
#jira UE-38384 Comment cleanup for gameplay tag library
Change 3191889 on 2016/11/09 by Ben.Zeigler
#jira UE-38294 Fix issues with trying to set not-yet-written settings files as writable and add them to source control
If a settings file does not yet exist on disk, also try adding to source control after writing it
Change 3191911 on 2016/11/09 by Marc.Audy
Enable raw input plugin and configure for use with the Logitech G920 all vehicle templates and vehicle game.
#jira UEFW-237
Change 3191915 on 2016/11/09 by Marc.Audy
Provide useful tooltips for raw input setting properties
#jira UEFW-237
Change 3192039 on 2016/11/09 by dan.reynolds
AEOverview Update
- Added a map for checking multi-channel file playback: AEOverviewMultichannel.umap
- Incorporated AVOverviewAZPlaySoundAtLocation test into the AEOverviewMain submap list temporarily for testing purposes
Change 3192059 on 2016/11/09 by Martin.Wilson
Fix montage thumbnail rendering with ref pose
#jira UE-35578
Change 3192065 on 2016/11/09 by Martin.Wilson
Widen bone reference widget to give a better view of the name and added full name to tooltip
#jira UE-36264
Change 3192217 on 2016/11/09 by Martin.Wilson
Auto selected current bone when opening bone reference tree
#Jira UE-36264
Change 3192332 on 2016/11/09 by Marc.Audy
Fix RawInput compiling when WITH_EDITOR is false
#jira UE-38433
Change 3193061 on 2016/11/10 by Thomas.Sarkanen
Marked facial animation plugin & component as experimental/beta
Change 3193072 on 2016/11/10 by Martin.Wilson
Correct reference skeleton fix up order
Change 3193112 on 2016/11/10 by Danny.Bouimad
Pesudo hair asset usintphat for testing
Change 3193243 on 2016/11/10 by Martin.Wilson
Fix removal of USkeleton bone tree entries
#Jira UE-37363
Change 3193249 on 2016/11/10 by Marc.Audy
Raw input compile fixes:
Fix additional not with_editor compile issues
Fix static analysis warnings
#jira UE-38433
Change 3193558 on 2016/11/10 by Martin.Wilson
Move "Number of Curves" label creation to attribute so that it updates dynamically
#jira UE-26767
Change 3193664 on 2016/11/10 by Marc.Audy
PR #2919: Fixed Comment Typo in ActorComponent.cpp (Contributed by KumaKing)
#jira UE-38436
Change 3193719 on 2016/11/10 by Lukasz.Furman
fixed vertical jitter in replicated NavWalking movement
#jira UE-33260
Change 3193802 on 2016/11/10 by Marc.Audy
Remove some autos, fix NULL to nullptr, call GetWorld just once
Change 3193809 on 2016/11/10 by Marc.Audy
Fix Mac CIS compile error
#jira UE-38501
Change 3194053 on 2016/11/10 by Aaron.McLeran
Fixed crash on shutdown when using audio mixer
- Switching audio mixer to use a runnable thread rather than async tasks
- Fixed issue where audio buffers weren't taking ownership of wave data
Change 3194057 on 2016/11/10 by Aaron.McLeran
Adjusting channel mapping code to better support standard down-mixing for 2D multi-channel files.
- Added support for 8 channel source files.
Change 3194070 on 2016/11/10 by Aaron.McLeran
Fixing stupid compile error
Change 3194779 on 2016/11/11 by Jon.Nabozny
Fixed UnsafeDuringActorConstruction tag on USceneComponent::GetPhysicsVolume.
Missed the '=true' portion.
Change 3194967 on 2016/11/11 by Mieszko.Zielinski
PR #2920: Bug Fix: fix pasting Behavior Tree nodes with decorators in wrong position (Contributed by BrettKercher)
#jira UE-38443
#jira UE-30906
Change 3195741 on 2016/11/11 by Ben.Zeigler
#UE-38539 Stop Orion from reinitializing it's native tag dictionary when reloading menu, this was just slow before but now ensures
Change 3196655 on 2016/11/14 by Marc.Audy
Remove pointless remove/adds from Odin DefaultEngine.ini.
This also fixes the duplicate redirector of AnimNode_WheelHandler as the version in BaseEngine.ini has been changed where it points to
#jira UE-38562
Change 3196678 on 2016/11/14 by Lukasz.Furman
pass on gameplay debugger's EQS category
copy of CL# 3195071, 3195152, 3196617 with local fixes
Change 3196700 on 2016/11/14 by Ben.Zeigler
#jira UE-38539 Move where orion tags are initialized to earlier in the startup for all loading flows
Change 3196719 on 2016/11/14 by Thomas.Sarkanen
Added extra output to anim BP compiler when a blueprint function call is used
This allows us to give more info to users when unsafe things (like blueprint functions) are used.
Change 3196799 on 2016/11/14 by Jurre.deBaare
Fix for blendspace tooltip crash
#fix Check before dereferencing animation ptr on samples :)
Change 3196971 on 2016/11/14 by Lukasz.Furman
replaced hardcoded value for pathfollowing's focal point distance with a parameter
#ue4
Change 3196994 on 2016/11/14 by Marc.Audy
Slightly improve performance of boolean check
Change 3197768 on 2016/11/14 by dan.reynolds
AEOverview Stage 2 WIP
- Added Command Line auto sub-level loading (-AELoadMap=MapName01,MapName02,etc.) or sub-level categories auto loading (-AELoadCat=AE,SC,STRM,AV,etc.)
- Added Categorization menu to Main staging map to help sorting maps by category
- Changed menu to be dynamically loaded from editable Data Structure Arrays, so all the menu information is loaded dynamically.
Change 3197782 on 2016/11/14 by dan.reynolds
AEOverview Stage 2 WIP - fixed misnamed sub-level reference, cleaned up some of the BP
Change 3197801 on 2016/11/14 by dan.reynolds
AEOverviewMain Stage 2 WIP:
- Added Select All Buttom to select all loaded menu items
Change 3197988 on 2016/11/15 by Thomas.Sarkanen
Add the ability to use incompatible meshes with snapshots
We now use a name-based mapping to copy local poses to the correct bones in the hierarchy, similar to CopyPoseFromMesh.
No access to UObjects (components or meshes) is performed on worker threads. Bone names are all cached on the game thread when needed and used on worker threads.
#jira UE-38413 - Pose snapshot cannot be used across meshes with different hierarchies
Change 3198062 on 2016/11/15 by Thomas.Sarkanen
Disabled threaded update on various anim blueprints to remove cook warnings
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198071 on 2016/11/15 by Thomas.Sarkanen
Fix default values not being available to change post anim BP compilation
Make sure we re-select with force refresh on so the details panel is rebuilt even if the objects are the same (as the customization relies upon it).
#jira UE-38518 - Animation Blueprint: Default values cannot be changed after compiling if node is currently selected
Change 3198082 on 2016/11/15 by Jurre.deBaare
CRASH If the Vertical Axis of a blendspace is set to 0 segments when an animation is on the blendspace the editor crashes
#fix UI and ClampMin to 1
#jira UE-38587
Change 3198138 on 2016/11/15 by Thomas.Sarkanen
Expose montage functions to Blueprint
Made sure to flag appropriate functions as not thread safe.
Also const-corrected a few functions that should be.
Github #2918: Blueprint Callable Montage Set/Get Position
#jira UE-38391 - GitHub 2918 : Blueprint Callable Montage Set/Get Position
Change 3198141 on 2016/11/15 by Jurre.deBaare
Crash from generated Merged Actor with no created lightmap UV
#fix Always flag UV channel 0 to be occupied
#jira UE-38520
Change 3198420 on 2016/11/15 by Thomas.Sarkanen
Move thread-safety check flags to the UAnimBlueprint
Then have the compiler propogate the flags to the CDO. Prevents issues where the old CDO wasnt propgated during compile-on-load.
Also move blueprint usage warning flag into the UAnimBlueprint too, as these suffer from the same issues.
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198485 on 2016/11/15 by Thomas.Sarkanen
Properly fix compile-on-load/cook warnings about anim blueprint thread safety
Content only re-save.
#jira UE-38537 - Cooking FortniteGame results in warnings
Change 3198622 on 2016/11/15 by Ben.Zeigler
#jira UE-38632 Fix blueprint warning, was calling SetActive from construction script which is no longer allowed. This was being used for an editor-only debug feature
[CL 3198987 by Marc Audy in Main branch]
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2967465 on 2016/05/05 by Marc.Audy
Fix VS2015 shadow variables fixes
Change 2970637 on 2016/05/09 by Martin.Wilson
Fix incorrect conflict resolve in merge from main
Change 2976393 on 2016/05/12 by Zak.Middleton
#ue4 - Set AudioComponent bUseAttachParentBounds=true to reduce cost of transform updates (avoids virtual CalcBounds() when transform changes).
#tests PIE w/ audio
Change 2976770 on 2016/05/13 by Lina.Halper
Improvement on mirroring fix branch
#code review: Zak.Middleton
Change 2976774 on 2016/05/13 by Lukasz.Furman
fixed missing memory callbacks for instanced behavior tree nodes
#jira UE-30305
Change 2976775 on 2016/05/13 by Lukasz.Furman
fixed multiple calls to behavior tree's instance cleanup
#jira UE-30593
Change 2976801 on 2016/05/13 by Jon.Nabozny
Add an optional argument FSkeletalMeshMerge. When set to EMeshBufferAccess::ForceCPUAndGPU, keeps a reference to the vertex buffer on CPU (e.g. for spawning particle effects).
#JIRA UE-30405
Change 2976985 on 2016/05/13 by Jon.Nabozny
Fix initializer list ordering for FSkeletalMeshMerge.
Change 2977532 on 2016/05/13 by Marc.Audy
PR #2348: [Local Multiplayer] Gamepad player assignment improvements (Contributed by kukiric)
#jira UE-30162
Change 2977637 on 2016/05/13 by Marc.Audy
Add Get/Set controller ID for a player in gameplay statics
#jira UE-28718
Change 2979387 on 2016/05/16 by Jon.Nabozny
Initialize FBox used to store results for CalculateQuatACF96Bounds.
#JIRA UE-30846
Change 2979968 on 2016/05/17 by bruce.nesbit
Added comment in FCanvasLineItem to warn only SE_BLEND_Opaque will be used when rendering.
Change 2979969 on 2016/05/17 by bruce.nesbit
Added comment in AddLine/AddPoint to warn only SE_BLEND_Opaque will be used when rendering.
Change 2980271 on 2016/05/17 by Lina.Halper
Improved comment
#code review: Benn.Gallagher
Change 2980317 on 2016/05/17 by Lukasz.Furman
removing NavCollision from static mesh on property change and PostLoad if static mesh is not supposed to have one
#ue4
Change 2980717 on 2016/05/17 by Zak.Middleton
#ue4 - Optimize UCapsuleComponent::CalcBounds() to remove sqrt and use tighter bounding sphere radius.
Change 2981193 on 2016/05/17 by Lukasz.Furman
fixed missing observers in behavior tree when dynamic subtree is changed while waiting for full restart (out of nodes)
#ue4
Change 2981927 on 2016/05/18 by Lina.Halper
- Remove vertex animation code
- Removing UVertexAnimation
- Fixed reinitialization issue that was triggered by SetVertexAnimation
- todo: consolidate UMorphtarget and UVertexAnimBase
#code review: James.Golding, Martin.Wilson
Change 2981957 on 2016/05/18 by Lina.Halper
Add recursive stack check on update animation
#code review: Martin.Wilson
Change 2982116 on 2016/05/18 by Benn.Gallagher
Removed optimize macros accidentally left after bounds extension feature for skel meshes
Change 2982255 on 2016/05/18 by Jon.Nabozny
FSkeletalMeshMerge constructor "MeshBufferAccess" default should be EMeshBufferAccess:Default instead of EMeshBufferAccess::ForceCPUAndGPU.
Change 2982607 on 2016/05/18 by Marc.Audy
Cleanup places calling GetWorld() multiple times
Change 2982621 on 2016/05/18 by Marc.Audy
Make UActorComponent::GetWorld final and inlined to avoid unnecessary function calls
Put uncached logic in to a separate function
Change 2983424 on 2016/05/19 by Marc.Audy
Minor tweaks to reduce GetWorld calls
Change 2983465 on 2016/05/19 by Lina.Halper
Combine VertexAnimBase and MorphTarget to just MorphTarget
- VertexAnimBase is gone
- Modified most of VertexAnim to MorphTarget
- Removed state, time related data
#code review: James.Golding, Rolando.Caloca
Change 2983609 on 2016/05/19 by Marc.Audy
Inline AActor::GetLevel
Half GetWorld() calls from AActor::GetNetMode()
Change 2983772 on 2016/05/19 by Marc.Audy
Fix Mac compile
Change 2983931 on 2016/05/19 by Marc.Audy
Remove pointless AccelMouse function
Change 2984061 on 2016/05/19 by Marc.Audy
Reorg some headers to fix compilation issues
Change 2984409 on 2016/05/19 by Aaron.McLeran
#jira UE-31049 Updating the Oculus Audio SDK to vs 1.02
Implementing 2984316 from Releases/4.12 to Dev-Framework
Change 2984574 on 2016/05/19 by Aaron.McLeran
Fix for platform headroom scalar. Using correct dB to linear formula (not one for power)
dB = 20 * log(Linear), not dB = 10 * log(Linear)
Change 2985041 on 2016/05/20 by Jon.Nabozny
ConvertQueryOverlap only returns the base actor if multiple actors have bSimulatePhysics enabled and are welded together.
#JIRA UE-30484
Change 2985118 on 2016/05/20 by Marc.Audy
Another attempt to convince Mac to build
Change 2985192 on 2016/05/20 by Marc.Audy
Properly forward declare ABrush
Change 2985724 on 2016/05/20 by Zak.Middleton
#ue4 - Optimize NaN and Infinite checks for FVector, FQuat, FRotator, FMatrix, FTransform. SIMD version VectorContainsNaNOrInfinite() also optimized on relevant platforms. Added startup tests for VectorContainsNaNOrInfinite().
- All our "ContainsNaN()" tests are in fact "IsNaN() || IsInfinite()", which is the same as "!IsFinite()", so exploited this to simplify the tests. Both NaN and +/-Inf are not finite (http://en.cppreference.com/w/cpp/numeric/math/isfinite). In the future we should rename ContainsNaN().
- Still need to audit some uses in shipping configs.
#jira UE-30999
Change 2986016 on 2016/05/20 by Zak.Middleton
#ue4 - Fix uint32 used for int32 values. Behavior was unaffected.
Change 2986017 on 2016/05/20 by Zak.Middleton
#ue4 - Fix overlaps being dropped from within a FScopedMoveUpdate when rotation occurs. Remove invalid assert.
Change 2986833 on 2016/05/23 by Zak.Middleton
#ue4 - Move ETeleportType from ActorComponent.h to EngineTypes.h. Add comment to FHitResult for ImpactPoint when it's penetrating.
Change 2986916 on 2016/05/23 by Rolando.Caloca
DF - GPU morph targets proof of concept
- Disabled by default
- Not compatible with gpu skin cache
- No extra memory required yet until it's used; creates buffers per frame (very slow!)
Change 2987539 on 2016/05/23 by Rolando.Caloca
DF - Remove unused member and downgrade FActiveMorphTarget to not be a USTRUCT
Change 2987981 on 2016/05/24 by James.Golding
PR #2162 : Exported AAudioVolume so that projects can derive custom classes.
https://github.com/EpicGames/UnrealEngine/pull/2162
#github 2162
#jira UE-28533
Change 2987982 on 2016/05/24 by James.Golding
PR #2318 : Fix memory allocation in CustomMeshComponent.cpp
https://github.com/EpicGames/UnrealEngine/pull/2318
#github 2318
#jira UE-29864
Change 2987983 on 2016/05/24 by James.Golding
Merging engine changes back from GDC demo:
- Export FFIRFilterTimeBased from Engine module
- Add FFIRFilterTimeBased::SetWindowDuration
- Add FBaseCompactPose::CopyBonesTo
Change 2987984 on 2016/05/24 by James.Golding
UE-30137 No longer include collision in StatiMeshComponent bounds (bounds no longer user for any collision calculation)
Change 2987985 on 2016/05/24 by James.Golding
UE-27801 Export ConvertToCollisionChannel, ConvertToObjectType, and ConvertToTraceType members of UCollisionProfile
Change 2987987 on 2016/05/24 by James.Golding
OR-17910 : Support 'show collision' in Test configuration
Change 2988123 on 2016/05/24 by Jon.Nabozny
Prevent FBodyInstance::Weld causing duplicate PhsyXShapes to be created / added to ShapeToBodiesMap when toggling SimulatePhysics on PrimitiveComponent.
#JIRA UE-31189
Change 2988449 on 2016/05/24 by Rolando.Caloca
DF - Split FActiveMorphTarget's weight into its own array in prep for GPU friendly data
Change 2988485 on 2016/05/24 by Jon.Nabozny
Swap order of setRigidBodyFlag and setRigidDynamicFlag inside UpdateInstanceSimulatePhysics to prevent PhysX error about Kinematic bodies not using CCD.
#JIRA UE-30993
Change 2988969 on 2016/05/24 by Rolando.Caloca
DF - GPU morph targets
- Enable using r.MorphTarget.Mode 1
Change 2989645 on 2016/05/25 by Marc.Audy
Apply CL# 2989481 to Dev-Framework
#jira UE-31055
Change 2989987 on 2016/05/25 by Wes.Hunt
Redo of CL#2982707 2982716 2982723 2983780 2983864 from //Orion/Dev-General in preparation for continuing Analytics refactor in a Dev branch.
AnalyticsET support for arbitrary Json events.
* AnalyticsET supports a new API, RecordEventJson.
* API supports rvalue refs to avoid unnecessary copies of the attribute array.
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2982707 by Wes.Hunt on 2016/05/18 17:22:20.
Remove Analytics code to divert legacy code to source data collector.
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2982716 by Wes.Hunt on 2016/05/18 17:27:25.
Analytics no longer adds IsEditor attribute to all events. Wasn't actually used by anyone anymore.
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2982723 by Wes.Hunt on 2016/05/18 17:29:40.
Modernize FAnalyticsEventAttribute usage.
Replaced FAnalyticsEventAttribute various ctors with a perfect forwarding one that can convert them to strings.
* The Name must be convertible to a string
* The value must be convertible to a string via an AnalyticsConversion::ToString() overload.
* Added/expanded the supported conversions to strings to analytics attribute values. See AnalyticsConversion.h which contains all the previously supported conversions and more.
Added MakeAnalyticsEventAttributeArray(), which uses variadic templates to create an array of event attributes inline, which can be passed to RecordEvent[Json] and efficiently taken ownership of:
RecordEvent("EventName", MakeAnalyticsEventAttributeArray(
"Attr1", false,
"Attr2", 42.0,
"Attr3", SomeMap,
"Attr4", SomeArray);
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2983780 by Wes.Hunt on 2016/05/19 13:51:48.
Added missing assignment copy/move ops to FAnalyticsEventAttribute. Doh, should have looked at more usages of PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS...
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2983864 by Wes.Hunt on 2016/05/19 14:17:05.
Change 2989988 on 2016/05/25 by Wes.Hunt
Fix usage of FAnalyticsEventAttribute constructor using a bitfield that was invalidated by the change to make FAnalyticsEventAttribute use a perfect forwarding constructor. bitfields cannot be perfect-forwarded... :(
Change 2990493 on 2016/05/25 by Joe.Graf
Added tooltips to the collision analyzer's buttons
#CodeReview: james.golding
Change 2991064 on 2016/05/26 by James.Golding
- Remove many Animation headers from Engine.h
- Remove AnimationAsset.h from SkeletalMeshComponent.h, Character.h, CharacterMovementComponent.h
Change 2991113 on 2016/05/26 by Benn.Gallagher
Fixed edge case in random sequence player where we might trigger an extra loop when waiting on a blend to finish. And made it impossible for a shuffle list to start with the animation that is currently playing (seemingly duplicating the anim).
Change 2991163 on 2016/05/26 by Rolando.Caloca
DF - Rename and refactor some morph target compute shader in prep for interop with skin cache
Change 2991167 on 2016/05/26 by Jon.Nabozny
Add `#include "DataTable.h"` to GameplayTagsManager.h. FGameplayTagTableRow is derived from FTableRowBase which isn't necessarily included. This issue is hidden in most cases as "Engine.h" includes "DataTable.h".
Change 2991183 on 2016/05/26 by Wes.Hunt
Disable general forwarding constructor for AnalyticsEventAttribute for non arithmetic types, so they are free to choose other overloads more appropriately.
Change 2991199 on 2016/05/26 by Wes.Hunt
Drastically reducing the headers dependencies on analytics headers. Analytics headers no longer appear in PCH files, and rarely if ever appear in a header file.
IAnalyticsProviderModule.h only touches 8 source files.
Analytics.h only touches 8 source files.
IAnalyticsProvider.h only touches 5 headers and 97 source files.
AnalyticsET.h only touches 12 source files.
Change 2991301 on 2016/05/26 by James.Golding
Fix CIS for Fortnite
Change 2991319 on 2016/05/26 by James.Golding
Fix CIS for Orion
Change 2991373 on 2016/05/26 by Joe.Graf
Tweaked the tooltip text for the collision analyzer record button to be correct for both states
Added a common button style so that the buttons have a consistent look
#CodeReview: james.golding
Change 2991401 on 2016/05/26 by James.Golding
Fix UT CIS
Change 2991406 on 2016/05/26 by James.Golding
Fix Ocean CIS
Change 2991491 on 2016/05/26 by Lina.Halper
Moved MorphTarget.h
- Checked in modified functions fo AnimationRuntime for other features coming up
- Should not change any behavior of existing content
#code review: James.Golding, Rolando.Caloca
Change 2991494 on 2016/05/26 by Wes.Hunt
Fix for Unity error in AnalyticsET module after hedaer dependency reduction
Change 2991503 on 2016/05/26 by Jon.Nabozny
Fix issue where FConstraintInstance (inside UPhysicsConstraintComponent) is not editable in InstanceEditor but is editable in BlueprintEditor.
#JIRA UE-31267
Change 2991562 on 2016/05/26 by Zak.Middleton
#ue4 - Reduce allocations during movement and overlap queries and when grabbing shapes from physx actors.
Change 2991586 on 2016/05/26 by James.Golding
More CIS fixes for Orion and Fortnite
Change 2991673 on 2016/05/26 by Wes.Hunt
Another non-unity fix for Analytics include dependency reduction.
Change 2991733 on 2016/05/26 by Zak.Middleton
#dev - Test map, 50 walking dudes.
Change 2991781 on 2016/05/26 by Lina.Halper
Back out revision 15 from //UE4/Dev-Framework/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp
- Back out a part of changes that I didn't mean to check in.
Change 2991922 on 2016/05/26 by Zak.Middleton
#ue4 - Maybe fix Mac build.
Change 2991957 on 2016/05/26 by Joe.Graf
Fixed the collision analyzer file open text (said project instead of collision)
Change 2991991 on 2016/05/26 by Lina.Halper
Fix compile error
Change 2992089 on 2016/05/26 by Zak.Middleton
#ue4 - Fix Mac/PS4 build.
Change 2992108 on 2016/05/26 by Wes.Hunt
Yet another non-unity fix for Analytics header inclusion reduction.
Change 2992190 on 2016/05/26 by Zak.Middleton
#ue4 - Mark FHitResult, FOverlapResult, FOverlapInfo as POD types. Avoids destructors etc when in TArrays.
Change 2992593 on 2016/05/27 by Martin.Wilson
Build fixes for non editor platforms
Change 2992885 on 2016/05/27 by Rolando.Caloca
DF - Fix crash on thumbnails
#jira UE-31398
Change 2993058 on 2016/05/27 by Lukasz.Furman
fixed behavior tree getting stuck on ResumeLogic call
#jira OR-22498
Change 2993064 on 2016/05/27 by Zak.Middleton
#ue4 - Fix root motion network corrections not clearing root motion data.
udn: https://udn.unrealengine.com/questions/294985/jittering-in-character-movement-during-networked-m.html
#jira UE-31316
Change 2993215 on 2016/05/27 by Lukasz.Furman
gameplay debugger fixes: navmesh rendering is not hidden after disabling tool, player stuck in spectator mode after disabling tool, confusing version description for categories without data packs
added replicated input bindings for debugger's categories
#ue4
Change 2993521 on 2016/05/27 by Zak.Middleton
#ue4 - Reduce allocations in UI Canvas items.
Change 2993995 on 2016/05/30 by Mieszko.Zielinski
Temporary fix for BBKeySelector not handling properly multiple UObject subtypes #UE4
#jira UE-31435
Change 2993998 on 2016/05/30 by Mieszko.Zielinski
Improves handling of a special case in EQS score normalization, where all items have the same score #UE4
We used to set the normalized score of 1 for all items, which was counter intuitive if all items have scored 0 in an unnormalized test. The improve handling detects that and assigns score of 0 in that case.
Change 2993999 on 2016/05/30 by Mieszko.Zielinski
Fixed FEQSParametrizedQueryExecutionRequest converting non-BB values into EQS params wrong #UE4
Change 2994000 on 2016/05/30 by Mieszko.Zielinski
Exposed UNavigationInvokerComponent as part of ENGINE_API so that it can be spawned procedurally in C++ in game specific code #UE4
Change 2994003 on 2016/05/30 by Mieszko.Zielinski
Fixed naming of console variable controllin v-logging of FGameplayAttribute #UE4
The old name was copy-pasted from somewhere.
Change 2994007 on 2016/05/30 by Mieszko.Zielinski
Fixed unregistering listeners from perception system not clearing up all data #UE4
Also, introduced two precisely named functions, GetCurrentlyPerceivedActors and GetKnownPerceivedActors to replace ambiguous GetPerceivedActors
Also, renamed UAIPerceptionComponent::TActorPerceptionContainer to UAIPerceptionComponent::FActorPerceptionContainer
Change 2994475 on 2016/05/31 by Wes.Hunt
Fix Unity build failure for analytics inclusion reduction for IOSFlurry.
[CL 2994701 by Marc Audy in Main branch]
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2718441 on 2015/10/06 by Ben.Marsh@Ben.Marsh_T3245_Stream
Allow nodes to be added with an "explicit" frequency, meaning that they'll only be part of manually triggered builds (not CIS).
Change 2718698 on 2015/10/06 by Ben.Marsh@Ben.Marsh_T3245_Stream
Add a type of node that can execute an arbitrary sequence of tasks, and allow constructing graphs of such nodes from an XML file.
Change 2723013 on 2015/10/09 by Ben.Marsh@Ben.Marsh_T3245_Stream
Small utility to quickly capture a workspace, or delete files to restore the workspace to a previously captured state (and output a p4 sync list to restore it)
Change 2744521 on 2015/10/28 by Matthew.Griffin@Matthew.Griffin_G5772_BuildStream
Adding config entries to determine which platforms/configurations are available
Currently only written out as part of the Rocket Build process but could be done elsewhere for other types of installed build.
A near identical singleton class is used in both C++ and C# to load the config section and check whether configuration/platform combinations are valid.
Change 2773723 on 2015/11/19 by Ben.Marsh@Ben.Marsh_T3245_Stream
Copying UnrealGameSync into Engine/Source/Programs.
Change 2773914 on 2015/11/19 by Ben.Marsh@Ben.Marsh_T3245_Stream
PR #1687: [GitDependencies] New feature: ignore file support (.gitdepsignore) (Contributed by nbjk667)
Change 2775317 on 2015/11/20 by Ben.Marsh@Ben.Marsh_T3245_Stream
Add a -listtps option to UBT, which will find all the TPS files in any directory that's compiled into a target.
Change 2780832 on 2015/11/25 by Ben.Marsh@Ben.Marsh_T3245_Stream
Allow compiling a single file in UBT. Pass -singlefile=<Path> on command line to UBT to use.
Change 2781071 on 2015/11/25 by Ben.Marsh@Ben.Marsh_T3245_Stream
Precompile all valid engine modules for Rocket by default. Modules may set the PrecompileForTargets field to control which configurations they should be compiled for. Modules which currently fail to compile have this set to
PrecompileTargetsType.None.
#codereview Matthew.Griffin
Change 2784469 on 2015/12/01 by Matthew.Griffin@Matthew.Griffin_G5772_BuildStream
Added -FastPDB commandline parameter for UBT, so that we can make use of the /DEBUG:FASTLINK option in VS2015
Change 2784722 on 2015/12/01 by Matthew.Griffin@Matthew.Griffin_G5772_BuildStream
Made -FastPDB option part of BuildConfiguration instead of checking commandline at each place it's used. Also added option to override if someone doesn't want it automatically added to their project files.
Change 2787501 on 2015/12/02 by Ben.Marsh@Ben.Marsh_T3245_Stream
Restore change to gather VC environment directly from registry.
#lockdown Nick.Penwarden
[CL 2790002 by Ben Marsh in Main branch]