Commit Graph

3294 Commits

Author SHA1 Message Date
Devin Doucette
fa8250517d SharedBuffer: Added MoveToShared() and MoveToUnique() to convert between buffer types
#rb Matt.Peters
#rnx

[CL 15917930 by Devin Doucette in ue5-main branch]
2021-04-05 12:38:27 -04:00
PJ Kack
720e897e2f GarbageCollection: Treat cluster objects with EInternalObjectFlags::GarbageCollectionKeepFlags the same way as if they are in the root set to prevent them from being destroyed while being referenced by the async loader.
#jira UE-110650
#rb per.larsson, robert.manuszewski
#robomerge Release-5.0-EarlyAccess

#ROBOMERGE-OWNER: pj.kack
#ROBOMERGE-AUTHOR: pj.kack
#ROBOMERGE-SOURCE: CL 15873288 in //UE4/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Staging) (v786-15839533)

#ushell-cherrypick of 15873295 by pj.kack

[CL 15873406 by PJ Kack in ue5-main branch]
2021-03-31 08:10:04 -04:00
Matt Peters
86c8a7f619 Remove temporary local IsRunningCookCommandlet since UE5 has a global version.
#rnx
#rb Dave.Belanger

[CL 15869878 by Matt Peters in ue5-main branch]
2021-03-30 20:50:44 -04:00
Matt Peters
c3f0e0d5fb Change presave prototype:
Add PRAGMA_(DIS/EN)ABLE_DEPRECATION_WARNINGS around the deprecated function overrides and restore the deprecation attribute on the deprecated PreSave functions.
#rnx
#rb Steve.Robb, Devin.Doucette

[CL 15861711 by Matt Peters in ue5-main branch]
2021-03-30 10:01:48 -04:00
JeanFrancois Dube
ba86a7744d World Partition SoftObjectPath support
- World Partition streaming policy is now persistent and duplicated in PIE, so we can maintain actors to cells mappings.
- Added support for actors subobjects resolving through SoftObjectPath (can now resolve components to actors).
- Added support in SoftObjectPath to resolve through the top-level object (similar to what loading did).
- World Partition subobjects resolving is now available in cooked builds.

#rb richard.malo
#robomerge Release-5.0-EarlyAccess
#preflight 606254498517a800015dd851

[CL 15859867 by JeanFrancois Dube in ue5-main branch]
2021-03-30 07:56:25 -04:00
johan torp
a0278700a0 Moved UE4::ELoadConfigPropagationFlags to UE namespace and deprecated the old names
#jira UE-111653
#rb mark.lintott
#preflight 6062f1f3f8ce540001beae57

#ROBOMERGE-SOURCE: CL 15859504 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15859812 by johan torp in ue5-main branch]
2021-03-30 07:51:13 -04:00
mark lintott
11a12136ce #jira UE-111647
#rb johan.torp
GetLinkerUE4Version renamed to GetLinkerUEVersion

#ROBOMERGE-SOURCE: CL 15859222 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15859586 by mark lintott in ue5-main branch]
2021-03-30 06:44:49 -04:00
mark lintott
24420693b6 #jira UE-111195
Updated references to UE4 to Unreal in NetworkFileConnection.cpp
This required references to GPackageFileUE4Version and GPackageFileLicenseeUE4Version to also be updated to GPackageFileUnrealVersion and GPackageFileLicenseeUnrealVersion accordingly

#ROBOMERGE-SOURCE: CL 15850452 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15851651 by mark lintott in ue5-main branch]
2021-03-29 11:38:01 -04:00
Tim Smith
5dc30d2303 Adding the ability to disable re-instancing when doing live coding.
Will be disabled until blueprint issues are resolved.

#rb trivial

[CL 15851149 by Tim Smith in ue5-main branch]
2021-03-29 10:54:06 -04:00
Matt Peters
e9982b416b Change presave prototype: temporarily remove deprecation to find the discrepancy with the farm build vs my local build.
#rb None - trivial
#rnx

[CL 15835892 by Matt Peters in ue5-main branch]
2021-03-25 19:39:18 -04:00
Matt Peters
13bcb413ee Change presave prototype: temporarily remove deprecation to find the discrepancy with the farm build vs my local build.
#rb None - trivial
#rnx

[CL 15834821 by Matt Peters in ue5-main branch]
2021-03-25 18:58:12 -04:00
Matt Peters
fd97028c28 Change presave prototype to take an FObjectSaveContextRef to provide more information about the save parameters.
#rb Francis.Hurteau, Devin.Doucette
#rn Minor Cooking

[CL 15831839 by Matt Peters in ue5-main branch]
2021-03-25 16:51:36 -04:00
Matt Peters
b8f6696b0b PackagePath: Fix infinite recursion in GetDebugName when extension is unspecified.
#robomerge Release-5.0-EarlyAccess
#rnx
#rb Devin.Doucette

