Commit Graph

719 Commits

Author SHA1 Message Date
robert manuszewski
9bfc805d98 Fixing non-unity build
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20434539 via CL 20435531 via CL 20435614
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448541 by robert manuszewski in ue5-main branch]
2022-06-01 03:48:09 -04:00
robert manuszewski
d1443992e1 Deprecating ANY_PACKAGE.
This change consists of multiple changes:

Core:
- Deprecation of ANY_PACKAGE macro. Added ANY_PACKAGE_DEPRECATED macro which can still be used for backwards compatibility purposes (only used in CoreUObject)
- Deprecation of StaticFindObjectFast* functions that take bAnyPackage parameter
- Added UStruct::GetStructPathName function that returns FTopLevelAssetPath representing the path name (package + object FName, super quick compared to UObject::GetPathName) + wrapper UClass::GetClassPathName to make it look better when used with UClasses
- Added (Static)FindFirstObject* functions that find a first object given its Name (no Outer). These functions are used in places I consider valid to do global UObject (UClass) lookups like parsing command line parameters / checking for unique object names
- Added static UClass::TryFindType function which serves a similar purpose as FindFirstObject however it's going to throw a warning (with a callstack / maybe ensure in the future?) if short class name is provided. This function is used  in places that used to use short class names but now should have been converted to use path names to catch any potential regressions and or edge cases I missed.
- Added static UClass::TryConvertShortNameToPathName utility function
- Added static UClass::TryFixShortClassNameExportPath utility function
- Object text export paths will now also include class path (Texture2D'/Game/Textures/Grass.Grass' -> /Script/Engine.Texture2D'/Game/Textures/Grass.Grass')
- All places that manually generated object export paths for objects will now use FObjectPropertyBase::GetExportPath
- Added a new startup test that checks for short type names in UClass/FProperty MetaData values

AssetRegistry:
- Deprecated any member variables (FAssetData / FARFilter) or functions that use FNames to represent class names and replaced them with FTopLevelAssetPath
- Added new member variables and new function overloads that use FTopLevelAssetPath to represent class names
- This also applies to a few other modules' APIs to match AssetRegistry changes

Everything else:
- Updated code that used ANY_PACKAGE (depending on the use case) to use FindObject(nullptr, PathToObject), UClass::TryFindType (used when path name is expected, warns if it's a short name) or FindFirstObject (usually for finding types based on user input but there's been a few legitimate use cases not related to user input)
- Updated code that used AssetRegistry API to use FTopLevelAssetPaths and USomeClass::StaticClass()->GetClassPathName() instead of GetFName()
- Updated meta data and hardcoded FindObject(ANY_PACKAGE, "EEnumNameOrClassName") calls to use path names

#jira UE-99463
#rb many.people
[FYI] Marcus.Wassmer
#preflight 629248ec2256738f75de9b32

#codereviewnumbers 20320742, 20320791, 20320799, 20320756, 20320809, 20320830, 20320840, 20320846, 20320851, 20320863, 20320780, 20320765, 20320876, 20320786

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20430220 via CL 20433854 via CL 20435474 via CL 20435484
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448496 by robert manuszewski in ue5-main branch]
2022-06-01 03:46:59 -04:00
ludovic chabant
a793deed70 Sequencer: Lazy-create the linker for the camera animation sub-system.
This simplifies debugging since we have less linkers being created in simple test levels.

#rb max.chen

#ROBOMERGE-AUTHOR: ludovic.chabant
#ROBOMERGE-SOURCE: CL 20370424 via CL 20370435 via CL 20370452
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20371903 by ludovic chabant in ue5-main branch]
2022-05-25 17:37:36 -04:00
Matt Hoffman
48958d8469 MoviePipeline: Fixed log spam caused by querying GPU info every frame.
#jira None
#preflight 628e5cde82597362d1029321

[CL 20367500 by Matt Hoffman in ue5-main branch]
2022-05-25 13:12:31 -04:00
Andrew Rodham
b016c0d736 Changed template sequence actors to use asynchronous updates
#jira none
#rb Ludovic.Chabant
#preflight 628e4edb731cfa46fcc444c9

[CL 20366137 by Andrew Rodham in ue5-main branch]
2022-05-25 12:02:48 -04:00
Max Chen
0167d4ea0f Sequencer: MVVM2 branch and Layer Bars
Copying //Tasks/UE5/Dev-SequencerMVVM2 to Main (//UE5/Main) @20364093

#preflight 628866dfb94f739b152c1e29
#preflight 628866e4585e8f793ee80943
#rb ludovic.chabant, andrew.rodham
#fyi ludovic.chabant, andrew.rodham, andrew.porter
#jira UE-105322

[CL 20364493 by Max Chen in ue5-main branch]
2022-05-25 10:39:33 -04:00
chris kulla
2b51d212f3 MRQ: Post-processed output is not accumulated properly when using the path tracer
#rb Matt.Hoffman
#preflight 628d3b155c3ef99a7b4079d4

[CL 20356438 by chris kulla in ue5-main branch]
2022-05-24 17:38:08 -04:00
max chen
7f38066285 Sequencer/Valkyrie: Apply asset filters to asset pickers and drag and drop.
A private asset in a plugin can be seen and drag dropped into by a private asset in the same plugin. But a private asset cannot be referenced from another plugin.

#rb scott.nelson
#preflight 628721b30a57b0f54587500f

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 20337948 via CL 20339634 via CL 20339811 via CL 20339960
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20341224 by max chen in ue5-main branch]
2022-05-23 19:09:30 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
Matt Hoffman
280c14da6f MoviePipeline: MoviePipelineInProcessExecutor no longer crashes if provided with a bad Sequence path.
#jira UE-149413
#rb Max.Chen
#preflight 628827966c7692ac8ce553e8

