FReferenceChainSearch will no longer store raw pointers to UObjects when constructing reference chains and instead will only preserve basic information about UObjects separate from UObjects themselves
Making FUObjectArray::ObjectToObjectItem accept a pointer to a const object
Removing redundant code from FindStaleClusters and fixing indents
#jira SOL-1885
#rb Steve.Robb
#preflight 61f959458b4112f7cc9a88c0
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 18809578 in //UE5/Release-5.0/... via CL 18809596 via CL 18822554
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18823575 by robert manuszewski in ue5-main branch]
Blueprint real number support.
This change deprecates the use the of "float" and "double" types in Blueprints in favor of a new "real". By default, "real" is back by a double precision floating point number. However, it can be single precision if the number is a native float property or function parameter. This distinction won't be visible to the Blueprint user: in both instances, they'll be represented by "real" pin types. During deserialization, we'll automatically convert Blueprint pin types to use real/doubles, unless they're used to represent native code (including delegate signatures).
One consequence of this change is that we need to perform implicit casts between single and double precision real numbers. During Blueprint compilation, the compiler will detect points in the graph for when either a widening or narrowing conversion needs to occur. Subsequently, the script bytecode will contain a new cast instruction that performs the conversion. This also works on container types, but each entry in the container will have to be converted. This can introduce unwanted overhead for large containers that are frequently passed between Blueprint and native code.
The scope of this change affects Blueprints used by Gameplay, Animation, Control Rig, and UMG.
#rb marc.audy (serialization changes)
#jira UE-116484
#preflight 61f8bdd5a2514ba12ff7bdfc
#ROBOMERGE-AUTHOR: dave.jones2
#ROBOMERGE-SOURCE: CL 18809077 in //UE5/Release-5.0/... via CL 18809455 via CL 18822548
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18823569 by dave jones2 in ue5-main branch]
#rb Per.Larsson, Devin.Doucette
#jira UE-133497
#rnx
#preflight 61f835491c5ac5523462810a
- A lot of files have been touched but most of this is changing FPayload::IsValid to !FIoHash::IsZero, the main changes are in EditorBulkData/EditorBulkDataTests
- The only difference between FPayloadId and FIoHash is that the former considered the hash of an invalid or empty buffer to be 'invalid' too where as FIoHash would return a valid hash
-- To keep behaviour the same, we only hash payloads in EditorBulkData using a utility method ::HashBuffer which will not hash empty or invalid payloads and return a default FIoHash instead.
-- Unit tests have been extended to prove that the behaviour has not changed.
#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18806362 in //UE5/Release-5.0/... via CL 18808527 via CL 18821790
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18822154 by paul chipchase in ue5-main branch]
General cleanup of component langugage where actually it is more generally for all subobjects
Fix comments and add default parameters
#rnx
#preflight 61f88a94f657e25a59067fb4
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18803287 in //UE5/Release-5.0/... via CL 18803296 via CL 18821587
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18821670 by marc audy in ue5-main branch]
Give useful name in cooked builds when handling invalid reference errors
#rb Phillip.Kavan
#jira
#rnx
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18801055 via CL 18801659 via CL 18801747 via CL 18803191 via CL 18821577
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18821659 by marc audy in ue5-main branch]
Fixup one case in SavePackageUtilities
#jira
#rnx
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18800104 via CL 18800777 via CL 18800925 via CL 18802753 via CL 18821549
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18821634 by marc audy in ue5-main branch]
Cleaned up out of date comment about function implementation
#rb Ben.Zeigler
#preflight 61f88a9e68795b2f45916cae
[CL 18803336 by Marc Audy in ue5-main branch]
#rb PJ.Kack
#rnx
#preflight 61f439e2801201ab389237ef
- This will allow us to store per payload info in the future such as disabling virtualization for specific payloads.
- Currently there are no flags.
- Older trailer formats will update automatically.
#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18776027 in //UE5/Release-5.0/... via CL 18777349 via CL 18777591
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18777602 by paul chipchase in ue5-main branch]
[FYI] Thomas.Sarkanen
Original CL Desc
-----------------------------------------------------------------
Fix asserts/warnings around child anim BPs
Ensures that cleaned-up sparse class data structs are moved out of the package they are in, thus not requiring a GC step to ensure that batch compilation works correctly.
Without this, it is possible for the NewObject call in FAnimBlueprintCompilerContext::RecreateSparseClassData to attempt to re-use (as it has a fixed name) the currently-existing (but not referenced) object rather than creating a new one.
This also reverts some other changes that were made to try to address related issues.
#jira FORT-444463
#rb Phillip.Kavan
#preflight 61f18be3f8088a3d298e6419
#p4v-cherrypick 18740288
#ROBOMERGE-AUTHOR: jose.villarroel
#ROBOMERGE-SOURCE: CL 18773105 in //UE5/Release-5.0/... via CL 18773189 via CL 18773693
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18773704 by jose villarroel in ue5-main branch]
Cleaned up duplicated logic between DoesPackageExist and DoesPackageExistEx
#rnx
#preflight 61f3b9f2801201ab387e6e50
#rb per.larsson
#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 18770321 in //UE5/Release-5.0/... via CL 18770330 via CL 18770438
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18770443 by carlmagnus nordin in ue5-main branch]
FIoDispatcher::IsInitialized() will now return true if it exists (which is almost always)
Renamed FArchive::IsUsingEventDrivenLoader() to IsLoadingFromCookedPackage and based it on the PKG_Cooked flag
#rnx
#rb pj.kack
#preflight 61f3ab6f74510448a6740570
#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 18769198 in //UE5/Release-5.0/... via CL 18769204 via CL 18769272
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18769277 by carlmagnus nordin in ue5-main branch]
#rb PJ.Kack
#jira UE-133884
#preflight 61f25238706ac5ea0cf29222
- Changed a number of UE_LOG messages when parsing a package's file summary to use FMessageLog instead and using the category "LoadErrors" rather than LogLinker.
-- Currently when a user encounters one of these issues they will be prompted to open the "LoadErrors" message log category via a UI popup, but since we were logging via UE_LOG and using the LogLinker category the message log would not actually contain any of the warnings/errors relating to the failed load. those messages were being routed to the output log instead.
-- By switching to FMessageLog the user will now see the warnings/errors that prevent the package from loading and can hopefully work towards a fix of their data.
- We now report an empty/corrupted package summary as an error rather than a warning. All other messages have been left with their original severity.
- Some error messages have been cleaned up and all are now using FText so could be localised in the future.
#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18751275 in //UE5/Release-5.0/... via CL 18751277 via CL 18751393
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18751400 by paul chipchase in ue5-main branch]