Commit Graph

3371 Commits

Author SHA1 Message Date
Jamie Dale
b288b2bf19 FScriptInterface/TScriptInterface improvements
- Added type-safe overloads of GetInterface/SetInterface on TScriptInterface.
 - Added GetTypeHash to FScriptInterface.
 - Cleaned-up operator= overloads with non-standard return types.
 - Ensure that FScriptInterface is always constructed with both an object and interface argument specified.

#rb Steve.Robb
#preflight 60a6b17ab7ccb00001cab117

[CL 16408981 by Jamie Dale in ue5-main branch]
2021-05-20 16:10:46 -04:00
CarlMagnus Nordin
602e857cfc AsyncLoading2:
Fixed pending io requests trace counter
Added total loaded trace counter
#rnx
#rb pj.kack

[CL 16402446 by CarlMagnus Nordin in ue5-main branch]
2021-05-20 10:13:18 -04:00
paul chipchase
74fdf40612 Clean up FVirtualizedUntypedBulkData::SerializeData to use the recently added serialization operator for FCompressedBuffer.
#rb Per.Larsson
#rnx
#preflight 60a65460f94e3c0001f492c4

[CL 16401426 by paul chipchase in ue5-main branch]
2021-05-20 09:08:49 -04:00
paul chipchase
bc5aaa90f5 Fix data conversion warnings in the bulkdata code
- FUntypedBulkData::SetBulkDataAlignment now takes a uint16 as that is the storage type used anyway.
- FBulkDataBuffer now uses TArrayView64 as the wrapper around it's data. This has been requested by another team anyway.
-- SoundWave.cpp will pass on the return type of FBulkDataBuffer to other systems. So I moved the 'is the data too big for TArrayView checks there and did not change the SoundWave api.

#rb Per.Larsson, Max.Hayes
#rnx
#preflight 60a606414c320300018014f4

[CL 16399515 by paul chipchase in ue5-main branch]
2021-05-20 03:33:32 -04:00
zousar shaker
16ceea487e Avoid new compile warning stemming from the use of "range-loop-analysis" feature when compiling for Apple target platforms.
#jira UE-116077
#rb devin.doucette

#ROBOMERGE-OWNER: zousar.shaker
#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 16389394 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v804-16311228)
#ROBOMERGE-CONFLICT from-shelf

[CL 16389663 by zousar shaker in ue5-main branch]
2021-05-19 13:54:30 -04:00
paul chipchase
04229b992f IVirtualizationBackend::PushData now returns an enum describing what happened to the operation rather than a straight true/false.
#rb Per.Larsson
#rnx
#preflight 60a4f14665d94d00015be8d8

[CL 16383162 by paul chipchase in ue5-main branch]
2021-05-19 07:46:07 -04:00
Tim Smith
66ac335e2b Fixed issue with LiveCoding where changing the default value on a class would not be reflected in the editor.
#rb trivial
#rnx
#jira UE-115999
#preflight 60a415d64f034a0001ab76a3

[CL 16375705 by Tim Smith in ue5-main branch]
2021-05-18 16:46:44 -04:00
Francis Hurteau
3b7cc6b7db Do not sort loaded objects by the linker pointer when loading objects in EndLoad to keep the relative load order,
#rb PJ.Kack
#jira UE-115760
#preflight 60a3c8b013a1660001cf37fa

[CL 16367530 by Francis Hurteau in ue5-main branch]
2021-05-18 10:49:00 -04:00
Tim Smith
0d25892ca9 Fixing issue with ScriptStructs and Enumerations appearing in the blueprint editor that have already been re-instanced. This resulted in a crash with ScriptStructs. Also fixed issue with changes to default values in a script struct not being refected in the blueprint nodes.
#rb marc.audy
#rnx
#jira UE-115768
#preflight 60a3a53aae0db00001ba6c8c

[CL 16365503 by Tim Smith in ue5-main branch]
2021-05-18 08:12:55 -04:00
cedric caillaud
813420587b revert changelist 16362369 as it breaks incremental cook
[CL 16362833 by cedric caillaud in ue5-main branch]
2021-05-17 21:11:20 -04:00
cedric caillaud
83e37ca39d Make sure FTransform are using native serialization in order to be compatible with LWC
#JIRA #UE-115540
#rb andrew.davidson

[CL 16362369 by cedric caillaud in ue5-main branch]
2021-05-17 20:15:57 -04:00
dave jones2
ece8a053f4 Removed unncessary FLinkerLoad::StaticInit.
This appears to be a really old holdover from early UE4 development. It was originally introduced in CL 1258792 to satisfy a lingering Engine dependency. However, that dependency was eventually removed in CL 3119255, which this change probably should've been lumped with.