[CL 20306433 by Matt Hoffman in ue5-main branch]
2022-05-20 19:58:59 -04:00
Matt Hoffman
838550075d Sequencer: Exposed UMovieSceneSection::GetAutoSizeRange() to scripting via UMovieSceneSectionExtensions. For tracks that support auto size (animation, sound, etc.) you can now query if the autosize data has a start/end frame, as well as get it. This simplifies adding assets via Python as you can use a unified function (for all tracks that support GetAutoSizeRange) regardless of underlying asset type which simplifies the need to have a unique way of figuring out how long an asset is for each type.
#jira None
#rb Max.Chen
#preflight 62881e85f86b6ab19b52e3f1

[CL 20305997 by Matt Hoffman in ue5-main branch]
2022-05-20 19:25:43 -04:00
max chen
78a0d65d90 Sequencer/Valkyrie: Disable media track, livelink track, gameplay cue track, template sequence track.
Disable event track and live link filters

Fix SupportsSequence logic so that track editors can't just blindly support a track if it's a level sequence. If it doesn't pass the permissions, the track is not supported

#preflight 62857944f239239af6b9c6be
#rb andrew.rodham

#ROBOMERGE-OWNER: max.chen
#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 20283972 via CL 20284129 via CL 20284318 via CL 20284323
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20304670 by max chen in ue5-main branch]
2022-05-20 18:44:58 -04:00
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
Matt Hoffman
7591fc3f11 MoviePipeline: Calling DeleteAllJobs immediately after calling RenderWithExecutor will no longer crash and will instead report an executor failure due to there being no jobs in the queue to render.
#jira UE-149440
#rb Max.Chen
#preflight 6287f5e12c34da686af67d8f

[CL 20302319 by Matt Hoffman in ue5-main branch]
2022-05-20 16:28:04 -04:00
Matt Hoffman
3e017724ed MoviePipeline: Use a texture copy rather than MSAA resolve to copy to readback texture. This fixes a crash with movie pipeline readbacks.
#jira UE-153097
#rb zach.bethel

#ushell-cherrypick of 20286894 by zach.bethel
#preflight 6286b08b614041edb724d67a

[CL 20287733 by Matt Hoffman in ue5-main branch]
2022-05-19 17:20:48 -04:00
chris kulla
6b87aa27af MRQ: Tweak help text to clarify how samples work with the path tracer
#fyi Matt.Hoffman
#preflight 628589722e20db0a71b893e8

[CL 20272264 by chris kulla in ue5-main branch]
2022-05-18 20:18:57 -04:00
Max Chen
d2ea33ba30 Sequencer: Add asterisk to the Sequencer tab if the asset is dirty (similar to level editor)
#jira UE-150643
#preflight 627e7e076d7654cc68a9b195
#rb andrew.rodham

[CL 20255185 by Max Chen in ue5-main branch]
2022-05-17 22:18:24 -04:00
Austin Crismore
434038a712 Properly Set custom range for MRQ renders in shipping builds
#jira UE-1526277
#rb max.chen
#preflight 6283ac55ed2c0847b040991a

[CL 20242246 by Austin Crismore in ue5-main branch]
2022-05-17 10:15:10 -04:00
Matt Hoffman
dab2b9cdc5 MoviePipeline: Override the minimum timestep for Chaos Physics to zero during renders to avoid high temporal sample counts being artificially clamped. Also fixed some cvars that weren't being applied when launching in -game.
#jira UE-150553
#rb Michael.Lentine, Chris.Caulfield
#preflight 627ece06bb2c29688c471757

[CL 20189812 by Matt Hoffman in ue5-main branch]
2022-05-13 17:36:47 -04:00
Matt Hoffman
9193cb2a8e MoviePipeline: Added some system information to exr metadata such as total memory available, total memory used (by all processes), cpu vendor/name, etc.
#jira None
#preflight 627d8c29545ef59331ee87a1
#rb Chris.Kulla

[CL 20183559 by Matt Hoffman in ue5-main branch]
2022-05-13 13:21:12 -04:00
lucas dower
3ab4f1d404 Organise anim assets into subcategories and add or fix tooltips
#jira UE-139412
#rb thomas.sarkanen
#preflight 627d322462656a7b7e31a679

[CL 20179330 by lucas dower in ue5-main branch]
2022-05-13 07:12:03 -04:00
Matt Hoffman
e3e24c1234 MoviePipeline: Fixed the {year} {month} {day} tags not using the job initialization time which would cause files to go into separate folders when a job rolled over midnight in UTC time.
#jira None
#rb Chris.Kulla
#preflight 627ae5c4c42338be653244a2

[CL 20131835 by Matt Hoffman in ue5-main branch]
2022-05-10 19:18:42 -04:00
christopher waters
4b9e68073c Deprecating RHICreateTexture2D and RHICreateTextureExternal2D.
#jira none
#rb zach.bethel
#preflight 627a6ec010766ef8c1f54f1e

[CL 20129702 by christopher waters in ue5-main branch]
2022-05-10 17:13:37 -04:00
max chen
5edfd997f5 Sequencer: Convert main toolbar to Tool Menus
#rb rex.hill
#preflight 627411c2fd59d6606efd7030

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 20075860 via CL 20079209 via CL 20079555 via CL 20079938
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20106429 by max chen in ue5-main branch]
2022-05-09 13:55:16 -04:00
lauren barnes
4b82e918fa Replacing legacy EditorStyle calls with AppStyle
#rb header and class name replacement

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20078276 via CL 20078825
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20106316 by lauren barnes in ue5-main branch]
2022-05-09 13:51:26 -04:00