Commit Graph

188 Commits

Author SHA1 Message Date
JeanMichel Dignard
d4f0f4d3f2 Copying //UE4/Dev-Enterprise @ cl 9420543 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9420574 by JeanMichel Dignard in Main branch]
2019-10-04 13:11:45 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
Per Larsson
70ec7da1da [AsyncLoading] Explicit shutdown of async loading
- reverted changes from CL 8231774
- added ShutdownAsyncThread in UObjectBaseShutdown

#jira UE-79704
#fyi Stefan.Boberg
#codereview pj.kack

[CL 8653832 by Per Larsson in Main branch]
2019-09-12 04:37:45 -04:00
Josh Markiewicz
d79515867d Copying //UE4/Dev-Online to Dev-Main (//UE4/Dev-Main)
- Up to CL8320930 from DevOnline and 8311605 Merge Down from Main
- skipped some Fortnite content/plugins/code where it tried to reintegrate files that had been moved pending investigation
#rb none

[CL 8321295 by Josh Markiewicz in Main branch]
2019-08-26 18:35:22 -04:00
uriel doyon
f442a8b53a Prevent async loading textures from stalling the gamethread in Postload(), when using async loading packages.
#jira none
#rb robert.manuszewski

#ROBOMERGE-SOURCE: CL 7625615 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v372-7473910)

[CL 7625620 by uriel doyon in Main branch]
2019-07-25 10:38:23 -04:00
hongyi yu
97ca6811f1 Support duplicating non-optional mips in uptnl file, which will reduce IO seek time when loading textures with optional mips
- Since non-optional mips will be duplicated, this will increase build size
- Non-optional mips to be duplicated in uptnl files will be serialized twice when cooking, once in ubulk and once in uptnl
- Duplication can be controlled per LODGROUP in TextureLODGroups with attribute DuplicateNonOptionalMips
- When loading a texture with optional mips, if uptnl is available, all non-inline mips will be loaded from uptnl instead of from ubulk to reduce IO seek time and will improve performance

#rb Uriel.Doyon,Daniel.Lamb


#ROBOMERGE-OWNER: hongyi.yu
#ROBOMERGE-AUTHOR: hongyi.yu
#ROBOMERGE-SOURCE: CL 7611162 via CL 7611168 via CL 7611174 via CL 7620882
#ROBOMERGE-BOT: (v372-7473910)

[CL 7620883 by hongyi yu in Main branch]
2019-07-24 20:03:36 -04:00
jamie dale
e3078be104 Fixed crash from CL# 7064412
These needed to be pointers as the map may have data added to it while we have a reference to an element within it.

#jira UE-74604
[FYI] Francis.Hurteau
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 7064703 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7064706 by jamie dale in Main branch]
2019-06-18 12:58:59 -04:00
jamie dale
db80e7469b Cache which fields from a struct/class types need gathering for localization
This removes repeated work iterating fields, and can save a considerable amount of time when processing large arrays of structs.

#jira UE-74604
#rb Francis.Hurteau

#ROBOMERGE-SOURCE: CL 7064412 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7064417 by jamie dale in Main branch]
2019-06-18 11:57:22 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Marc Audy
cf48c338c5 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 6834564
#rb
#rnx
#lockdown Michael.Noland

[CL 6834940 by Marc Audy in Dev-Framework branch]
2019-06-04 09:58:36 -04:00
Martin Ridgers
11b13e1d3d Fixed TraceServices' compile errors when compiling the vanilla editor target, with PCH disabled, and no unity files.
#rb none

[CL 6440636 by Martin Ridgers in Dev-Core branch]
2019-05-14 04:44:58 -04:00
Martin Ridgers
649c7c0200 Copy up of Unreal Insights from //Tasks/UE4/Dev-Core-Trace.
#rb none

[CL 6426511 by Martin Ridgers in Dev-Core branch]
2019-05-13 09:05:12 -04:00
Graeme Thornton
3efdc6df38 Optimize usage of FArchive<->FStructuredArchive adaption objects when text asset support is compiled out. Adapters become simple passthroughs rather than proxies
#rb steve.robb

[CL 6189589 by Graeme Thornton in Dev-Core branch]
2019-05-01 07:28:38 -04:00
Graeme Thornton
229cfcca48 When loading from json formatters, track the number of outstanding elements and pop them from the stack if we leave that scope before they've all been consumed
#rb none

[CL 6189350 by Graeme Thornton in Dev-Core branch]
2019-05-01 04:53:51 -04:00
Johan Torp
b6207ed8ee Deprecated default FName operator < and >
We've had several cases where the previously default alphabetical sorting caused performance issues when it wasn't needed. We now require you to explicitly choose either slow alphabetical sorting or fast non-alphabetical order.

