Commit Graph

208 Commits

Author SHA1 Message Date
zach bethel
c176b233da Renamed CopyTextureWithTransitions to TransitionAndCopyTexture.
#preflight 6287ddfe8828ea88c8701eea

[CL 20303093 by zach bethel in ue5-main branch]
2022-05-20 17:14:41 -04:00
zach bethel
2156756315 Replaced use of CopyToResolveTarget with CopyTexture.
#preflight 627a90ff7e5f24d1edd73422
#rb luke.thatcher, jason.hoerner

[CL 20127337 by zach bethel in ue5-main branch]
2022-05-10 14:47:34 -04:00
julien stjean
a9e644d68a Made the deletion of an asset remove the public flag from the object.
This fix a crash when deleting asset that was already supposed to be deleted.

#jira UE-150963
#preflight 6272e0001f37fd32b0fcb42e
#lockdown simon.tourangeau

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 20058369 in //UE5/Release-5.0/... via CL 20063470
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20066388 by julien stjean in ue5-main branch]
2022-05-05 18:44:10 -04:00
Matt Peters
7ad238a806 AssetRegistry includes (Engine/Source): change #include "AssetData.h" -> #include "AssetRegistry/AssetData.h", and similar for the other moved AssetRegistry headers.
#rb Zousar.Shaker
#rnx
#preflight 6270509a220f89f0ad573030

[CL 20016982 by Matt Peters in ue5-main branch]
2022-05-02 18:06:48 -04:00
SRombauts
491959d872 PlasticSCM: Fix "Delete" operation not getting called for source control other than Perforce (Contributed by SRombauts)
#9097
#jira UE-149325
#rb Brooke.Hubert
#preflight 626fe781645c64f3a2427b00

[CL 20008400 by SRombauts in ue5-main branch]
2022-05-02 10:33:34 -04:00
Patrick Enfedaque
d31019c9e9 - FLinkerInstancingContext: Add Tag support
- Use FLinkerInstancingContext Tag to load all external actors instead of using a global map

#rb richard.malo, jeanfrancois.dube, francis.hurteau
#preflight 624aea29c51908059ae6b82f
#rnx

[CL 19607995 by Patrick Enfedaque in ue5-main branch]
2022-04-04 09:31:43 -04:00
johan torp
816c3861ca Fix ForceReplaceReferences nulling out references
#rb robert.manuszewski,jamie.dale,francis.hureteau
#rnx
#preflight 6244036fb33098a72db70ea8

#ROBOMERGE-AUTHOR: johan.torp
#ROBOMERGE-SOURCE: CL 19554514 via CL 19554523 via CL 19554525 via CL 19554528
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561380 by johan torp in ue5-main branch]
2022-03-30 14:36:20 -04:00
johan torp
5c2624134d Optimize AssetTools AdvancedCopyPackages and add batch versions of ForceReplaceReferences and ConsolidateObjects
331s -> 0.28s to consolidate objects when cloning a small shooting range map

#rb Robert.Manuszewski,Chris.Gagnon,Francis.Hurteau,Jamie.Dale,JeanLuc.Corenthin,Phillip.Kavan

#ROBOMERGE-AUTHOR: johan.torp
#ROBOMERGE-SOURCE: CL 19507095 via CL 19507103 via CL 19507108 via CL 19507110
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19514683 by johan torp in ue5-main branch]
2022-03-25 12:41:16 -04:00
scott nelson
d33b4a0d71 Update create and duplicate behavior in Content Browser for Public/Private state
- API to control default behavior of whether newly created content is made public or private on creation
- Ensure duplication copies original's Public/Private state

#rb Francis.Hurteau
#preflight 623b6f07da56b5683a0b56a4

#ROBOMERGE-OWNER: scott.nelson
#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 19485709 via CL 19487498 via CL 19498786 via CL 19498791
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19501393 by scott nelson in ue5-main branch]
2022-03-24 15:44:12 -04:00
brooke hubert
1d49f1a525 Fix an issue where a deleted in-memory asset would be surfaced as a dirty package by editor file utilities
#preflight 6230f69f6d230f4cc8ec6c51
#rb jamie.dale francis.hurteau

#ROBOMERGE-AUTHOR: brooke.hubert
#ROBOMERGE-SOURCE: CL 19404797 via CL 19405529 via CL 19408997 via CL 19419674 via CL 19419735
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19420592 by brooke hubert in ue5-main branch]
2022-03-17 10:30:15 -04:00
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