Commit Graph

1944 Commits

Author SHA1 Message Date
lauren barnes
867c4cb06b Removing early out based on bShowProjectMenus and changing it to a condition for adding menu entries, because other sections rely on FileProject
#rb trivial
#preflight 62781131b80e5aae6006212b

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20099085 via CL 20099214 via CL 20099221 via CL 20099224
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20108493 by lauren barnes in ue5-main branch]
2022-05-09 15:09:20 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
Richard Wallis
b5cb8e21f9 Fix material dual source blending on macOS and enable the feature in DataDrivenPlatformInfo.ini. Add dual source blending slot index to pixel shader MRT defination when MATERIAL_WORKS_WITH_DUAL_SOURCE_COLOR_BLENDING is defined and dual source blending is enabled.
#jira UE-120222
#review-20077471 @will.damon, @graham.wihlidal, @charles.derousiers
#preflight https://horde.devtools.epicgames.com/job/62753d03d8373707f21611ce
#rb will.damon,  graham.wihlidal,  charles.derousiers

[CL 20101478 by Richard Wallis in ue5-main branch]
2022-05-09 08:52:49 -04:00
Zousar Shaker
15446b0f6e Expand the IterativeClassAllowList to include SoundCue, StaticMesh, and MaterialInstanceConstant (and commonly co-packaged classes). For further testing with hybrid iterative cooking.
#rb none
#fyi matt.peters
#rnx
#preflight skip,NotTestedByPreflight

[CL 20054893 by Zousar Shaker in ue5-main branch]
2022-05-05 00:29:02 -04:00
Josh Adams
c582f62496 - Disabling USD plugins in cooked editors (monolithic) which fail to compile due to some USE_USD mismatches
#rb none
#preflight skip

[CL 20052455 by Josh Adams in ue5-main branch]
2022-05-04 19:09:49 -04:00
tim doerries
691425e0f6 Fix for typo in URectLightComponent::SetSourceTexture() and URectLightComponent::SetSourceWidth()
#jira UE-150437
#rb kevin.ortegren
#rnx
#preflight 62729aece95a8b960ebac04e

[CL 20043050 by tim doerries in ue5-main branch]
2022-05-04 12:05:55 -04:00
benjamin rouveyrol
602a4611c1 Remove bSupportsGPUSkinCache from FGenericDataDrivenShaderPlatformInfo since all platforms now support it.
This is now replaced by r.SkinCache.Allow (default to true) in case users still want to disable it and claim the memory back

#jira UE-149155
#preflight 627290287b6d0faffa6fc8b4
#rb Wojciech.Krywult Brian.White

[CL 20042354 by benjamin rouveyrol in ue5-main branch]
2022-05-04 11:21:14 -04:00
Arciel Rekman
a4c47ed766 Expose r.Shaders.ExtraData in ConsoleVariables.ini
#rb none
#jira none
#preflight none

[CL 20037592 by Arciel Rekman in ue5-main branch]
2022-05-03 23:32:01 -04:00
Devin Doucette
8dcdcbe09f DDC: Improved file system cache store maintenance
- Added deletion of empty directories.
- Applied the rate limit to directory scans.
- Reduced the default scan rate by a factor of 10.

#preflight 626c3a8b0f5f22f922511514
#rb Zousar.Shaker

[CL 19984889 by Devin Doucette in ue5-main branch]
2022-04-29 16:18:09 -04:00
Matt Peters
18fcec9be9 Reenable BulkDataRegistry. Handling of BulkDatas with duplicate Guids has been fixed, and AssetDataGather has been optimized sufficiently that BulkDataRegistry queries do not block on it in startup.
#rb None, Trivial
#rnx
#preflight 626bcf455c220f34acde0e62

[CL 19976752 by Matt Peters in ue5-main branch]
2022-04-29 07:48:15 -04:00
jack porter
9af2dc36dd Disable Vulkan selection for Android 9 Adreno devices due to crashes with older drivers
#jira UE-149057
#rb Dmitriy.Dyomin
#preflight None (Android ini change)
#lockdown Rolando.Caloca

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 19959832 in //UE5/Release-5.0/... via CL 19961228
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971536 by jack porter in ue5-main branch]
2022-04-28 18:49:21 -04:00
paul chipchase
39df9e9755 The debug option for validating payloads after pushing them to storage is now a commandline & console option rather than a config file option.
#rb Per.Larsson
#rnx
#jira UE-148223
#preflight 6267c4e2853fdb6fddb20be3

