Commit Graph

5446 Commits

Author SHA1 Message Date
danny couture
7396ff3001 [LinkerLoad] Fix missing attempt to reresolve a redirector when it is encountered multiple times recursively, potentially causing missing objects for complex case
#rnx
#rb Francis.Hurteau, Dave.Jones

[CL 28532851 by danny couture in ue5-main branch]
2023-10-06 03:52:12 -04:00
matt peters
c2f521c18e AssetRegistry: Respect value of LinkerLoad's s.EnforcePackageCompatibleVersionCheck and allow packages to be listed in the AssetRegistry even if they have invalid versions, if the check is disabled.
#rnx
#rb Zousar.Shaker

[CL 28515527 by matt peters in ue5-main branch]
2023-10-05 16:37:16 -04:00
kirill zorin
a69268f054 TMaybeObjectPtr: fixing sometimes-incorrect handling of pointers returned from Cast<...>
#rb sebastian.barrios

[CL 28507521 by kirill zorin in ue5-main branch]
2023-10-05 13:54:43 -04:00
matt peters
aa16a83128 Cooker: Add HardEditorOnlyReference to the list of Instigator causes. This is useful for validating that packages omitted by SkipOnlyEditorOnly were indeed OnlyEditorOnly in the non-SOEO cook.
#rb Zousar.Shaker
#rnx

[CL 28505710 by matt peters in ue5-main branch]
2023-10-05 13:10:39 -04:00
justin marcus
d4f26c234d Add comment about using package versions during saving.
#jira

[CL 28504123 by justin marcus in ue5-main branch]
2023-10-05 12:36:10 -04:00
KristofMorva
a75f380b2a Fix warning "Failed to find object 'Object None.None'" when deserializing FObjectAndNameAsStringProxyArchive.
Should also speed up loading a buffer with a lot of NULL objects considerably (see PR #6875).

#jira UE-92396
#PR 6875
#rb robert.millar

#ushell-cherrypick of 28497640 by kristof.morva1

[CL 28502883 by KristofMorva in ue5-main branch]
2023-10-05 12:09:52 -04:00
neil henning
38245c59ea Make MakeUniqueObjectNameReusingNumber transactionally safe.
[CL 28499782 by neil henning in ue5-main branch]
2023-10-05 11:04:36 -04:00
andrew rodham
f5896b67bb Core: Make UScriptStruct::ImportText const-correct
#rb Steve.Robb

[CL 28497785 by andrew rodham in ue5-main branch]
2023-10-05 09:57:09 -04:00
markus breyer
23bfca8aaa Various additions and fixes in VerseVM 2/2
- removed incorrect array append functionality from Add operator
- added support for multiplication between int and float values
- added string length support
- minor improvements

#rb yiliang.siew
#rnx

[CL 28485353 by markus breyer in ue5-main branch]
2023-10-04 20:46:48 -04:00
bob tellez
85939e4ab5 #UE Do not warn about duplicate lazy object pointer guids found in editor only level instance maps, since they do not affect the game. This is just another case of legitimately duplicating a level in memory, much like PIE
[CL 28471934 by bob tellez in ue5-main branch]
2023-10-04 16:02:26 -04:00
danny couture
fa346f675c [ZenLoader] Make static analyzer happy
#rb Francis.Hurteau

[CL 28463907 by danny couture in ue5-main branch]
2023-10-04 13:29:23 -04:00
jamie dale
fda7d461e7 Moved CookedMetaData to CoreUObject
This allows it to be used by things that create class/struct/enum types (which only requires CoreUObject) without them needing to add an additional dependency on the Engine

#rb Rex.Hill

[CL 28462741 by jamie dale in ue5-main branch]
2023-10-04 13:08:34 -04:00
matt peters
382dd2ad72 Cooker: Upgrade severity of "Content is missing from cook" message to Error, but make it configurable per project.
#rnx
#rb Francis.Hurteau

[CL 28437999 by matt peters in ue5-main branch]
2023-10-03 18:54:07 -04:00
graeme thornton
4547c6ceef Downgrading a warning to an error to unblock development while a proper fix is investigated
#rnx
[FYI] danny.couture

[CL 28433079 by graeme thornton in ue5-main branch]
2023-10-03 17:16:40 -04:00
devin doucette
57ea585744 PropertyBag: Initial version with basic support for adding, removing, and iterating properties
Missing features include serialization, versioning of unknown properties, nesting property bags, and integration with garbage collection.

#rb Francis.Hurteau, Phillip.Kavan, Andrew.Davidson

[CL 28419605 by devin doucette in ue5-main branch]
2023-10-03 12:41:42 -04:00
brandon schaefer
4ac1850102 Add open around Client and Server checking exclusion list
#rb Neil.Henning
[FYI] Michael.Nicolella

[CL 28415932 by brandon schaefer in ue5-main branch]
2023-10-03 11:32:44 -04:00
tim smith
a4c0680e7a 1) Initial version of a basic VValue property type
2) Initial version of the merged UEGC and VerseGC
3) Unit tests for the merged GC

