Commit Graph

3807 Commits

Author SHA1 Message Date
marc audy
3f37f75a75 Avoid unnecessary lookup of Archetype
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]
2022-02-02 01:49:54 -05:00
marc audy
7d32006af7 Fix IsInBlueprint to work correctly in cooked builds
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]
2022-02-02 01:49:06 -05:00
marc audy
0c003430d8 Remove ClassGeneratedBy TODO from validated cases
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]
2022-02-02 01:46:33 -05:00
Marc Audy
e68ad1cf27 Fix IsDefaultObject to not return true for CDOs
Cleaned up out of date comment about function implementation
#rb Ben.Zeigler
#preflight 61f88a9e68795b2f45916cae

[CL 18803336 by Marc Audy in ue5-main branch]
2022-01-31 20:35:09 -05:00
andrew davidson
a687bd02ed Merge //UE5/Dev-LWCRendering[at]18755967
LWC: Serialize LWC double types as double. Enable double bulk serialization for all bulk-serializable-as-float LWC types.
#lockdown marc.audy
#rb marc.audy
#preflight 61f83517114ec25fe0ad5f15

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18795077 in //UE5/Release-5.0/... via CL 18795472 via CL 18797572
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18798048 by andrew davidson in ue5-main branch]
2022-01-31 16:44:37 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
steve robb
2537bf8094 Hide UClass::Implements to prevent accidental misuse.
#jira UE-140075
#rb devin.doucette
#preflight 61f40096f628752a568a8493

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 18787643 via CL 18787651 via CL 18787653 via CL 18787882 via CL 18787955
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18787962 by steve robb in ue5-main branch]
2022-01-31 06:07:14 -05:00
marc audy
0fd821baa5 Make ClassGeneratedBy WITH_EDITORONLY_DATA as it will always be null in cooked builds
#rb Michael.Noland
#preflight 61f441427a7f0d39ddf153cf
#jira

#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 18778942 via CL 18778966 via CL 18778988 via CL 18779795 via CL 18780212
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18780217 by marc audy in ue5-main branch]
2022-01-28 18:19:09 -05:00
phillip kavan
340513789d Ensure that the FArchiveReplaceObjectAndStructPropertyRef ctor invokes the default serialization path with the right vtable.
#jira MH-3535, MH-4936
#rb Robert.Manuszewski
#preflight 61f43da2241aeec8655ac928

#ROBOMERGE-AUTHOR: phillip.kavan
#ROBOMERGE-SOURCE: CL 18777281 in //UE5/Release-5.0/... via CL 18778405 via CL 18778932
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18778969 by phillip kavan in ue5-main branch]
2022-01-28 16:45:51 -05:00
paul chipchase
0ccefd14bc Add a new bitfield of flags to the payload entries in FPackageTrailer.
#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]
2022-01-28 15:26:33 -05:00
paul chipchase
2af0d61698 Fix NSLOCTEXT being split over multiple lines
#rb trivial
#rnx
#preflight 61f43acf801201ab38924266

#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18776018 in //UE5/Release-5.0/... via CL 18777341 via CL 18777587
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18777599 by paul chipchase in ue5-main branch]
2022-01-28 15:26:27 -05:00
jose villarroel
9746cc9977 [Backout] - CL18751910
[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]
2022-01-28 12:39:05 -05:00
carlmagnus nordin
73a67c95d9 Renamed EPackageLocationFilter enums from Cooked/Uncooked to IoDispatcher/FileSystem
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]
2022-01-28 08:48:13 -05:00
carlmagnus nordin
a201cd8e12 Fixed up uses of FIoDispatcher::IsInitialized() so that they work correctly also when there's a mix of cooked packages in iostore and uncooked packages on disk
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]
2022-01-28 04:29:58 -05:00
jeanfrancois dube
6bd286e26e Remove usage of deprecated RF_Garbage flag.
#rb none
#preflight none

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18756176 in //UE5/Release-5.0/... via CL 18756214 via CL 18758742
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760767 by jeanfrancois dube in ue5-main branch]
2022-01-27 15:45:30 -05:00
jeanfrancois dube
5d78017a49 Fix UPackage::IsEmptyPackage not working properly with pending kill disabled.
#rb francis.hurteau
#preflight none

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 18756019 in //UE5/Release-5.0/... via CL 18756038 via CL 18758700
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760709 by jeanfrancois dube in ue5-main branch]
2022-01-27 15:43:38 -05:00
paul chipchase
0d4d469bbd Add LexToString to FPayloadId and change existing use of ToString to use it.
#rb Per.Larsson
#rnx
#jira UE-133497
#preflight 61f259a3706ac5ea0cf2ee3e

