- 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]
[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]
- 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]
- 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]
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]
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]
- 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]
- 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]
- 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]
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]
- 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]