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]
This causes users to get logged out after a day - and they are required to log in again.
#preflight none
#jira UE-144655
#rb none
#lockdown cristina.riveron
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 19252479 in //UE5/Release-5.0/... via CL 19253135
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)
[CL 19263459 by ahmed rizwan in ue5-main branch]
Frontend & node service updates. Covers bug fixes - including a fix for downloading mhc without accepting eula.
#preflight none
#rb none
#jira none
#lockdown cristina.riveron
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 19236740 in //UE5/Release-5.0/... via CL 19237025
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19237576 by ahmed rizwan in ue5-main branch]
Settled on showing a popup on Mac, that asks the users to enable Web Browser plugin for using Bridge.
#preflight 621ee367ca28c55634498c80
#jira UE-143609
#lockdown cristina.riveron
#rb alfred.reynolds
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 19216856 in //UE5/Release-5.0/... via CL 19217139
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19225483 by ahmed rizwan in ue5-main branch]
Added WebBrowserWidget as an explicit plugin dependency in Bridge
#preflight 6209f408062428dc5323fe36
#jira UE-142375
#lockdown mitchell.wilson
#rb alfred.reynolds
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18984951 in //UE5/Release-5.0/... via CL 18985792 via CL 18987660
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)
[CL 18988021 by ahmed rizwan in ue5-main branch]
#preflight none
#jira UE-142360
#lockdown
This CL fixes two critical issues:
1. plugin was failing to invalidate the temp downloads folder - causing user disk space to run out very quickly
2. crash when user tries to export assets that aren't properly downloaded
The changes only include updated node binaries, and frontend sources.
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18957348 in //UE5/Release-5.0/... via CL 18958087 via CL 18959034
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)
[CL 18959269 by ahmed rizwan in ue5-main branch]
#preflight skip
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18809347 in //UE5/Release-5.0/... via CL 18809471 via CL 18822552
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18823573 by ahmed rizwan in ue5-main branch]
#preflight 61f7a975114ec25fe090ad79
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18787971 in //UE5/Release-5.0/... via CL 18787981 via CL 18788060
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18788066 by ahmed rizwan in ue5-main branch]
#preflight 61f4cf5c74510448a6a2d3d2
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18783046 in //UE5/Release-5.0/... via CL 18783047 via CL 18783057
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18783060 by ahmed rizwan in ue5-main branch]
#preflight skip
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18666771 in //UE5/Release-5.0/... via CL 18666795 via CL 18668135
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)
[CL 18668297 by ahmed rizwan in ue5-main branch]
#preflight 61e885481000e8c59a7fe1d1
#ROBOMERGE-AUTHOR: ahmed.rizwan
#ROBOMERGE-SOURCE: CL 18666589 in //UE5/Release-5.0/... via CL 18666608 via CL 18668108
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)
[CL 18668264 by ahmed rizwan in ue5-main branch]