Commit Graph

198 Commits

Author SHA1 Message Date
Jason Nadro
dcd55e3f15 Fix Game Thread and Render Thread access issues when performing shader compilation using FMaterial.
- SubmitCompileJobs was assumed to be render thread only.  Make this explicit in the function name and add a render thread check.
- Add SubmitCompileJobs_GameThread to perform shader compilation submitted from the Game Thread safe.
- Keep a ref to a GameThreadPendingCompilerEnvironment because the one on the GameThreadShaderMap goes away after we clone.
- Add render thread check to GetRuntimeVirtualTextureOutputAttibuteMask_RenderThread
- Move simple enum types from ShaderCompiler.h to ShaderCompilerCore.h so we can access EShaderCompileJobPriority in MaterialShared.h
- Fixup incorrect usage SubmitCompileJobs that was submitted from the Game Thread using the Render Thread maps.

#rb Ben.Ingram
#jira none
#preflight 6216879fdb60b6b592f1d97f

[CL 19098715 by Jason Nadro in ue5-main branch]
2022-02-23 14:59:45 -05:00
danny couture
c537b3bedc Fix GatherObjectReferencersForDeletion that could prevent deletion in the case of external references with multi-level indirection that can actually be GCed
Add basic unittest for GatherObjectReferencersForDeletion to validate the fix
  - Slight regression in performance due to more processing required to walk up the referer chain
  - 1.2s to 8.8s to press delete on all (In use by level) assets in QAGame / DM-Deck
  - Editor.UseLegacyGetReferencersForDeletion = 1 takes 1m22s for the same result

#rb Francis.Hurteau, JeanFrancois.Dube
#preflight 61e6aea47f0c4b5aad5bd100

#ROBOMERGE-AUTHOR: danny.couture
#ROBOMERGE-SOURCE: CL 18806995 in //UE5/Release-5.0/... via CL 18808631 via CL 18822211
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822507 by danny couture in ue5-main branch]
2022-02-02 02:47:47 -05:00
phillip kavan
5884dab83c Fix a reference replacement oversight during object consolidation to a duplicated Blueprint asset that could lead to an editor crash in some situations.
Also pull changes from CL 15794345 (initial fix for MH-3535) into the UE5 engine stream.

#jira MH-3535, MH-4936
#rb Marc.Audy
[FYI] Robert.Manuszewski
#preflight 61f43ddde52a8a4a91c894be

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 18792496 in //UE5/Release-5.0/... via CL 18792577 via CL 18793476
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18793822 by phillip kavan in ue5-main branch]
2022-01-31 13:57:09 -05:00
patrick enfedaque
e53cc4aa19 ContentBrowser: Better support for Delete/Copy/Rename operations on World Partition worlds
- FScopedLoadAllExternalObjects object that can be used to force the loading of all external actors of a WP world to allow those operations to succeed. (for larger worlds commandlet should be used)
- ContentBrowser operation like: Delete, Duplicate, Rename, Move, Copy use this new scope
- World Partition worlds are no longer loaded on right-click context menu.
- Note: change was done with explicit scopes to only address specific use cases and limit the impact of this CL. It could become a default behavior in later versions.

#jira UE-140032, UE-114002

#rb richard.malo, jeanfrancois.dube, rex.hill
#preflight 61f2b479800734b52da816b4

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18753910 in //UE5/Release-5.0/... via CL 18753926 via CL 18756993
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18757308 by patrick enfedaque in ue5-main branch]
2022-01-27 14:11:04 -05:00
jason nadro
98110ce322 Ensure that all compilation has been submitted when querying attempting to render a thumbnail for that material.
- This is important when running with "compile what you use" ODSC in the editor.

#rb trivial
#preflight 61f2ab73866a315f0a313740

#ROBOMERGE-AUTHOR: jason.nadro
#ROBOMERGE-SOURCE: CL 18753295 in //UE5/Release-5.0/... via CL 18753317 via CL 18756876
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18757149 by jason nadro in ue5-main branch]
2022-01-27 14:07:31 -05:00
francis hurteau
5714cca54f Reduced runtime UPackage size from 176b to 144b or 120b when stripping deprecated properties
This should saves around ~1.5 Mb to ~3 Mb at runtime with ~50000 packages

Added a new core define UE_STRIP_DEPRECATED_PROPERTIES that could be used to wrap deprecated properties and strip them to regain memory when a projects becomes compliant. this can be set in the project target file
Deprecated most public properties from UPackage and created accessors for them

#rb PJ.Kack
#jira UE-138957
#preflight 61f17a6f7266f4e79bd62601

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 18738937 in //UE5/Release-5.0/... via CL 18739524 via CL 18741373
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18742135 by francis hurteau in ue5-main branch]
2022-01-26 15:00:04 -05:00
marc audy
6553e6cd0a Remove as much C++ deprecation as possible up to 4.17 (along with a few scattered removals from beyond)
#preflight 61eefc77ba69a4fdb220bf23

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18712765 in //UE5/Release-5.0/... via CL 18712784 via CL 18713147
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18713191 by marc audy in ue5-main branch]
2022-01-24 15:07:48 -05:00
julien stjean
4a97154fce Added a log line to get more info of a crash during a force delete of assets.
#jira UE-122267
#rb Brooke.Hubert
#preflight 61ee947c5e0414e6ec152962

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18707185 in //UE5/Release-5.0/... via CL 18707187 via CL 18707258
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18707262 by julien stjean in ue5-main branch]
2022-01-24 07:25:17 -05:00
thomas sarkanen
5b1bda5cb8 Fixed not being able to place cooked anim BPs in level viewports
Turns off some high-level class checks that only let AActor, ABrush and AVolumes be place-able prior to this change
Exports target skeleton asset registry tag for the anim BP class so that it can be subsequently used by factory methods
Modifies actor factory to also interrogate anim BP generated classes for relevant spawn data

