Commit Graph

72 Commits

Author SHA1 Message Date
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
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
Dan Thompson
809c0f9062 Adding support for writing back metadata to an asset registry during iostore staging. Initially this is size information about the chunks.
#rb matt.peters
#rb carl-magnus.nordin
#preflight 62200571943787f1d2199924

[CL 19234043 by Dan Thompson in ue5-main branch]
2022-03-02 19:22:28 -05:00
jamie dale
f86f2b972a Stage Slate content in cooked editors
#preflight skip
#rb Josh.Adams

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19209497 via CL 19213803 via CL 19216460 via CL 19216631 via CL 19216695
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19225329 by jamie dale in ue5-main branch]
2022-03-02 14:02:03 -05:00
charles bloom
9404225c4d Change default compressionblocksize back to 64 KB from 256 KB
to prevent mismatch between FileCache tile size and compressionblocksize
projects without VT/Nanite benefit from larger compressionblocksize

#jira ue-142042
#preflight 62044b0ca65a8a28462fdf3a
#lockdown mark.lintott
#rb pj.kack

#ROBOMERGE-AUTHOR: charles.bloom
#ROBOMERGE-SOURCE: CL 18937080 in //UE5/Release-5.0/... via CL 18937632 via CL 18938165
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18938202 by charles bloom in ue5-main branch]
2022-02-10 12:15:49 -05:00
josh adams
98af26ef0c - Removing platform Build dirs which were bloating the CW size with NewSchool mode
#preflight 61eae5c7e4313f36f0202aa0
#rb none

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18701006 via CL 18701283 via CL 18701287 via CL 18701291 via CL 18702228 via CL 18702249 via CL 18702284
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18702288 by josh adams in ue5-main branch]
2022-01-22 14:45:30 -05:00
josh adams
578e73e926 - Fixed up various files included with new MakeCookedEditor
- Added "MapMode" which can allow a cooked editor/cooker to stage cooked, uncooked, or no maps
#rb none
#preflight skip (unaffected)

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18589011 via CL 18590214 via CL 18590224 via CL 18590228 via CL 18590443 via CL 18590447 via CL 18590457
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18590475 by josh adams in ue5-main branch]
2022-01-12 17:36:35 -05:00
josh adams
dab78a31a7 - Enabled CookedCooker in the engine
- Made an EngineTestCookedCooker target
#preflight 6195bce0f802365f87df0bd1

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 18238233 via CL 18242431 via CL 18242503 via CL 18242569 via CL 18244560 via CL 18244677
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18244773 by josh adams in ue5-release-engine-test branch]
2021-11-18 17:01:02 -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
devin doucette
6f080fc3f1 DDC: Added a ServerID field to the Jupiter configuration to allow reading settings from another section
When ServerID is used, configuration is first loaded from a key matching the ServerID field, in the HordeStorageServers section of the same INI. This makes it easier to put Jupiter configuration in a consistent place and have it stripped by the cooker to avoid leaking any of the configuration.

#rb Zousar.Shaker
#rnx
#preflight 617a28570cec4300011619d4

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 17961730 in //UE5/Release-5.0/... via CL 17961740
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v885-17909292)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17961744 by devin doucette in ue5-release-engine-test branch]
2021-10-28 09:39:12 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04: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
charles bloom
458a156370 change PackageCompressionLevel_DebugDevelopment to 4 instead of 3
#rb none

[CL 16387690 by charles bloom in ue5-main branch]
2021-05-19 12:14:25 -04:00
alexander suvorov
df6c589ae9 Make MinBytesSaved and MinPercentSaved package compression parameters configurable.
#rb charles.bloom

[CL 16361541 by alexander suvorov in ue5-main branch]
2021-05-17 19:25:38 -04:00
charles bloom
89ba69a127 remove -asynccompression from default pak options
there appears to be a race bug in UnrealPak
since Pak is being phased out for iostore, just turn it off for now

#rb none
#jira UE-114206

[CL 16147976 by charles bloom in ue5-main branch]
2021-04-28 15:56:59 -04:00
charles bloom
d2eed4ccd5 rename PakFileCompressionFormats to PackageCompressionFormat so that existing DefaultGame.ini files with "PakFileCompressionFormats=" don't override the new BaseGame.ini setting of Oodle
#rb none
#fyi josh.adams

[CL 16060897 by charles bloom in ue5-main branch]
2021-04-20 10:14:26 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
PJ Kack
e62a0bac26 Enable IoStore and the new loader by default for all projects.
Enable UPS by default for all non-dedicated server targets for all projects.
When staging, remove the requirement to specify the -iostore command line argument by reading the value "bUseIoStore" from the platform game ini section "/Script/UnrealEd.ProjectPackagingSettings".
The command line arguments (-iostore and -skipiostore) can still be used to override the ini file setting.

#rb per.larsson,carlmagnus.nordin
#rnx
#robomerge Release-5.0-EarlyAccess

[CL 15637476 by PJ Kack in ue5-main branch]
2021-03-08 06:50:47 -04:00
Josh Adams
e1e753576d - Added FSerializedUATProcess - may move to a header at some point
- Removed ModifyCreateProcParams., it wasn't useful enough
- Split up ExtraProjectBuilds into EngineCustomBuilds and ProjectCustomBuilds, so that engine/Epic specified custom builds don't dirty up the project packaging settings, and the ini system won't cause future additional builds to be lost
- Fixed up a couple of tooltips to indicate compression settings are used for Pak and IoStore
#rb brian.white

[CL 15135998 by Josh Adams in ue5-main branch]
2021-01-19 11:12:59 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Josh Adams
60c8673e12 - Updated Turnkey studio settings (split into separate .xml file so it can be read without trying to hunt down server files, added idea of what platforms are supported by the studio). Set Epic settings
- Return more info from Turnkey so callers can know if Turnkey can install full or autosdks (based on studio settings)
- Added idea of project settings having custom builds that can be run from Turnkey (and with a later checkin, Platforms menu in the editor)
#rb ben.marsh (just the code that chains Automation commands, as seen in ExecuteBuild)

[CL 14916239 by Josh Adams in ue5-main branch]
2020-12-14 14:46:33 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Josh Adams
1439675a3e - Added tagged retrieval to work with regex'd tags
- Added some Turnkey settings to IOSRuntimeSettings
- Added some of the IOSRuntimeSettings to be stripped out in the IniKeyBlacklist so that passwords aren't shipped
- Fixed smb: volume mounting in Turnkey
- Changed IOS prereq validation to be driven more by the bundleid, and then will hunt down a cert that matches the "best" provision that matches the bundleid. Then, uses the bundleid (with regex) to find a cert to install via Turnkey. Full wildcards can break it, so TeamID can be used to narrow down valid provisions

[CL 13886561 by Josh Adams in ue5-main branch]
2020-07-17 16:07:26 -04:00