Commit Graph

5377 Commits

Author SHA1 Message Date
jurre debaare
aae72407f2 Standalone builds always use raw transforms
#jira UE-193896
#fix remove GIsEditor==true limitation for FCoreUObjectDelegates::OnEndLoadPackage broadcasting
#rb Matt.Peters

[CL 27911905 by jurre debaare in ue5-main branch]
2023-09-15 08:04:24 -04:00
robert millar
9fbd6babc7 Save script serialization offsets into packages that use versioned property serialization.
Offset is saved relative to export serial data.
Add new object version entry SCRIPT_SERIALIZATION_OFFSET.

#rb PJ.Kack, Francis.Hurteau
#lockdown marc.audy

[CL 27898807 by robert millar in ue5-main branch]
2023-09-14 18:18:29 -04:00
steve robb
3964561600 Improved logging for when UObject::GetVersePath() fails.
#rb francis.hurteau

[CL 27890535 by steve robb in ue5-main branch]
2023-09-14 15:12:07 -04:00
matt peters
a77af3f0e8 ZenStore structures: expose structures to interpret zenstore headers for use in -diffonly cooks.
PackageStoreOptimizer: Expose a static version of FindScriptObject and functions for calculating PublicExportHash.
FNameMap: Add a foreach iterator to provide a list of all data in the struct.
ZenPackageHeader: Move from private to internal, add a constructor that returns an error string rather than fatally asserting.
#rb Per.Larsson
#rnx

[CL 27855318 by matt peters in ue5-main branch]
2023-09-13 18:11:20 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
steve robb
da9f5a828a Replaced TChooseClass with std::conditional_t.
#rb none
#jira UE-195271

[CL 27816205 by steve robb in ue5-main branch]
2023-09-12 19:55:55 -04:00
robert millar
905706745b LexToString implementation for object flags
#rb steve.robb

[CL 27805906 by robert millar in ue5-main branch]
2023-09-12 16:08:50 -04:00
patrick enfedaque
e9cf497f2c WorldPartition: Experimental Editor Path support (SoftObjectPaths to Level Instance sub actors)
- CVar "EditorPaths.Enabled" disabled by default
- References to sub container actors can now be created/resolved
- WorldPartitionLevelStreamingPolicy now has a FWorldPartitionRuntimerContainerResolver member which allows remapping at Cook/PIE/Runtime
- ALevelInstance supports ResolveSubObject for Editor resolving of sub actors
- EditorPaths can be built from FEditorPathHelper using IEditorPathObjectInterface

#jira UE-194662
#rb richard.malo, jeanfrancois.dube
#rnx

[CL 27761399 by patrick enfedaque in ue5-main branch]
2023-09-11 13:46:11 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00
josh adams
a8a9a0b759 - Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27731364 by josh adams in ue5-main branch]
2023-09-08 17:58:55 -04:00
kirill zorin
3ab41caa7a Prevent bpvm execution up/down current callstack after Abort exception
#rb andrew.scheidecker, david.punsetmartinez

[CL 27730107 by kirill zorin in ue5-main branch]
2023-09-08 17:36:28 -04:00
zousar shaker
a181f60498 Reduce overhead in object handle access tracking by reducing high frequency thrash of TArrayView. Synthetic test of 100 million handle accesses in a loop went from 4243ms total time to 1430ms total time.
Further improvements to be had by avoiding CheckCallable overhead of TFunction and making a lockless container to store read callbacks.  Those will be investigated in future changelists.

#rb joe.pribele
[FYI] dan.oconnor
[FYI] ben.zeigler

[CL 27728373 by zousar shaker in ue5-main branch]
2023-09-08 17:04:23 -04:00
francis hurteau
b860861e50 Add an exception looking for dependencies when mapping object for the ClassGeneratedBy object on classes
#rb Matt.Peters

[CL 27724040 by francis hurteau in ue5-main branch]
2023-09-08 15:39:22 -04:00
robert millar
0f03f08f77 Fix missing ReferencingObject in GC verification code by retrieving it from context object in UE::GC::TDefaultCollector
#rb none

[CL 27719937 by robert millar in ue5-main branch]
2023-09-08 14:12:59 -04:00
francis hurteau
edd733c6fd Fix crash with field metadata when using cooked data that includes editor only data (editor optional data)
#rb Steve.Robb

[CL 27718111 by francis hurteau in ue5-main branch]
2023-09-08 13:29:06 -04:00
robert manuszewski
c1fc2d5539 Adding the ability to delay reachability iterations by the desired number of frames
#rb Kirill.Zorin

[CL 27704648 by robert manuszewski in ue5-main branch]
2023-09-08 03:37:19 -04:00
dan oconnor
94a2f2e02a Improve logging
#rb None
#rnx

[CL 27688727 by dan oconnor in ue5-main branch]
2023-09-07 17:04:30 -04:00
francis hurteau
7e8a5aecb0 Modified auto optional asset check to consider class assets as well as support derived types
#rb Matt.Peters

[CL 27676423 by francis hurteau in ue5-main branch]
2023-09-07 13:08:15 -04:00
dan oconnor
269f4aa767 Improve logging
#rb None
#rnx

[CL 27663099 by dan oconnor in ue5-main branch]
2023-09-06 22:46:09 -04:00
evgenii babinets
83958e7d7a Small optimization to GetDerivedClass/RecursivelyPopulateDerivedClasses: remove unnecessary allocation from TSet::Array and adding reserves.
#rb jordan.cristiano

[CL 27653914 by evgenii babinets in ue5-main branch]
2023-09-06 17:22:35 -04:00
markus breyer
768f3193d8 VerseVM updates
- VFunction::InvokeInTransaction now detects failure and returns an uninitialized VValue in that case
- Updated UE natvis file with VValue fixes, VTuple/VArray improvements and VPackage/VFunction/VNativeFunction support

#rb saam.barati, andrew.scheidecker
#rnx

[CL 27650943 by markus breyer in ue5-main branch]
2023-09-06 16:37:37 -04:00
Matt Peters
5656ffff29 SavePackage: Improve poor performance in PackageHarvester when there are imports of many inner objects in a deep outer chain by skipping the full harvest of imports in operator<< for objects that have already been included, in addition to the skip that is already done for objects that have already been excluded.
#jira FORT-651304
#rnx
#rb Francis.Hurteau

[CL 27644257 by Matt Peters in ue5-main branch]
2023-09-06 14:11:54 -04:00
tim smith
69e25c9cd3 Fixed compile errors the assignment operators
#rb neil.henning kirill.zorin

[CL 27640712 by tim smith in ue5-main branch]
2023-09-06 12:56:26 -04:00
bob tellez
c69d274b08 #UE Add a bit more context to an ensure
[CL 27624282 by bob tellez in ue5-main branch]
2023-09-05 23:36:08 -04:00
charles lefebvre
8e49d361b1 Cast, ExactCast and CastChecked with TObjectPtr are const correct
#rb Steve.Robb

[CL 27616811 by charles lefebvre in ue5-main branch]
2023-09-05 18:42:53 -04:00