#jira UE-115948 - Cooked Animation Blueprint can't be placed into the Level Viewport.
#rb Jamie.Dale,Keith.Yerex

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18465876 in //UE5/Release-5.0/... via CL 18465887
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18465902 by thomas sarkanen in ue5-release-engine-test branch]
2021-12-15 04:57:42 -05:00
benoit deschenes
893dc558dd Allow for ExternalSource Uri selection in DatasmithScene asset property.
#jira UETOOL-4618
Johan.Duparc
#rb Johan.Duparc
#preflight 61b11c8e5c61dba07bffc1fa

#ROBOMERGE-AUTHOR: benoit.deschenes
#ROBOMERGE-SOURCE: CL 18412448 in //UE5/Release-5.0/... via CL 18412459
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18412479 by benoit deschenes in ue5-release-engine-test branch]
2021-12-08 16:29:38 -05:00
jon nabozny
cdc65f654f Reland: Fixes motion blur lengths when using time dilation
#rb josie.yang
#lockdown michal.valient
#preflight 614a44526c96990001c47143

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 17606608 via CL 17962735 via CL 18364937 via CL 18364960
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18365023 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 23:53:56 -05:00
jon nabozny
9693ad4915 Undo //UE5/Private-Frosty/Engine/... changelist 17586431
#lockdown michal.valient
#preflight revert for build breakage

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 17587410 via CL 17948832 via CL 18364580 via CL 18364616
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18364712 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 23:34:52 -05:00
jon nabozny
c418c40de0 Fixes motion blur lengths when using time dilation
#rb josie.yang
#lockdown michal.valient
#preflight 614a1e3259380f0001888d92

#ROBOMERGE-OWNER: jon.nabozny
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 17586431 via CL 17948712 via CL 18364381 via CL 18364522
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18364604 by jon nabozny in ue5-release-engine-test branch]
2021-12-02 23:30:35 -05:00
marc audy
a598bd7bad FArchiveReplaceObjectRef (and subclasses) now pass parameters via flags enum rather than long list of bools
FArchiveReplaceObjectRefBase no longer tracks replaced references by default. GetReferencedResources will ensure if archiver was not run with TrackReplacedReferences.
#rb Michael.Noland
#preflight 61a7c89c1a368fd6038f4b79

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18343619 in //UE5/Release-5.0/... via CL 18343639
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18343679 by marc audy in ue5-release-engine-test branch]
2021-12-01 15:20:47 -05:00
julien stjean
3dbf2f5314 Making a rename that only change the case of an asset work properly.
It work only for the assets that aren't source controlled.

#jira UE-120816
#rb Jamie.Dale
#preflight 61a45606361aa0b85b158e5a

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18306364 in //UE5/Release-5.0/... via CL 18306382
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18306384 by julien stjean in ue5-release-engine-test branch]
2021-11-28 23:47:49 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
luc eygasier
0fdbd6daf8 Fix Actors made writable not deleted on disk when Source Control is enabled.
#rb JeanFrancois.Dube

#changelist validated

#ROBOMERGE-SOURCE: CL 17124518 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17124528 by luc eygasier in ue5-release-engine-test branch]
2021-08-10 17:05:27 -04:00
aurel cordonnier
25a11deeac Merge from Release-Engine-Staging @ 16579919
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576

[CL 16581170 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-07 20:09:45 -04:00
Marc Audy
e80ea6b959 Merge from Release-Engine-Staging @ 16444985
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526

[CL 16445122 by Marc Audy in ue5-release-engine-test branch]
2021-05-25 02:43:26 -04:00
Marc Audy
f02d489290 Update Release-Engine-Test from Release-Engine-Staging @ 16264272
[CL 16264458 by Marc Audy in ue5-release-engine-test branch]
2021-05-11 01:10:20 -04:00
danny couture
59059a0521 Remove strong reference to staticmesh in DistanceField/MeshCards and let them be cancelled on GC instead
TESTS
  Retested UE-96400
  Retested UE-102883
  Run WorldPartitionConversion on Apollo_Terrain

#rb Francis.Hurteau
#preflight 609118a48b14da0001dd1ae4

[CL 16191911 by danny couture in ue5-main branch]
2021-05-04 06:59:43 -04:00
matt kuhlenschmidt
6a0971a864 Reversed decision to hide old UE4 thumbnails when loading in UE5. The UE4 thumbnail will remain until the package is loaded and resaved
#ROBOMERGE-SOURCE: CL 15878156 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15878181 by matt kuhlenschmidt in ue5-main branch]
2021-03-31 13:28:11 -04:00