[CL 15829759 by Matt Peters in ue5-main branch]
2021-03-25 15:39:48 -04:00
Zousar Shaker
bdee27c124 Systematic changes needed for SoundCue and SoundWave to successfully lazy load in editor in most circumstances when using the -LazyLoadImports commandline switch.
Changes control of the feature to uniformly require the -LazyLoadImports commandline switch.
Ensures that serialization of ObjectPtr fields for blueprints doesn't differ between raw pointer (Object) fields.  INSTANCES of these types were already serialized identically (wrote out the same type identifier in tagged property serialization), but the serialized type descriptors (used by blueprints) write out the FFieldClass::GetName, and that differed between FObjectProperty and FObjectPtrProperty, and this change addresses that discrepancy.
Allow ObjectPtr fields to be instantiated in place of Object fields in script/blueprint in editor builds while ensuring that they are serialization compatible and considered equal types.

#rb francis.hurteau
#rb marc.audy
#fyi devin.doucette
#fyi robert.manuszewski
#preflight 605cbf325e87c40001b74f5b

[CL 15827275 by Zousar Shaker in ue5-main branch]
2021-03-25 13:53:42 -04:00
ben marsh
7427752f6c Various UE4->UE5 renames.
#rb none
#jira UE-111511, UE-111448, UE-111128, UE-111287, UE-111198, UE-111657
#preflight 605b8cec0c31c10001599547

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 15807072 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)
#ROBOMERGE-CONFLICT from-shelf

[CL 15813821 by ben marsh in ue5-main branch]
2021-03-24 20:52:19 -04:00
danny couture
9ea3d0e9a2 Change the lockstatus after the detach to avoid tripping the new DetachBulkData check
#rb Yuriy.ODonnell
#robomerge Release-5.0-EarlyAccess

[CL 15804511 by danny couture in ue5-main branch]
2021-03-24 14:14:57 -04:00
danny couture
6cc6eb12ad Add check to make sure we never try to detach a bulkdata that is being used
#fyi Yuriy.ODonnell
#rb Francis.Hurteau
#robomerge Release-5.0-EarlyAccess

[CL 15796024 by danny couture in ue5-main branch]
2021-03-24 06:59:27 -04:00
jeanfrancois dube
29122d7946 Split GetAssetRegistryTags world partition specific data into GetAssetRegistryTagsForPackageData.
This fixes what 15732838 was trying to fix.

#rb matt.peters
#preflight 6059f815e2a7e300010eafbc

#ROBOMERGE-SOURCE: CL 15777398 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15787286 by jeanfrancois dube in ue5-main branch]
2021-03-23 19:03:05 -04:00
Matt Peters
857c3d5922 Fix issue with loading of unversioned data in editor - we can not cache the properties in BlueprintGeneratedClasses, because they may be recompiled in the editor.
#rb Johan.Torp
#rnx

[CL 15787155 by Matt Peters in ue5-main branch]
2021-03-23 18:54:19 -04:00
Francis Hurteau
2c67e29d6c Add a way to reset only exports in a linker without detaching the linker itself nor its bulkdata
Use that new function when moving actors between package during cooking
Bumped the UObject::SetLinker Warning up to Error as they should not happen anymore.

#rb Danny.Couture, JeanFrancois.Dube

[CL 15784309 by Francis Hurteau in ue5-main branch]
2021-03-23 16:36:23 -04:00
Matt Peters
a792bc3ab5 #jira FROST-1436
Interim BlueprintGeneratedClass::IsAsset change:
All code that is enumerating unfiltered assets in a package/outer needs to handle multiple assets, or if it can't, needs to call ShouldSkipAsset or IsUAsset to skip over the non-UAsset assets.

Move UE::AssetRegistry::FFiltering into CoreUObject to make it accessible to FindAssetInPackage.
#rb Dave.Belanger
#rnx

[CL 15766334 by Matt Peters in ue5-main branch]
2021-03-22 14:00:30 -04:00
JeanFrancois Dube
1c960a7c83 Don't set package loaded path when auto-saving.
#rb matt.peters

[CL 15764304 by JeanFrancois Dube in ue5-main branch]
2021-03-22 12:16:31 -04:00
jamie dale
7d329eb083 Renamed FGCObjectScopeGuard to TGCObjectScopeGuard
This allows it to store the scoped object as its actual type, so that it can be accessed if needed via a Get() function. FGCObjectScopeGuard remains as an alias for TGCObjectScopeGuard<const UObject>.

#rb Brooke.Hubert

#ROBOMERGE-SOURCE: CL 15750136 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15753926 by jamie dale in ue5-main branch]
2021-03-20 04:30:05 -04:00
Tim Smith
0ed1b24ed9 Fixing MSVC warning issue that was accidently removed with prior change.
#rb trivial
#jira UE-111514

[CL 15747421 by Tim Smith in ue5-main branch]
2021-03-19 11:02:03 -04:00
Matt Peters
3d7e556c1f Make a static version of FAssetData::IsUAsset to avoid the need to expensively create an FAssetData to test whether an object is the UAsset asset of its package.
#rb Francis.Hurteau, Devlin.Willis
#rnx

[CL 15742031 by Matt Peters in ue5-main branch]
2021-03-18 17:54:23 -04:00