Commit Graph

1236 Commits

Author SHA1 Message Date
danny couture
ff4cff14b5 [ZenLoader]
- Fix infinite loop during flush when multiple interdependent packages are waiting on the package currently on stack

#jira UE-205051
#rb Francis.Hurteau

[CL 31170154 by danny couture in ue5-main branch]
2024-02-05 07:41:45 -05:00
dmytro vovk
2c523f4899 Fixed default initialization of TLS slots to 0 and invalidity check against 0 as 0 is a valid TLS slot index
Attempt no. 2
#rb Francis.Hurteau, Matt.Peters

[CL 31123996 by dmytro vovk in ue5-main branch]
2024-02-02 09:59:30 -05:00
sean boocock
5a5ab2b7cd [Backout] - 31084550 - Blocking launching FN editor
[FYI] dmytro.vovk
Original CL Desc
-----------------------------------------------------------------
Fixed default initialization of TLS slots to 0 and invalidity check against 0 as 0 is a valid TLS slot index
#rb Francis.Hurteau, Matt.Peters

[CL 31088717 by sean boocock in ue5-main branch]
2024-02-01 11:00:01 -05:00
dmytro vovk
08c3036b27 Fixed default initialization of TLS slots to 0 and invalidity check against 0 as 0 is a valid TLS slot index
#rb Francis.Hurteau, Matt.Peters

[CL 31084584 by dmytro vovk in ue5-main branch]
2024-02-01 08:33:08 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
danny couture
0f3f77eb9e [ZenLoader]
- Fix !bAllDone assert that could happen when a node timed out and was resumed during a recursive flush while still executing higher on the stack

#jira UE-203439
#rb kevin.macaulayvacher

[CL 30716086 by danny couture in ue5-main branch]
2024-01-19 10:29:21 -05:00
danny couture
3a93abc778 [ZenLoader]
- Fix cases where objects constructed during callbacks at end of load (i.e. flush reinstancing queue, etc...) were wrongly assigned to the package on the stack, leading to their premature postloading even before they were fully serialized.

#rb Francis.Hurteau

[CL 30713589 by danny couture in ue5-main branch]
2024-01-19 07:36:08 -05:00
steve robb
da3a1210fc Made the JsonArchive structured formatters non-copyable so that their useless copy and move consturctors don't show up in IntelliSense.
#rb devin.doucette

[CL 30712630 by steve robb in ue5-main branch]
2024-01-19 05:41:27 -05:00
daniele vettorel
ba47d3c9df Make the bulk data request counters atomic.
The counters are manipulated on concurrent tasks at the same time, and should be atomic.

#rb Martin.Ridgers

[CL 30683816 by daniele vettorel in ue5-main branch]
2024-01-18 10:18:46 -05:00
steve robb
66266c6a11 Fixed up DerivedDataCache, DesktopPlatform, ApplicationCore, AssetRegistry, Core, CoreUObject, Projects, Sockets code to use EAllowShrinking instead of bools.
[CL 30676428 by steve robb in ue5-main branch]
2024-01-17 19:51:06 -05:00
steve robb
e59e206187 Added EAllowShrinking as a better replacement for bAllowShrinking, with optional deprecation.
#rb devin.doucette

[CL 30669734 by steve robb in ue5-main branch]
2024-01-17 16:50:25 -05:00
matt peters
6b5cd11642 Cooker: SkipOnlyEditorOnly fixes:
Mark PaperSprite's load of its SourceTexture as an EditorOnly load.
Fix AsyncLoading1's implementation of the call to OnLoadedAsset to have the PackageReferencerScope that is expected around the call (this contract was established by the implementation of OnLoadedAsset that is done in the legacy LinkerLoad loading path).
#rnx
#rb danny.couture

[CL 30591045 by matt peters in ue5-main branch]
2024-01-12 08:19:50 -05:00
danny couture
dccbb6c893 [ZenLoader]
- Implement package tracking for OnlyEditorOnly to work during cooking
  - Remove the package tracking scope in UObjectGlobals for async loading since it was redundant and caused wrong package to be logged as instigator

#rb Matt.Peters