The fast order does not decode, access or compare actual string data, but the order is not stable between process runs.

#rb steve.robb

[CL 5915265 by Johan Torp in Dev-Core branch]
2019-04-16 07:16:12 -04:00
Marc Audy
82e0666ce7 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5450266
#rb
#rnx

[CL 5459329 by Marc Audy in Dev-Framework branch]
2019-03-19 16:16:11 -04:00
robert manuszewski
ad50caceb8 Fixing issues with objects not being serialized before they are being ConditionallyPostLoaded by other objects and LoadContext related crashes
#rb none
#jira UE-69177

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 5401696 in //UE4/Release-4.22/... via CL 5401697
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5445392 by robert manuszewski in Dev-Core branch]
2019-03-19 05:08:53 -04:00
jamie dale
c1cbbf260e Fixed containers failing to gather required instance overrides
If a container element is overridden on an instance, then the entire container is serialized into the instance with different keys than the archetype. This means that all elements of a container need to be gathered if any elements within the container have changed.

#jira UE-71447
#rb Francis.Hurteau
#rnx

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 5371132 in //UE4/Release-4.22/... via CL 5371133
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5429019 by jamie dale in Dev-Core branch]
2019-03-18 11:50:43 -04:00
richard talbotwatkin
dcf3dc0942 Support for BulkData with 64-bit sizes. This is implemented via an additional BULKDATA flag, rather than with versioning, as BulkData is often loaded from unversioned archives, e.g. from DDC via FMemoryReader.
This addresses the issue of enormous meshes >2Gb being unimportable (since source model data is stored as bulk data and loaded by the editor on demand).
This *won't* address the related problem that reading a large BulkData into a TArray is still not possible due to the 31-bit index limit on TArray.
#jira UE-58325
#rb Gil.Gribb

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: richard.talbotwatkin
#ROBOMERGE-SOURCE: CL 5337393 in //UE4/Release-4.22/... via CL 5338028
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5407648 by richard talbotwatkin in Dev-Core branch]
2019-03-15 03:12:27 -04:00
robert manuszewski
ced336ef57 Fixing issues with objects not being serialized before they are being ConditionallyPostLoaded by other objects and LoadContext related crashes
#rb none
#jira UE-69177

#ROBOMERGE-SOURCE: CL 5401696 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5401697 by robert manuszewski in Main branch]
2019-03-14 17:10:18 -04:00
jamie dale
9069eb815f Fixed containers failing to gather required instance overrides
If a container element is overridden on an instance, then the entire container is serialized into the instance with different keys than the archetype. This means that all elements of a container need to be gathered if any elements within the container have changed.

#jira UE-71447
#rb Francis.Hurteau
#rnx

#ROBOMERGE-SOURCE: CL 5371132 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5371133 by jamie dale in Main branch]
2019-03-12 16:19:05 -04:00
Ben Zeigler
d75f5eade4 #jira UE-69214 Deprecate FArchiveTraceRoute and related classes and replace all engine uses with FReferenceChainSearch, which is now correctly exposed instead of requiring a static exec of "obj refs".
Improve obj refs to print out detailed information about FGCObjects if they implement GetReferencerName.
Change StreamableManager to register a debug name and remove some deprecated functions.
#codereview robert.manuszewski
#rb marc.audy

[CL 5365249 by Ben Zeigler in Dev-Framework branch]
2019-03-11 19:48:17 -04:00
Richard TalbotWatkin
cf7faad17b Support for BulkData with 64-bit sizes. This is implemented via an additional BULKDATA flag, rather than with versioning, as BulkData is often loaded from unversioned archives, e.g. from DDC via FMemoryReader.
This addresses the issue of enormous meshes >2Gb being unimportable (since source model data is stored as bulk data and loaded by the editor on demand).
This *won't* address the related problem that reading a large BulkData into a TArray is still not possible due to the 31-bit index limit on TArray.
#jira UE-58325
#rb Gil.Gribb

#ROBOMERGE-OWNER: Richard.TalbotWatkin
#ROBOMERGE-AUTHOR: richard.talbotwatkin
#ROBOMERGE-SOURCE: CL 5337393 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5338028 by Richard TalbotWatkin in Main branch]
2019-03-07 11:57:59 -05:00
Steve Robb
f26c04a743 Performance fixes to TSortedMap with FName keys - FName comparison is way slower (case insensitive string comparison) compared to index comparison.
#rb johan.torp
#fyi james.golding, marc.audy, mike.beach

[CL 5311692 by Steve Robb in Dev-Core branch]
2019-03-06 04:13:16 -05:00
Marc Audy
6c6b055f0e Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 5271686
#rb
#rnx

[CL 5282523 by Marc Audy in Dev-Framework branch]
2019-03-04 10:23:33 -05:00