- Remove the Core.ContentVirtualizationDebugOptions section from the ini files entirely.
- Remove the ::ApplyDebugSettingsFromConfigFiles method as we no longer load any debug values from the config files.

[CL 19923780 by paul chipchase in ue5-main branch]
2022-04-26 13:20:05 -04:00
Zousar Shaker
43d60acdf7 Rename Zen DDC graph nodes to avoid using the "Local" node name. Also removed one debug graph that isn't used.
#rb none
#rnx
#preflight skip,NotTestedByPreflight
#fyi devin.doucette, danny.couture

[CL 19911133 by Zousar Shaker in ue5-main branch]
2022-04-25 18:57:22 -04:00
tim smith
ab6f014b6d Fix UBT configuration reading code to read the editor per project user setting from the corrected saved file location.
This resolves a UBT issue where building from Visual Studio/Rider while the editor is running wouldn't automatically change to HotReload mode.
#preflight 626698887e06ec75059f44b8
#jira none
#rb Ben.Marsh, Jonathan.Adamczewski
#lockdown mark.lintott

#ROBOMERGE-AUTHOR: tim.smith
#ROBOMERGE-SOURCE: CL 19901402 in //UE5/Release-5.0/... via CL 19902726
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v942-19904256)

[CL 19904470 by tim smith in ue5-main branch]
2022-04-25 12:47:17 -04:00
paul chipchase
d9c1990291 The debug setting to run virtualization in single threaded mode is now access from the commandline via '-VA-SingleThreaded' or the console via 'VA.SingleThreaded' and no longer by the config file system.
#rb Per.Larsson
#jira UE-148223
#rnx
#preflight 62666fc90634d0904cca8756

- It was probably a bad idea to have debug settings like this applied from the config file as it would be fairly easy for people to accidently forget about them or submit them.
- The single threaded command can now be set via the commandline on start up using the '-VA-XXX' synctax that the system has started to adopt.
- Additionally it has been exposed as a console command so that it can be toggles on and off at runtime.
- Removed 'ForceSingleThreaded' from BaseEngine.ini and removed the parsing code for this from FVirtualizationManager::ApplyDebugSettingsFromConfigFiles.
- Removed 'FailPayloadPullOperations' from BaseEngine.ini, it hasn't been a valid setting for a while.
- Changed ConsoleCommands to ConsoleObjects and use it to store the base class IConsoleObject instead so it can contain console variables
- When pushing payloads we now only take the singlethreaded lock after checking if we have any backends/are enabled.

[CL 19900622 by paul chipchase in ue5-main branch]
2022-04-25 08:14:36 -04:00
graham wihlidal
9b68f6b766 Fully remove Nanite and Virtual Shadow Map SM5 vendor extension, lockbuffer hack, and DX11 support from UE5
#rb brian.karis
#fyi rune.stubbe, andrew.lauritzen, jamie.hayes, christopher.waters, michal.valient
#preflight 62606513dd47b4ad2180ff27

[CL 19841303 by graham wihlidal in ue5-main branch]
2022-04-20 19:29:19 -04:00
Helge Mathee
1475be6205 RigVM: Change inheritance order - make UnitNode inherit from TemplateNode
Also implement a way to register external / auxiliary templates to the registry + unit test

#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/625847a0946114248dbaa7d9

[CL 19806894 by Helge Mathee in ue5-main branch]
2022-04-19 08:39:16 -04:00
douglasjose
a76d51fe56 PR #9092 - fix spelling of "continuous" in the Blueprint node "AI > Tasks > Move To Location or Actor" (and elsewhere). Thank you for the submission, douglasjose!
https://github.com/EpicGames/UnrealEngine/pull/9092


#jira UE-149320
#preflight 625da0d0b21bb49791c4a531
#rb lauren.barnes
#fyi martin.sevigny

[CL 19790872 by douglasjose in ue5-main branch]
2022-04-18 14:30:53 -04:00
dave jones2
0bbbdd9b30 UE-145287 - Deprecate Make Literal Double node
Instead of having two float-related literal nodes, we should only have one. The single-precision variant needs to be deprecated in favor of the double-precision one.

#rb benjamin.fox
#preflight 6255f7ee9741b87f66b6b069
#jira UE-145287

