Commit Graph

3302 Commits

Author SHA1 Message Date
Johan Torp
05d8fbeea3 Reduce EDLBootNotificationManager allocations during early editor startup
#rb matt.peters

[CL 15987949 by Johan Torp in ue5-main branch]
2021-04-13 07:38:30 -04:00
Zousar Shaker
d7d9e02d8a Change the Cast/ExactCast/CastChecked codepath for TObjectPtrs to avoid the act of casting causing a tracked access if the cast is returning nullptr.
#rb matt.peters

[CL 15986189 by Zousar Shaker in ue5-main branch]
2021-04-12 23:16:12 -04:00
Matt Peters
ff375c9e88 #jira UE-113242
Fix false-positive-redirect suppression code in SoftObjectPath. Package redirects are already builtin to FindObject, so the check for "Old object exists" was returning true even if the old object did not exist but was redirected to a new object through a package redirect. Narrow the check by requiring that FindObject succeeds and returns an object with path name equal to the old name.
#rb Ben.Zeigler
#rnx

[CL 15983960 by Matt Peters in ue5-main branch]
2021-04-12 17:38:36 -04:00
Francis Hurteau
39169c579a Enable Save2 by defaut in the Editor:
Save2 is now the default save algorithm across both the editor and cooking. It has been used by default for cooking for a few months now and a full QA pass on its usage in the editor using the resave asset commandlet didn't come up with any issues

#fyi Matt.Peters, Zousar.Shaker
#rb trivial

[CL 15980926 by Francis Hurteau in ue5-main branch]
2021-04-12 14:50:56 -04:00
Zousar Shaker
dcfd23bf53 Remove low value check statement that was causing high quantity of allocations due to FName to string conversion in the condition.
#rb matt.peters

[CL 15977842 by Zousar Shaker in ue5-main branch]
2021-04-12 11:00:20 -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
paul chipchase
3e95ae2c21 Remove the bulkdata manifest that was generated when cooking.
- The manifest was for a prototype version of the IoStore commandlet and would attempt to record every bulkdata entry during a cook, which would allow us to generate the FioChunkId for each bulkdata entry when building the ucas files.
- Due to changes during development we stopped requiring this data and it was never used in actual production code.
- Since this code was never in use we can just remove it.

* IoStoreUtilities
- No longer attempt to load the manifest
- Removed use of BulkdataTypeToChunkIdType and just use the EIoChunkType directly instead.

#rb CarlMagnus.Nordin
#jira UE-112697
#test Full stage of ShooterGame
#rnx
#preflight 606f039028671300019c806a

[CL 15954210 by paul chipchase in ue5-main branch]
2021-04-08 10:10:34 -04:00
Tim Smith
790704c312 Fix issue with deprecated warnings
#rb trivial
#rnx
#jira UE-111960

[CL 15953970 by Tim Smith in ue5-main branch]
2021-04-08 09:44:54 -04:00
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