Commit Graph

2023 Commits

Author SHA1 Message Date
mickael gilabert
8ab0de4b52 Fixed CIS
#rb trivial

[CL 25393972 by mickael gilabert in ue5-main branch]
2023-05-09 15:40:06 -04:00
mickael gilabert
0b085a725c UClass uses UE::FMutex instead of FRWLock if USE_UE_LOCK_FOR_UCLASS_FUNCTION_HANDLING is defined (useful on platform that has a limited system objects count)
[REVIEW] [at]devin.doucette, [at]dan.oconnor, [at]danny.couture
#rnx

[CL 25393949 by mickael gilabert in ue5-main branch]
2023-05-09 15:39:35 -04:00
robert manuszewski
9b67247e26 Making sure running out of available UObject slots crashes regardless of checks being enabled or not otherwise it will siletnly result in stomps or OOM crashes
#preflight 6459cc266c35ad81e6514e22
#rb Johan.Torp

[CL 25384020 by robert manuszewski in ue5-main branch]
2023-05-09 02:58:02 -04:00
johan torp
a101abc1e8 Require FGCObject debug name
#rb robert.manuszewski
#rnx
#preflight 64550ac9fd4b8f4e0de3ba92

[CL 25368332 by johan torp in ue5-main branch]
2023-05-08 04:42:39 -04:00
robert millar
41c6ff78ec Allow streamable manager to flush only the relevant async loading requests for a given streamable handle.
#rb ben.zeigler,francis.hurteau

[CL 25363331 by robert millar in ue5-main branch]
2023-05-05 21:36:05 -04:00
Matt Peters
45536e88d7 SavePackage's TransientPropertyOverrides: Change LinkerSave to not write out UObject properties that are marked with transient, rather than writing them out with nullptr. This removes the need for a hack fix of the property name and makes the package output more closely match the output that would occur if the property had no values, which should be more robust against future changes.
#rb Francis.Hurteau
#rnx
#preflight 645553ef023fe5d3ada2b10a

[CL 25359298 by Matt Peters in ue5-main branch]
2023-05-05 16:18:53 -04:00
Steve Robb
cdf61a7e2b Removed operator new (TArray) usage from headers.
#rb james.hopkin
#jira none
#preflight 6454fcdc4574b81df4e18dc5

[CL 25353357 by Steve Robb in ue5-main branch]
2023-05-05 09:13:53 -04:00
johan torp
912e14e1ca Delete UE_WITH_GC that was only used by C++ UHT, which is unsupported and about to be removed
#rb tim.smith
#rnx
#preflight

[CL 25350540 by johan torp in ue5-main branch]
2023-05-05 04:01:55 -04:00
danny couture
3ca42ef3bd Fix deadlock by not holding the annotation mutex while calling into code that takes another lock
#rnx
#rb Andriy.Tylychko
#preflight 64527ba41c2846595c05be90

[CL 25333934 by danny couture in ue5-main branch]
2023-05-04 09:32:44 -04:00
jordan hoffmann
998f100767 [BugFix] FindNth* methods in FScriptMapHelper and FScriptSetHelper were indexing out of order
#jira none
#preflight trivial

[CL 25318850 by jordan hoffmann in ue5-main branch]
2023-05-03 12:27:52 -04:00
dan oconnor
4624cd5c03 Fix memory scribble when constructing struct literals with bitfields
#jira UE-182822
#preflight 64505e7ce73c4d47c3dee33a
#rb Phillip.Kavan

[CL 25305731 by dan oconnor in ue5-main branch]
2023-05-02 14:43:26 -04:00
jordan hoffmann
3481b1bcdd [BugFix] FScriptMapHelper::Iterator and FScriptSetHelper::Iterator post-increment operators were pre-incrementing
#rb steve.robb
#preflight 6450252a805eff7b44a922d5

[CL 25295251 by jordan hoffmann in ue5-main branch]
2023-05-01 19:31:01 -04:00
mickael gilabert
c20471dbb1 Disable buffer overrun warning false positive in order to support FastGenPGO.
[REVIEW] [at]john.huelin
#rnx
#preflight 644fc9d10e33f2d51d7121a2

[CL 25288325 by mickael gilabert in ue5-main branch]
2023-05-01 14:31:58 -04:00
zousar shaker
667631d654 Change ObjectHandle private methods to take UObject* instead of UObject&.
#rb joe.pribele

