Commit Graph

3937 Commits

Author SHA1 Message Date
richard malo
904ab909c2 Exposed a helper function in FLinkerInstancingContext used by LinkerLoad, that builds Instanced package names (will be used by world partition).
#francis.hurteau, jeanfrancois.dube, patrick.enfedaque
#preflight 6246d958f73c316f6803aa39

#ROBOMERGE-AUTHOR: richard.malo
#ROBOMERGE-SOURCE: CL 19591306 via CL 19591568 via CL 19591647
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19593528 by richard malo in ue5-main branch]
2022-04-01 15:09:40 -04:00
robert manuszewski
062431e49d Fixing setting properties with setters in script using wrong container pointer
#rb trivial
#preflight none

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19574755 via CL 19577863 via CL 19578863 via CL 19579156
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19580657 by robert manuszewski in ue5-main branch]
2022-03-31 19:26:11 -04:00
chris constantinescu
cdcaefe035 Introducing Catch2 disabled test cases, scenarios etc
Motivation: [.] only hides a test and it can still be executed using ~[SomeOtherTag]; It's very easy to fall into the trap of executing an infinite loop test that is decorated with the [.] tag
#rb Andriy.Tylychko, Michael.Balzer
#preflight 6245fb64f4217035fa8f38ec

[CL 19576763 by chris constantinescu in ue5-main branch]
2022-03-31 15:16:31 -04:00
evgenii babinets
d6c2e88fe9 Eliminated some redundant stats since they're generally all similar in size and match the parent scope, we probably don't get a lot of value out of this.
Added a UObject scope for widget creation.

#rb jordan.cristiano

#ROBOMERGE-AUTHOR: evgenii.babinets
#ROBOMERGE-SOURCE: CL 19573319 via CL 19573342 via CL 19573359 via CL 19573368
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19575901 by evgenii babinets in ue5-main branch]
2022-03-31 14:28:47 -04:00
Matt Peters
46290e86ee AssetDataGatherer: Change serialization format of dependencies in the editor's AssetDataGatherer cache to improve load performance.
#rb Zousar.Shaker
#rnx
#preflight 6245a64e637925b5d3c6c729

[CL 19571741 by Matt Peters in ue5-main branch]
2022-03-31 09:16:55 -04:00
mark lintott
bc9b168688 Add new Unit Tests
#rb Chris.Constantinescu
#preflight 62458f77292f228e09013681

[CL 19571202 by mark lintott in ue5-main branch]
2022-03-31 07:45:37 -04:00
steve robb
cc99fc30da Fix for potential link errors caused by obsolete constructor.
[FYI] michael.nicolella
#rb robert.manuszewski
#preflight 6244c48f927e60e34159f026

#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19565524 via CL 19565536 via CL 19565552
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19567064 by steve robb in ue5-main branch]
2022-03-30 20:23:51 -04:00
Jeremy Moore
0aebd0267f Add support for getting UScriptStruct on FIntPoint, FIntVector and FIntVector4.
Implement the FIntVector4 property struct and detail customisation.
Added FIntVector and FIntVector4 NAME_ FNames.
#preflight 6244bdb2470aff98e967311a
#rb steve.robb

[CL 19564992 by Jeremy Moore in ue5-main branch]
2022-03-30 17:50:26 -04:00
john barrett
b2685c20c1 Adjusted TWeakObjectPtr to use 0 instead of INDEX_NONE for ObjectIndex, to represent invalid state - so that it correctly implements TIsZeroConstructType in all cases.
#rb Steve.Robb

#ROBOMERGE-AUTHOR: john.barrett
#ROBOMERGE-SOURCE: CL 19562745 via CL 19562747 via CL 19562750 via CL 19562762
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19564545 by john barrett in ue5-main branch]
2022-03-30 17:08:14 -04:00
robert manuszewski
be7f9bed2a Adding Get/SetSingleValue_InContainer functions and making SetObjectPropertyValue_InContainer support setters and getters
#preflight 62443a55b33098a72db96968
#rb Steve.Robb

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19555462 via CL 19556433 via CL 19556448 via CL 19556458
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19561508 by robert manuszewski in ue5-main branch]
2022-03-30 14:40:25 -04:00
evgenii babinets
fbf0fa89d9 Added the ability for an individual UObject class to change how its name is reported in stat IDs. This allows us to change stats like PlayerPawn.NiagaraComponent to PlayerPawn.FootstepFX.
#rb robert.manuszewski, jordan.cristiano

#ROBOMERGE-AUTHOR: evgenii.babinets
#ROBOMERGE-SOURCE: CL 19541807 via CL 19541845 via CL 19541853 via CL 19541867
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19543397 by evgenii babinets in ue5-main branch]
2022-03-29 11:54:17 -04:00
Matt Peters
06da3c7714 Comment fix: Fix copy-paste error and add details in IsShortPackageName function comment.
#rb Sebastian.Thomeczek
#rnx
#preflight 62423527637925b5d39d73db

[CL 19534873 by Matt Peters in ue5-main branch]
2022-03-28 18:49:12 -04:00
robert manuszewski
525ab5505e Implementing GetObjectPropertyValue_InContainer that can use property getters
#rb Steve.Robb
#preflight 6241a71bbd063ab82296c382

#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 19525841 via CL 19527022 via CL 19527468 via CL 19527493
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19532696 by robert manuszewski in ue5-main branch]
2022-03-28 16:26:36 -04:00
jason adcock
d6a11fb82c Fix Replicated Bitfields being incompatible across compilers/platforms
#jira UE-121826
#rb ryan.gerleve