#rb johan.torp robert.manuszewski

[CL 28411269 by tim smith in ue5-main branch]
2023-10-03 09:02:39 -04:00
brandon schaefer
063972a860 Move the IsAsyncLoading calls around open for the logging, not something that matters to roll back
#rb none
[FYI] Neil.Henning.Michael.Nicolella

[CL 28381202 by brandon schaefer in ue5-main branch]
2023-10-02 12:10:26 -04:00
danny couture
d40076e978 [ZenLoader]
- Add partial flush support from loading thread
 - Fix the ConvertFromType allowing to load the softobjectptr during its conversion to hardref even when called from ALT and zenloader is active
 - Add unittest to exercise softobjectptr to hardref conversion in ConvertFromType
 - Move asserts preventing flush from loading thread directly into legacy loader
 - Added a few veryverbose logs that were missing for linker load
 - Fix partial loading being applied to sync calls coming from a postload, preventing the object to be fully postloaded before finishing the sync load

#rb Francis.Hurteau

[CL 28373045 by danny couture in ue5-main branch]
2023-10-02 07:51:24 -04:00
markus breyer
04099d1bf8 Replaced FRunningContexts with FAllocationContexts in places where FRunningContext is not needed
#rb saam.barati
#rnx

[CL 28362908 by markus breyer in ue5-main branch]
2023-09-29 22:02:21 -04:00
matt peters
25a64dad64 Cooker export verification: Change "was never saved as an export" message into clearer text "content is missing from cook", and add feedback for why it is missing from the cook.
#rb Zousar.Shaker
#rnx

[CL 28357860 by matt peters in ue5-main branch]
2023-09-29 17:43:19 -04:00
russell johnston
b5b1d0dae2 Implement enumerators in the new VM
Enumerator values are represented as singleton `VEnumerator` heap values,
created when the enum definition is codegen-ed. This enables `VValue::Equal`
to use simple pointer comparison for equality.

#rb saam.barati

[CL 28347534 by russell johnston in ue5-main branch]
2023-09-29 13:27:13 -04:00
robert manuszewski
aa6f61ee78 Making sure an object Outer is marked with GC barrier when constructing new objects in between incremental reachability iterations
#prefight 6516bac3c779a827b1a4e7dc
#rb Kirill.Zorin

[CL 28340657 by robert manuszewski in ue5-main branch]
2023-09-29 09:31:28 -04:00
robert manuszewski
6dd8e280e4 Mark the Outer and not the Object that is being renamed with GC barrier
#rb Kirill.Zorin

[CL 28316154 by robert manuszewski in ue5-main branch]
2023-09-28 09:20:08 -04:00
andriy tylychko
d938d346bd fixed crash in AsyncFileHandle with unimplemented EnsureCompletion()
#jira UE-195894
#rb danny.couture, francis.hurteau

[CL 28313586 by andriy tylychko in ue5-main branch]
2023-09-28 07:09:26 -04:00