[CL 25242589 by zousar shaker in ue5-main branch]
2023-04-28 17:37:56 -04:00
johan torp
a092dc7b11 GC cleanup in preparation for new GC schema
#rb robert.manuszewski
#rnx
#preflight 644ba7301c2846595c1b493e

[CL 25238849 by johan torp in ue5-main branch]
2023-04-28 15:58:59 -04:00
yiliang siew
2d77624f2d Add a callback to get notified when the UObject GC finishes purging objects. This is a copy of the changes in 25150493.
#rb Robert.Manuzewski
#rb Saam.Baarti
[FYI] Andrew.Scheidecker
#preflight 644b0e58b208f61af85281f3

[CL 25238695 by yiliang siew in ue5-main branch]
2023-04-28 15:54:50 -04:00
jordan hoffmann
a5a79e4a99 [BugFix] Optimizations to FScriptMapHelper::FindInternalIndex and FScriptSetHelper::FindInternalIndex aren't returning INDEX_NONE when someone passes in an index outside the bounds.
#rb none
#preflight trivial

[CL 25238112 by jordan hoffmann in ue5-main branch]
2023-04-28 15:37:27 -04:00
paul chipchase
3224a8ab34 Update the experimental FEditorBulkData sidecar saving feature to use FPackageTrailer
#rb Per.Larsson
#jira UE-139530
#rnx
#preflight 644bc6e4f502608229ff7e68

- The functionality remains mostly the same and is still disabled by default.
- We use the older legacy serialization path if sidecar saving is enabled.
- Updating the code to use FPackageTrailer allows us to finally delete the older which was the precursor to the FPackageTrailer system. This will allow us to combine some code paths in the future and reduce complexity.

[CL 25232459 by paul chipchase in ue5-main branch]
2023-04-28 11:05:06 -04:00
jodon karlik
472b38353a Properly deprecate old IsDataValid for a new, const version with FDataValidationContext.
This allows your assets to warn on top of erroring out.

#jira UE-183475
#preflight 644ae7701c2846595cbe0e21

[CL 25224515 by jodon karlik in ue5-main branch]
2023-04-27 17:53:18 -04:00
joe pribele
3e7fa6208f changed FSoftObjectPathFixupArchive to ignore FObjectPtr to avoid resolving unresolved FObjectPtrs
https://p4-swarm.epicgames.net/reviews/25174125

#rb zousar.shaker
#preflight 644aa9e8b208f61af82230e1

[CL 25218594 by joe pribele in ue5-main branch]
2023-04-27 13:16:25 -04:00
zousar shaker
fb1536bbe2 Ensure that ObjectHandles can compute hashes when referencing objects with an invalid index. This can happen during the early initialization phase of the engine before UObjectBaseInit|UObjectProcessRegistrations get called and register deferred objects.
#rb joe.pribele

[CL 25209509 by zousar shaker in ue5-main branch]
2023-04-26 19:52:36 -04:00
jordan hoffmann
b017402ae1 [Bug Fix] Map element properties were being handled incorrectly causing garbage memory reads
#rb dan.oconnor, steve.robb
#preflight 644983360f12404fb72d120a

[CL 25208645 by jordan hoffmann in ue5-main branch]
2023-04-26 18:28:53 -04:00
Steve Robb
fd82f5215a Added a CBaseStructureProvider concept for detecting if a type is supported by TBaseStructure.
Deleted the second parameter from TStructOnScope, which doesn't work so well with forward-declared types.

#rb robert.manuszewski
#jira none
#preflight 64466ad927014596f34ea1e6

[CL 25162348 by Steve Robb in ue5-main branch]
2023-04-24 08:05:26 -04:00
robert manuszewski
fa6945160f Fixing option property GC processing code
[CL 25159958 by robert manuszewski in ue5-main branch]
2023-04-23 19:47:43 -04:00
Matt Peters
330d05499f UBlueprint::PostLoadAssetRegistryTags: When fixing up short path names, the short path name may no longer exist and have been redirected (e.g. GameplayAbilityBlueprintGeneratedClass). In that case,clear the tag; it will need to be recreated by recompiling the blueprint, which will happen on PostLoad.
Keeping the invalid shortname will trigger an assertion when saving the assetregistry if the asset is not loaded during the cook.
#rb Dan.Engelbrecht
#rnx
#preflight 6441b9eef126d87e45a3bd63

[CL 25146571 by Matt Peters in ue5-main branch]
2023-04-21 11:40:41 -04:00