Commit Graph

2727 Commits

Author SHA1 Message Date
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
scott nelson
8a674181f8 Add Ability to provide Default PackageFlags to each mount point during CreatePackage
#rb Francis.Hurteau
#preflight 6361809f1a32af63a89cb229

[CL 22918043 by scott nelson in ue5-main branch]
2022-11-02 11:48:28 -04:00
Helge Mathee
747879c204 Core: Array Text import not working for ()
#rb Steve.Robb
#jira UE-134101
#preflight https://horde.devtools.epicgames.com/job/63613e16ef6d25c674605ec6

[CL 22908318 by Helge Mathee in ue5-main branch]
2022-11-02 06:16:07 -04:00
henrik karlsson
8f895fef35 Added includes needed after removing includes in headers
#preflight 6360b63e41625be270a6e464
#rb none

[CL 22888775 by henrik karlsson in ue5-main branch]
2022-11-01 15:14:15 -04:00
henrik karlsson
48faa4b230 [CoreUObject]
* StructOnScope - Removed include of Package
* GeneratedCppInclude - Removed include of Package

Both of these files include Class.h which in turn include Package so no need to add backwards compatibility. Will add backwards compatibility in Class.h when Package.h is removed there (require a bit more work)

#preflight skipped
#rb none

[CL 22888526 by henrik karlsson in ue5-main branch]
2022-11-01 15:06:31 -04:00
andrew scheidecker
a8a6f870ca Add a few missing override specifiers and remove a vestigial method that no longer overrides anything.
#preflight 635fadcc3c0af539fdde0caa

[CL 22864389 by andrew scheidecker in ue5-main branch]
2022-10-31 11:43:34 -04:00
CarlMagnus Nordin
b48cb7ed39 AssetLoadingInsights:
Fixed recursive post loads not being tracked properly
Fixed time calculations for recursive scopes
Added support for load time tracing in the editor
Added time selection filtering to the requests tab
#rb ionut.matasaru
#preflight 635fa5cd1803be35c7ff3bc8

[CL 22858164 by CarlMagnus Nordin in ue5-main branch]
2022-10-31 07:09:17 -04:00
josh may
60aa5758b0 Ensure bCooked doesn't get mistakenly unset during reference collection in cooked versions of the editor.
#preflight 635c47003c0af539fd650f34
#rb jamie.dale, rex.hill

[CL 22850789 by josh may in ue5-main branch]
2022-10-29 03:00:34 -04:00
francis hurteau
2419ef2300 Cap the number of reference gathering when printing invalid references during save since they can be pathologically expensive
#rb Matt.Peters
#preflight 635c3504052cb0bae6b189fd

[CL 22850501 by francis hurteau in ue5-main branch]
2022-10-29 01:53:18 -04:00
anton dunchev
90787f42bc Print script warning caller name.
Printing full stack trace could quickly bloat log, but we can print only top level caller actor to narrow down what BP is responsible for the warning.
Main use case is to catch BP which causes Script Msg: Divide by zero: Divide_VectorFloat and other UKismetMathLibrary errors.

#rb andrew.ladenberger, Steve.Robb
#tests replay run

[CL 22823605 by anton dunchev in ue5-main branch]
2022-10-28 00:34:39 -04:00
jeanfrancois dube
e122ebd425 Backout CL22638298 since it's fixed by CL22654868
[FYI] vincent.beauchemin
Original CL Desc
-----------------------------------------------------------------
Move warning to Log on : Short type name \"%s\" provided for TryFindType. Please convert it to a path name since we would need to resaved all previous Level Instance and map done by Quixel forAncient Game project.

#rb jeanfrancois.dube
#jira UE-163818
#preflight n/a

[CL 22660508 by jeanfrancois dube in ue5-main branch]
2022-10-20 12:52:50 -04:00
vincent beauchemin
7810a4c208 Move warning to Log on : Short type name \"%s\" provided for TryFindType. Please convert it to a path name since we would need to resaved all previous Level Instance and map done by Quixel forAncient Game project.
#rb jeanfrancois.dube
#jira UE-163818
#preflight n/a

[CL 22649023 by vincent beauchemin in ue5-main branch]
2022-10-19 22:38:48 -04:00
phillip kavan
d3b60e4fa7 Don't return an in-memory instance as the import object inside a WITH_EDITOR context if it's still pending a deferred load finalization.
#jira UE-166957
#rb Francis.Hurteau, Ben.Zeigler
#preflight 634f3c3c864d9be2365513a8

[CL 22649021 by phillip kavan in ue5-main branch]
2022-10-19 22:38:43 -04:00
bob tellez
df9555fafc #UE Disable relocation for now
[FYI] Francis.Hurteau

[CL 22647524 by bob tellez in ue5-main branch]
2022-10-19 22:01:53 -04:00
bob tellez
ed66094c96 #UE AssembleTokenStreams optimization. When ProcessNewlyLoadedUObjects, only assemble token streams for the new classes that showed up duing the process
[FYI] PJ.Kack,Johan.Torp