#ROBOMERGE-AUTHOR: paul.chipchase
#ROBOMERGE-SOURCE: CL 18751491 in //UE5/Release-5.0/... via CL 18751500 via CL 18751554
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18751559 by paul chipchase in ue5-main branch]
2022-01-27 04:20:46 -05:00
paul chipchase
a4bc26f69b Improve error messages given when a package is not able to be loaded
#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]
2022-01-27 03:41:23 -05:00
jamie dale
e8f33997f3 Deleted FStructVariant in favor of using FInstancedStruct
#jira
#preflight 61f1ca11fd5285142b4dbc64
#rb Rex.Hill

#ROBOMERGE-OWNER: jamie.dale
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 18747759 via CL 18747878 via CL 18747892 via CL 18747928 via CL 18748218 via CL 18748276
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18748289 by jamie dale in ue5-main branch]
2022-01-26 19:50:32 -05:00
francis hurteau
cc6a90638b Fix CIS warning about unbalanced pragma disable deprecation
#rb trivial
#jira none
#preflight trivial

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 18747375 in //UE5/Release-5.0/... via CL 18747383 via CL 18747623
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18747628 by francis hurteau in ue5-main branch]
2022-01-26 18:44:51 -05:00
thomas sarkanen
8f861ede89 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.

#rb Phillip.Kavan
#preflight 61f18be3f8088a3d298e6419

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18740288 via CL 18740350 via CL 18740373 via CL 18742029 via CL 18742887
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18743237 by thomas sarkanen in ue5-main branch]
2022-01-26 15:37:52 -05:00
francis hurteau
5714cca54f Reduced runtime UPackage size from 176b to 144b or 120b when stripping deprecated properties
This should saves around ~1.5 Mb to ~3 Mb at runtime with ~50000 packages

Added a new core define UE_STRIP_DEPRECATED_PROPERTIES that could be used to wrap deprecated properties and strip them to regain memory when a projects becomes compliant. this can be set in the project target file
Deprecated most public properties from UPackage and created accessors for them

#rb PJ.Kack
#jira UE-138957
#preflight 61f17a6f7266f4e79bd62601

#ROBOMERGE-AUTHOR: francis.hurteau
#ROBOMERGE-SOURCE: CL 18738937 in //UE5/Release-5.0/... via CL 18739524 via CL 18741373
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18742135 by francis hurteau in ue5-main branch]
2022-01-26 15:00:04 -05:00
steve robb
d94a0c5200 Fix for FArrayProperty::ConvertFromType() to read the inner tag back when it was written.
#rb robert.manuszewski
#jira UE-104698
#preflight 61f13ecdfc74f46b5638e9e8

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 18736863 in //UE5/Release-5.0/... via CL 18736889 via CL 18737362
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18737693 by steve robb in ue5-main branch]
2022-01-26 12:33:08 -05:00
pj kack
08e1d0264e Serialize PKG_Cooked and PKG_ContainsNoAsset in the package flags in the FPackageFileSummary
#rb francis.hurteau,carlmagnus.nordin,per.larsson
#rnx
#preflight 61f0f615fd5285142b31b957

#ROBOMERGE-OWNER: pj.kack
#ROBOMERGE-AUTHOR: pj.kack
#ROBOMERGE-SOURCE: CL 18733362 via CL 18733378 via CL 18733383 via CL 18733553 via CL 18733586
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18733587 by pj kack in ue5-main branch]
2022-01-26 05:03:16 -05:00
robb surridge
04588085d2 Fix broken links to documentation in header and source files.
#jira none
#rb trivial
#preflight 61f0445dff453b751b38959f

#ROBOMERGE-AUTHOR: robb.surridge
#ROBOMERGE-SOURCE: CL 18726086 in //UE5/Release-5.0/... via CL 18726097 via CL 18726340
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18726365 by robb surridge in ue5-main branch]
2022-01-25 14:22:58 -05:00