[CL 19757056 by dave jones2 in ue5-main branch]
2022-04-14 10:59:58 -04:00
Leon Huang
55f9f49684 Localization conflict reports can now be output as .csv files.
- Introduced EConflictReportFormat to determine the output format of the conflicts report.
- Updated the localization .ini files to specify the requested output format.
#jira: UE-143696
#rb: Jamie.Dale, Vincent.Gauthier
#preflight: 62573db00b7c7f0f38c6405b

[CL 19746764 by Leon Huang in ue5-main branch]
2022-04-13 18:08:19 -04:00
dave jones2
654ce91c0e Build fix for Lyra: forgot a property redirect for a renamed parameter, which was caused by CL 19726070.
Additionally, added a missing 5.1 section for redirects.

#rb trivial
#jira none
#preflight none

[CL 19728645 by dave jones2 in ue5-main branch]
2022-04-12 16:43:05 -04:00
dave jones2
c45795f9fe UE-141180 - Loss of precision with String to Float Real conversion
We neglected to redirect Conv_FloatToText nodes to Conv_DoubleToText, which was causing loss of precision when formatting text. However, this revealed another issue with the format text node.

Since the format text node uses wildcards, it needs a sorting priority of Low_UsesDependentWildcard. Otherwise, linked inputs won't be updated before we sync the node's pins. For example, we might be linked to a Conv_FloatToText node that hasn't yet been converted to a Conv_DoubleToText node. As a result, the format text node will use a single precision float input for the connected conversion node instead of a double.

Another issue is that the format text node is marked as causing a structural Blueprint change. The current sorting function prioritizes that over its refresh priority. Fortunately, we don't need to concern ourselves with structural modification if we're compiling on load, which is when we really need the refresh priority to work as expected.

Finally, K2Node_EnumEquality node needs to have its knot dependencies updated prior to reconstruction. Otherwise, it might fail to find a valid UEnum, and disconnect its inputs. Since knot nodes already have this logic built in, we can just force a type propagation on any linked knots.

#jira UE-141180
#preflight 6255c2ed153828d27337753f
#rb Phillip.Kavan

[CL 19726070 by dave jones2 in ue5-main branch]
2022-04-12 14:41:25 -04:00
danny couture
85c88cff7e Async Streamed Sounds Compilation in Editor
- Make FStreamedAudioCacheDerivedDataWorker thread-safe by copying USoundWave members before going async and querying the DDC directly for compressed sound data
  - Failure to get streamed chunks from DDC will now try to build asynchronously if allowed to instead of falling back to synchronous behavior by default
  - Make LoadZerothChunk launch an async build in editor instead of forcing a wait
  - GetNumChunks(), GetChunks() and GetZerothChunkData() will wait on the async build if not finished to return appropriate data to the caller
  - Allow DDC fill commandlet to benefit from async build
  - Improve cooker logic to reduce waits and avoid preparation of the running platform data during cook if not needed
  - Add async sound compiler so that we benefit from its scheduling and ensure sounds are all properly built after a call to FAssetCompilingManager::Get().FinishAllCompilations().
  - Protect the streamed audio platform data's AsyncTask property from multi-threaded access

  - Can be disabled from editor experimental settings, by ini settings, by cmdline using -asyncsoundwavecompilation=0 or by CVar using Editor.AsyncSoundWaveCompilation=0

  - Benchmarks with -DDC-Local-MissTypes=Audio+StreamedAudio on Artemis_Terrain
    - 3m52s to 2m03s for map loading
    - 8m13s to 2m59s for PIE

#tests
   - No binary diff on FN cooked sounds with both recompilation and shared ddc code paths
   - All Audio related tests in EngineTest
   - As many AudioQA tests as possible
   - Lyra -game

#jira UE-142500
#rb Phil.Popp
#preflight 624ee0703661c8f04a3842b8

[CL 19667776 by danny couture in ue5-main branch]
2022-04-07 09:19:30 -04:00
Brandon Schaefer
f12b7e8aaf Use Build.bat/sh as a wrapper for UBT as we want to setup the dotnet bundled version vs depending on the system
#jira none
#rb none
#fyi Josh.Adams, Jonathan.Adamczewski
#preflight none

[CL 19654646 by Brandon Schaefer in ue5-main branch]
2022-04-06 16:14:44 -04:00
guillaume abadie
05cbe82085 Implements FGenericDataDrivenShaderPlatformInfo::GetSupportsRealTypes
#rb rolando.caloca
#preflight 624b0188e434babd8a3213fc

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19646722 via CL 19646819 via CL 19646890
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19651116 by guillaume abadie in ue5-main branch]
2022-04-06 13:43:51 -04:00