[CL 22636275 by bob tellez in ue5-main branch]
2022-10-19 15:51:00 -04:00
francis hurteau
380eba5440 Only propagate instancing context to other instancing dependencies
#rb JeanFrancois.Dube
#jira UE-162830
#preflight 634da8438c653695a764ee46

[CL 22635658 by francis hurteau in ue5-main branch]
2022-10-19 15:33:14 -04:00
pj kack
643b0644a7 AsyncLoading: Fix "ExistingObject == Object " assert in AsyncLoading2.cpp when booting QAGCookedEditor by avoiding to reload some virtual production cooked blueprint packages.
Fix the non-iostore path so that QAGCookedEditor works with loose cooked and pak files too, at least without optional data.

Tweak [/Script/VPUtilitiesEditor.VPUtilitiesEditorSettings] config to specify these correct class names to async load on editor startup:
+AdditionnalClassToLoad=/VirtualProductionUtilities/VR/VirtualScoutingInteractor.VirtualScoutingInteractor_C
+AdditionnalClassToLoad=/VirtualProductionUtilities/VR/VirtualScoutingTeleporter.VirtualScoutingTeleporter_C

#jira UE-167186
#rb carlmagnus.nordin
#lockdown mark.lintott
#preflight 634ea309837b59dd8264a0fd
#rnx

[CL 22634963 by pj kack in ue5-main branch]
2022-10-19 15:15:44 -04:00
bryan sefcik
40591cbff0 Fixes to get IWYU working/compiling on windows.
#jira
#rb devin.doucette
#preflight 634f228ca1527f6b3beefea2

[CL 22633095 by bryan sefcik in ue5-main branch]
2022-10-19 14:35:34 -04:00
danny couture
871cc8b4b7 Rework AsyncPurge logic to use std atomics and fix TSAN false positive during garbage collection
#rb PJ.Kack, Johan.Torp
#preflight 63400d37d718720d2d84ed6d

[CL 22622170 by danny couture in ue5-main branch]
2022-10-19 07:44:40 -04:00
pj kack
d3724b5712 AsyncLoading2: Optimize loading related memory by releasing big allocations in dynamic data structures after big bursts of loading.
Saves ~3 MB after going from a peak of preloading ~17 000 async packages to in game streaming with a peak of ~700 async packages:
~2.2 MB in AsyncLoading (AsyncLoading2.cpp, StreamableManager.cpp)
~340 KB in FileSystem (IoDispatcherFileBackend.cpp)
~430 KB in Untagged (UObjectBase.cpp)

#rb carlmagnus.nordin
#rnx
#preflight 63496eeda8717e9453c69f2e, 63496f5aad0f7e2f203bbe35

[CL 22595150 by pj kack in ue5-main branch]
2022-10-18 04:03:28 -04:00
francis hurteau
26c4f2c45a Disable relocation reference fix up when loading a package for diff
#jira UE-167127
#rb Matt.Peters
#preflight 6348749f3c37eed48114e9c9

[CL 22537944 by francis hurteau in ue5-main branch]
2022-10-14 18:39:01 -04:00
Per Larsson
109822e0b0 Bulk Data - I/O dispatcher only streaming
- This change removes the explicit usage of the package resource manager when loading bulk data from loose files or the Editor Domain. A new
I/O dispatcher backend reads data from the package resource manager with a new I/O chunk type constructed from a package name/package segment. When
serializing bulk data the I/O chunk type is set to the correct chunk type depending on whether the package is cooked or not.

#rb CarlMagnus.Nordin, Paul.Chipchase
#jira none
#preflight 633bdbc66b10157eac8e1807

[CL 22523877 by Per Larsson in ue5-main branch]
2022-10-14 04:26:10 -04:00
anton dunchev
78c6403446 Moved UObject hasmaps re/allocations from GC and UObject into separate LLM category.
#rb Robert.Millar
[FYI] andrew.ladenberger
#tests Compile/Run/Collect utrace+stacks/look LLM allocations changes

[CL 22505775 by anton dunchev in ue5-main branch]
2022-10-13 11:51:56 -04:00
jeanfrancois dube
06eb08bbe2 Data Validation: added UObject::IsDataValid version taking an FDataValidationContext input and removed newly introduced version that gathers warnings.
No functionnal change, this is mainly to avoid having to introduce new versions of UObject::IsDataValid in the future (old one will be deprecated in 5.2).
Change proposed by nick.darnell.

#rb nick.darnell
#preflight 6346c1d8f93be0f63462e334
#rnx

[CL 22505664 by jeanfrancois dube in ue5-main branch]
2022-10-13 11:46:00 -04:00
bob tellez
9fe245b69f #UE Fix load error due to relocation logic. Imports are not always relocated in the same way
[FYI] Francis.Hurteau

[CL 22505332 by bob tellez in ue5-main branch]
2022-10-13 11:27:48 -04:00