#jira nojira
#rb marc.audy, robert.manuszewski

[CL 16351204 by dave jones2 in ue5-main branch]
2021-05-17 11:01:55 -04:00
JeanFrancois Dube
0ea2cd18cc Added support for PIE remapping of FLazyObjectPtr.
#jira none
#rb richard.malo
#robomerge Private-Frosty

[CL 16338184 by JeanFrancois Dube in ue5-main branch]
2021-05-14 20:38:04 -04:00
Tim Smith
f9d1032a62 Adding CLASSCAST flags for the new LWC property. It was acting as a numeric when used in an IsA<> test. This resulted in UHT accepting any numeric as a valid blueprint type.
#rb andy.davidson
#rnx

[CL 16330599 by Tim Smith in ue5-main branch]
2021-05-14 11:51:35 -04:00
brandon dawson
7a6494a236 Allow for time-sliced unhashing of uobjects when in the editor. All unhashing will still occur before streaming is continued, but async loading will provide additional time to the unhashing, allowing it to finish faster, but over a few frames.
[REVIEW] [at]Robert.Manuszewski [at]Nick.Whiting [at]Graham.Wihlidal
#jira UETOP-1620

#ROBOMERGE-SOURCE: CL 16329986 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v804-16311228)

[CL 16330069 by brandon dawson in ue5-main branch]
2021-05-14 11:15:55 -04:00
brandon dawson
b7b2f219d2 Do not perform a full GC flush in the editor when there is a gameplay level running.
[at]Robert.Manuszewski [at]Nick.Whiting [at]Graham.Wihlidal
#jira UETOP-1620

#ROBOMERGE-SOURCE: CL 16329979 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v804-16311228)

[CL 16330062 by brandon dawson in ue5-main branch]
2021-05-14 11:15:44 -04:00
Matt Peters
b90ea68f18 VirtualBulkData and EditorDomain: Do not update the PackagePath for VirtualBulkData if SavePackage is saving to a copy rather than updating the Package's PackagePath.
#rb Paul.ChipChase
#rnx

[CL 16328647 by Matt Peters in ue5-main branch]
2021-05-14 08:35:53 -04:00
Matt Peters
c4f74f8005 EditorDomain: Add list of ImportedClasses for each package to the AssetRegistry's FAssetPackageData.
#rb Johan.Torp
#rnx

[CL 16328609 by Matt Peters in ue5-main branch]
2021-05-14 08:30:09 -04:00
Matt Peters
b5a8a53c42 FPackageName::DoesPackageExist: downgrade ensurefailure+Error to a warning in the case that input LongPackageName is not mounted.
This ensure has been hit twice, and in both cases the calling code would have correctly handled the false return value, and we needed to alter it to avoid the ensure.
#rb Josh.Adams
#rnx

[CL 16324168 by Matt Peters in ue5-main branch]
2021-05-13 21:35:54 -04:00
ionut matasaru
b9ed7c5b33 Fixed errors re format string / parameter list for various UE_LOGs:
- number of supplied parameters less or more than the number of specifiers used in format string
  - invalid format string specifiers used

#rb Matt.Peters

[CL 16315056 by ionut matasaru in ue5-main branch]
2021-05-13 13:21:24 -04:00
justin hare
3f87ef7166 Updating a few deferred dependency verification checks to take FFieldVariants into account. These checks were only compiled if the USE_DEFERRED_DEPENDENCY_CHECK_VERIFICATION_TESTS build flag was enabled, and off by default.
#jira none
#rb phillip.kavan

[CL 16308031 by justin hare in ue5-main branch]
2021-05-12 19:28:07 -04:00
aurel cordonnier
8eebe8841f Merge UE5/RET @ 16305968 to UE5/Main
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937

[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
Tim Smith
062ef03974 Fix to a prior live coding fix that would signal the reloaded blueprint objects as being invalid.
#rb
#rnx
#preflight 609be740053eed00010be92b

[CL 16300116 by Tim Smith in ue5-main branch]
2021-05-12 11:30:22 -04:00
RobertVater
6b04af6ace PR #7908: FPrimaryAssetID can now be serialized into a FArchive (Contributed by RobertVater)
#jira UE-115186
#preflight 609bc9978f6375000101480f

[CL 16298628 by RobertVater in ue5-main branch]
2021-05-12 09:45:16 -04:00
Richard Malo
79bcc1603d Added profile tag for FPackageName::DoesPackageExist
#rb none

[CL 16275484 by Richard Malo in ue5-main branch]
2021-05-11 13:42:34 -04:00