Commit Graph

3104 Commits

Author SHA1 Message Date
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
ben hoffman
141ecb374b Double property support in blueprint for UFunctions, BP Variables, and conversions to floats
#jira UE-94120
#rb dan.oconnor
#fyi michael.noland

[CL 13648510 by ben hoffman in ue5-main branch]
2020-06-08 19:02:07 -04:00
Matt Kuhlenschmidt
603a4119c5 Fix HAL/PlatformFileManager.h non-portable casing CIS issues
#rb none

[CL 13214257 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-06 17:58:18 -04:00
pj kack
8051b7262e AsyncLoading2: Don't assume all public exports always exists, some may have been filtered out by game type.
#rb none

#ROBOMERGE-SOURCE: CL 13177903 via CL 13177905 via CL 13177915 via CL 13177922
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13177925 by pj kack in Main branch]
2020-05-05 09:56:09 -04:00
dan phillips
c5c2f98ae9 Add some more logging when we call FAsyncLoadingThread::FlushLoading, the number of packages currently queued.
ben.woodhouse, serge.bernier

#ROBOMERGE-SOURCE: CL 13147014 via CL 13151189 via CL 13151212 via CL 13151226 via CL 13151259
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13151275 by dan phillips in Main branch]
2020-05-04 15:14:08 -04:00
pj kack
6a096853e0 AsyncLoading2: Replace GlobalImports with PublicExports.
Move RefCount tracking for imports from import object level to package level.
Only track currently loaded public exports, and their packages.
Replace import object weak pointers with public export raw pointers (uobject index).
Add new NotifyUnreachableObjects GC hook to get information about all objects to be destroyed.
When a public export is destroyed, clean up its raw pointer, and mark its package as not loaded.
When a package is destroyed, clean up its ref count tracking data.

#rb per.larsson


#ushell-cherrypick of 13114335 by PJ.Kack

#ROBOMERGE-SOURCE: CL 13147624 via CL 13147625 via CL 13147626 via CL 13147627
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13147628 by pj kack in Main branch]
2020-05-04 09:14:12 -04:00
robert manuszewski
75259805b2 Fixed botched merge
#rb trivial

#ROBOMERGE-SOURCE: CL 13147042 via CL 13147043 via CL 13147045 via CL 13147048
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13147049 by robert manuszewski in Main branch]
2020-05-04 06:26:04 -04:00
robert manuszewski
3a1f826448 Proper fix to workaround the fact that some *GeneratedClasses mark themselves as CLASS_Native. Token stream generation code will now skip class refernces for classes marked as EInternalObjectFlags::Native which is also used by GC to skip marking objects as unreachable.
#rb Steve.Robb

#ROBOMERGE-SOURCE: CL 13146999 via CL 13147000 via CL 13147001 via CL 13147003
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13147004 by robert manuszewski in Main branch]
2020-05-04 06:06:12 -04:00
marc audy
8c6db26890 Fix return of incorrect type
#jira
#rnx

#ROBOMERGE-SOURCE: CL 13136360 via CL 13136361 via CL 13136369
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13136371 by marc audy in Main branch]
2020-04-30 21:44:33 -04:00
marc audy
7276e728fe Remove stray ;
#jira
#rnx

#ROBOMERGE-SOURCE: CL 13136244 via CL 13136250 via CL 13136261
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13136268 by marc audy in Main branch]
2020-04-30 21:22:38 -04:00
marc audy
e8dfeec388 Missed file for CL# 13136175
#jira
#rnx

#ROBOMERGE-SOURCE: CL 13136225 via CL 13136228 via CL 13136239
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13136265 by marc audy in Main branch]
2020-04-30 21:22:35 -04:00
marc audy
357f07fd39 Add FindMetaData function that returns a const FString* to the metadata value for the given key rather than having to do Has then Get or assume value does not exist based on empty string from Get.
Added Move versions of UMetadata::SetObjectValues and FField::SetMetaData
#jira

#ROBOMERGE-SOURCE: CL 13136175 via CL 13136187 via CL 13136221
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13136264 by marc audy in Main branch]
2020-04-30 21:22:33 -04:00
marc audy
a13d749719 Don't allocate and free memory constantly for the PostInitProperties routing validation
#rb Dan.OConnor
#jira
#rnx

#ROBOMERGE-SOURCE: CL 13131815 via CL 13131823 via CL 13131860
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13131883 by marc audy in Main branch]
2020-04-30 18:03:12 -04:00
stefan boberg
b59f4158ed Added #include of GarbageCollection.h to GarbageCollectionVerification.h to ensure we compile consistently in non-unity builds
#rb none
#ushell-cherrypick of 13063827 by Stefan.Boberg