#ROBOMERGE-AUTHOR: jason.adcock
#ROBOMERGE-SOURCE: CL 19522301 via CL 19522303 via CL 19522304
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19522549 by jason adcock in ue5-main branch]
2022-03-27 08:44:08 -04:00
johan torp
5c2624134d Optimize AssetTools AdvancedCopyPackages and add batch versions of ForceReplaceReferences and ConsolidateObjects
331s -> 0.28s to consolidate objects when cloning a small shooting range map

#rb Robert.Manuszewski,Chris.Gagnon,Francis.Hurteau,Jamie.Dale,JeanLuc.Corenthin,Phillip.Kavan

#ROBOMERGE-AUTHOR: johan.torp
#ROBOMERGE-SOURCE: CL 19507095 via CL 19507103 via CL 19507108 via CL 19507110
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19514683 by johan torp in ue5-main branch]
2022-03-25 12:41:16 -04:00
Tim Smith
18468119c1 Updated UHT in UBT with changes to getter/setter lookup.
Fixed comment issue at the end of function declarations.
Fixed nested include file issue.
Fixed issue with RigVM visible arguments.
Updated NoExportTypes.h to mark two structures as core types.
Fixed type check for bit fields in Getter/Setters.

#rb none
#rnx
#preflight 623daea315497b40c209e1c5

[CL 19510306 by Tim Smith in ue5-main branch]
2022-03-25 08:19:29 -04:00
chris constantinescu
ae281656f2 Tests converted from 18848115 made to work multi-platform.
Not all were converted because they were designed for packaged applications whereas low level tests are designed to run as "native" non-packaged applications.
- reporting support for non-desktop platforms, for the moment Catch2 report type "console" is used that is sent to a .out file
- most number of tests possible running multi platform, slower tests excluded on incremental builds
- slow tests are moved to run on the monolithic build
- Catch2 report failure event listener such that Horde detects them as build errors. Must add new Horde matcher for Catch2 failures

#rb Mark.Lintott
#preflight 623c8de389625f0612dabd64

[CL 19498448 by chris constantinescu in ue5-main branch]
2022-03-24 13:28:25 -04:00
jamie dale
2ff05baf3c Added bIsRegeneratingOnLoad to PostCDOCompiled context
#jira
#preflight 623b23201302f69e9a917476
#rb Rex.Hill, Josh.May

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19480793 via CL 19481197 via CL 19493930 via CL 19494003
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v936-19480137)

[CL 19495553 by jamie dale in ue5-main branch]
2022-03-24 10:48:47 -04:00
Jon Nabozny
8a888b2953 Add a console command that can be used to resolve Soft Object Paths in Editor, and change the warning for broken Soft Object Paths to include the Referencing Package Name.
#preflight 623ba15f0820efd094ae9d74

[CL 19488066 by Jon Nabozny in ue5-main branch]
2022-03-23 18:51:45 -04:00
Zousar Shaker
54f4fcf8ca Fix blueprint code for replacing placeholder objects so that it is aware of FObjectPtr properties and handles them appropriately when they are unresolved (lazy loaded).
#rb marc.audy
#preflight 623b9751be1e4104d370bd4c

[CL 19487344 by Zousar Shaker in ue5-main branch]
2022-03-23 18:09:51 -04:00
Steve Robb
897dd170ab Replacement of DEPRECATED_MACRO with UE_DEPRECATED_MACRO.
#rb devin.doucette
#jira none
#preflight 623b225a7b69b01ec16118a7

[CL 19480377 by Steve Robb in ue5-main branch]
2022-03-23 12:07:25 -04:00
bob tellez
da76f259ef #UE AttemptToFindUninitializedScriptStructMembers optimization. Only call constructors in FScriptStructTestWrapper if the data will actually be used.
[FYI] Michael.Noland

#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 19456342 via CL 19459834 via CL 19462047 via CL 19462138
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v933-19451510)

[CL 19463632 by bob tellez in ue5-main branch]
2022-03-22 00:14:00 -04:00
Matt Peters
99f564f1cf UnversionedPropertySerialization: declare an FSerializedPropertyScope when load-serializing in the editor, so that EditorDomain loads will correctly notice SoftObjectPath properties that are marked untracked.
#rb Johan.Torp
#rnx
#preflight 6238782810251d53d55e1d2e

[CL 19451055 by Matt Peters in ue5-main branch]
2022-03-21 09:11:37 -04:00
matt peters
716be0f4a2 FAssetData: Callsites need to handle AssetData.GetClass() returning null. Added IsInstanceOf(UClass*) for the common operation GetClass() && GetClass->IsChildOf(BaseClass).
#jira UE-146521
#rb Zousar.Shaker
#rnx
#preflight 6234e1b4ed772061b62b6c66
#lockdown Simon.Tourangeau

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 19440852 in //UE5/Release-5.0/... via CL 19441616
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19442531 by matt peters in ue5-main branch]
2022-03-18 18:56:39 -04:00
matt peters
56ea8044e7 UnversionedPropertySerialization: Declare an FSerializedPropertyScope when save-serializing, to match the VersionedProperty case. This scope is needed when loading and saving in the editor so that FSoftObjectPath::PostLoad or FPackageHarvester::operator<<(FSoftObjectPath) can detect whether an untracked Property is on the serialize stack and mark the property as editor-only if so.
#preflight 623385fff101b8d0afa76c71
#jira UE-146434
#rb Francis.Hurteau, Johan.Torp
#rnx
#lockdown Simon.Tourangeau

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 19437812 in //UE5/Release-5.0/... via CL 19439211
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v930-19419903)

[CL 19442453 by matt peters in ue5-main branch]
2022-03-18 18:52:18 -04:00