Commit Graph

3943 Commits

Author SHA1 Message Date
Francis Hurteau
3da268ce6d Modified FlushTree to FlushRequest and being a simple wrapper around a package loading request
Automatically propagate explicit package load request association to a package dependencies which allow flush request to process only related packages while skipping others
This should also allow FlushAsyncLoading to be re-entrant down the line
Suppress the transaction system while ticking async loading in the main thread
Added an editor config to enabled the async loading thread. Currently non functional

#rb CarlMagnus.Nordin
#preflight 623e0081a67e4e1ab70598d7

[CL 19626072 by Francis Hurteau in ue5-main branch]
2022-04-05 11:29:57 -04:00
jamie dale
1fe23a7057 Fix-up FSoftObjectPath/FSoftObjectPtr during load of an instanced package
#jira UE-144884
#preflight 624b2c10dc6183e3f546ed00
#rb Francis.Hurteau, CarlMagnus.Nordin
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19613732 via CL 19614798 via CL 19614837 via CL 19614865
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19616233 by jamie dale in ue5-main branch]
2022-04-04 18:21:24 -04:00
Dan Thompson
cd73707429 Update package writers to gather package hashes internally, then have CookByTheBookFinished copy them to asset package datas.
Add iostore chunk hashes to the asset registry during cook.
Remove old hashing code, which was extensive. This moves the async writes in to UE::Task from the old AsyncWorkSequence().
#rb Matt.Peters
#rb Jeff.Roberts
#preflight 624b24a5f73c316f68303946

[CL 19611812 by Dan Thompson in ue5-main branch]
2022-04-04 13:26:27 -04:00
Thomas Sarkanen
7743ce28c3 Added GetImplementingOuter, an interface counterpart to GetTypedOuter
#jira none
#rb Steve.Robb
#preflight 624b07cde434babd8a326154

[CL 19609482 by Thomas Sarkanen in ue5-main branch]
2022-04-04 11:18:03 -04:00
Steve Robb
cc12aaac04 Math macro prefix fixes for CoreUObject and Engine.
#rb none
#jira UE-140139
#preflight 624af57b637925b5d3fb9fef

[CL 19609424 by Steve Robb in ue5-main branch]
2022-04-04 11:13:42 -04:00
Patrick Enfedaque
d31019c9e9 - FLinkerInstancingContext: Add Tag support
- Use FLinkerInstancingContext Tag to load all external actors instead of using a global map

#rb richard.malo, jeanfrancois.dube, francis.hurteau
#preflight 624aea29c51908059ae6b82f
#rnx

[CL 19607995 by Patrick Enfedaque in ue5-main branch]
2022-04-04 09:31:43 -04:00
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