#ROBOMERGE-SOURCE: CL 13131504 via CL 13131505 via CL 13131510 via CL 13131515
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13131522 by stefan boberg in Main branch]
2020-04-30 17:29:56 -04:00
stefan boberg
153408b6f2 Compile out Garbage Collection, Core Redirect and SavePackage related code in UHT since they contribute greatly to the overall build time. Brings down a clean build of QAGame client win64 to under three minutes from just under four minutes
#rb steve.robb, robert.manuszewski
#ushell-cherrypick of 13054870 by Stefan.Boberg

#ROBOMERGE-SOURCE: CL 13131491 via CL 13131495 via CL 13131499 via CL 13131503
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13131508 by stefan boberg in Main branch]
2020-04-30 17:28:52 -04:00
robert manuszewski
d85828e3f2 Temporarily disabling GC optimization because some script generated classes pretend to be native classes
#rb Jamie.Dale

#ROBOMERGE-SOURCE: CL 13127258 via CL 13127341 via CL 13127363 via CL 13127393
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v687-13115495)

[CL 13127436 by robert manuszewski in Main branch]
2020-04-30 15:19:28 -04:00
johan torp
1e37b24a2a Added UPS package bit to future-proof package header format
#rb pj.kack

#ROBOMERGE-SOURCE: CL 13110281 via CL 13110283 via CL 13110284 via CL 13110286
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13110289 by johan torp in Main branch]
2020-04-30 03:06:26 -04:00
danny couture
c73c5605ad Optimize AssetRegistry Scanning at editor startup
- Restore asset registry cache in editor (disabled in CL 4563987) but provide fix for invalid results
  - Make the cache initialization lazy so we can activate it without performance penalty
  - Provide mecanism in UObjectHash to know when registered classes have changed
  - Activate the cache permanently in editor since it now has a mecanism to know when it needs to be recomputed

  - 1.9s -> 349 ms for time spent in UpdateTemporaryCaches during startup
  - 2.2s -> 1.4s for maximum UFortUnrealEdEngine::Tick time after asset scanning

#rnx
#tests was run with extra validation code comparing cached content against always recomputed original caching code
#rb Steve.Robb, Ben.Zeigler

#ROBOMERGE-SOURCE: CL 13063767 via CL 13064676 via CL 13064753
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13064794 by danny couture in Main branch]
2020-04-29 09:00:18 -04:00
donal maccarthy
c36155a296 Replace ContentMountPointCriticalSection with an FRWLock to allow for concurrent Reads
#ROBOMERGE-SOURCE: CL 13063413 via CL 13063415 via CL 13063416
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13063417 by donal maccarthy in Main branch]
2020-04-29 05:07:07 -04:00
robert manuszewski
1751ab9efe FFieldPaths should no longer re-resolve themselves each time a blueprint is destroy and only re-resolve if the blueprint that owns the property they resolve to is destroyed / or recompiled.
Changing how FFieldPaths (TFieldPaths) are internally stored and serialized. Now instead of storing the full path (from the outermost UPackage to the innermost FProperty) FFieldPaths will store the owner UStruct reference and a short path to its property (or inner property of its property). The same applies to serialization: both the owner UStruct reference and only the short path will be serialized.
Serializing the owner reference will enable proper handling of any owner struct package renames as well as greatly increase the initial field (property) resolution performance.

#rb Steve.Robb
#jira UE-91580
#lockdown cristina.riveron

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 13055035 in //UE4/Release-4.25/... via CL 13055038 via CL 13055094
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13055096 by robert manuszewski in Main branch]
2020-04-28 10:52:30 -04:00
brant french
f01439c42e Fixed problem where profiler scope names would sometimes be inaccurate.
[at]Andrew.Ladenberger, [at]Josh.Adams
#RB Josh.Adams
#RNX

#ROBOMERGE-SOURCE: CL 13049220 via CL 13049520 via CL 13049561 via CL 13049605
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13049630 by brant french in Main branch]
2020-04-27 14:17:57 -04:00
robert manuszewski
058d448305 When cooking, references to editor-only FProperties will be nulled out
#rb trivial
#tests cooked windows client and server, cooked build bot soak tests

#ROBOMERGE-SOURCE: CL 13046480 via CL 13046482 via CL 13046483 via CL 13046485
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13048456 by robert manuszewski in Main branch]
2020-04-27 13:01:59 -04:00
paul chipchase
c77f1b829c Fix lock condition check when reallocating BulkData.
The condition got incorrectly set when improving the error message.

#rb none
#jira UE-92399
#rnx


#ushell-cherrypick of 13030822 by paul.chipchase

#ROBOMERGE-SOURCE: CL 13030853 in //UE4/Release-4.25Plus/... via CL 13030867
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v683-13008971)

[CL 13030870 by paul chipchase in Main branch]
2020-04-24 04:03:16 -04:00
jeff newquist
5969077fc4 Added volatile keyword to WaitCompletionImpl to ensure compilers don't just optimize the check away.
#rb rune.stubbe
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 13007135 in //UE4/Release-4.25/... via CL 13007150 via CL 13007159
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 13007166 by jeff newquist in Main branch]
2020-04-23 11:00:55 -04:00