[CL 30590435 by danny couture in ue5-main branch]
2024-01-12 07:17:38 -05:00
danny couture
f9203def00 [ZenLoader]
- Get rid of old packages before trying to find one from memory to get an opportunity to update the import table instead of always trying to reload.
  - Always go throught the export table for deferred postloads to prevent potential missing postload when objects in the export table are reloaded.

#rb ben.zeigler, Francis.Hurteau
#jira UE-202115, UE-202110

[CL 30531953 by danny couture in ue5-main branch]
2024-01-10 07:37:01 -05:00
dan oconnor
0d46d8697d Use unversioned property serialization when duplicating objects - this speeds up blueprint compilation by about 10% and will also improve other prolific duplicators
#jira UE-173782
#rb Johan.Torp#preflight 659d91e37d64340715890b3c

[CL 30516422 by dan oconnor in ue5-main branch]
2024-01-09 16:38:55 -05:00
chris constantinescu
8884cd87fa FoundationTests: Fix compilation error on non-windows platforms from StructuredArchiveTest.cpp
#rb Steve.Robb
#jira UE-203278

[CL 30436850 by chris constantinescu in ue5-main branch]
2023-12-21 21:12:11 -05:00
steve robb
b8583c5fe8 CIS fox.
#rnx

[CL 30428661 by steve robb in ue5-main branch]
2023-12-21 11:43:33 -05:00
steve robb
e49857d55f Added FArchiveFromStructuredArchiveImpl::operator<< overload for FObjectPtr - fixes crash when serializing TSubclassOf.
Removed deprecated SA_FIELD_NAME macro.

#rb graeme.thornton
#jira UE-203208

[CL 30428537 by steve robb in ue5-main branch]
2023-12-21 11:41:57 -05:00
kurtis schmidt
d1368b9c8c Fix unversion save to setup override serialization when available while saving.
#jira UE-202048
#rb kurtis.schmidt, maxime.mercier

[CL 30365254 by kurtis schmidt in ue5-main branch]
2023-12-15 19:01:57 -05:00
danny couture
8db99af46e [ZenLoader]
- Relax fatal error to a warning to maintain backward compatibility with old loader as recursive flush can happen for various reasons and sometimes the result is not even looked at.

#jira UE-202203
#rb Francis.Hurteau

[CL 30319629 by danny couture in ue5-main branch]
2023-12-14 09:53:54 -05:00
steve robb
3f201d5df7 Fixed unreachable code errors.
#rb devin.doucette

[CL 30298450 by steve robb in ue5-main branch]
2023-12-13 13:39:46 -05:00
devin doucette
cbc4130d4d Updated calls to GetSerializeContext on archives to use the thread context directly
Archives do not always set the context when it is needed. Archives that do set the context set it to the thread context anyway.

#rb Francis.Hurteau
#rnx

[CL 30291933 by devin doucette in ue5-main branch]
2023-12-13 09:40:56 -05:00
danny couture
6f05ec3979 [ZenLoader]
- Fix duplication of PIE world assets under many different in-memory only package which is not supposed to happen

#jira UE-202104
#rb Francis.Hurteau, JeanFrancois.Dube

[CL 30288192 by danny couture in ue5-main branch]
2023-12-13 04:59:26 -05:00
ahmed siddique
d70352cd9b Android SingleInstance Service
Tested on Android with Lyra and also preflight checks.

#android
#rb chris.babcock

[CL 30244258 by ahmed siddique in ue5-main branch]
2023-12-11 13:59:52 -05:00
anton dunchev
e469bedbe8 [MemoryTrace] Covered more allocations with asset metadata scopes
- Added package/object/class metadata for Iris network spawned actors
- Added asset metadata for ConfigFiles
- Added package metadata for allocations coming from LinkerLoadPackageSummary
- Added metadata for Object::Serialize allocations
- Added metadata for UI/Slate and UI/UMG.
- Removed metadata scope for UObjectHash/UObjectIndex global buffers realloc.

#rb ionut.matasaru, Matt.Peters, Patrick.Boutot
[FYI] simon.orr
#tests PIE,client

[CL 30189736 by anton dunchev in ue5-main branch]
2023-12-07 14:49:01 -05:00