1534 Commits

Author SHA1 Message Date
Stefan Boberg
4b268fc6f3 Work around bulkdata size limit by replacing FBufferArchive with FLargeMemoryWriter
#rb pj.kack
#fyi paul.chipchase
#lockdown cristina.riveron
#jira UE-68414

[CL 9892807 by Stefan Boberg in 4.23 branch]
2019-10-30 12:24:12 -04:00
Robert Manuszewski
2222bf8c93 Fixed a possible hang in GC when the number of objects to be destroyed was dividable by TimeLimitEnforcementGranularityForDeletion (100)
#jira UE-82656
#rb none
#lockdown cristina.riveron

[CL 9882861 by Robert Manuszewski in 4.23 branch]
2019-10-29 13:38:38 -04:00
Ben Marsh
fc03e102f9 Removed use of deprecated NAME_INDEX typedef
#rb trivial
#jira UE-80291

[CL 8740274 by Ben Marsh in 4.23 branch]
2019-09-17 06:54:56 -04:00
Johan Torp
2a4f593f33 StaticFindObject() follow-up fix
#jira UE-79929
#rb robert.manuszewski
#robomerge ignore
#lockdown cristina.riveron

[CL 8739584 by Johan Torp in 4.23 branch]
2019-09-17 06:13:12 -04:00
Johan Torp
89c7afd831 Make StaticFindObject() handle searching for any package with a package-specifying string
The change in behavior was introduced by an optimization in UE 4.23

#jira UE-79929
#rb robert.manuszewski
#lockdown stefan.boberg

[CL 8686310 by Johan Torp in 4.23 branch]
2019-09-16 03:29:44 -04:00
Per Larsson
0a71db07e6 [AsyncLoading] Explicit shutdown of async loading
- reverted changes from CL 8231774
- added ShutdownAsyncThread in UObjectBaseShutdown

#jira UE-79704
#rb ben.marsh
#lockdown cristina.riveron

[CL 8653853 by Per Larsson in 4.23 branch]
2019-09-12 04:48:05 -04:00
Ben Marsh
c9a47fccb0 Last batch of IncludeTool fixes (hopefully).
#jira
#rb none
#rnx

[CL 8376637 by Ben Marsh in 4.23 branch]
2019-08-29 17:31:22 -04:00
Arciel Rekman
23fa651db1 Fix a compile issue (missing semicolon).
#rnx
#rb none
#jira none
#fyi Ben.Marsh
#lockdown Cristina.Riveron

[CL 8374691 by Arciel Rekman in 4.23 branch]
2019-08-29 14:53:34 -04:00
Ben Marsh
3ca6d85983 More IncludeTool fixes.
#rb none
#rnx
#jira

[CL 8374228 by Ben Marsh in 4.23 branch]
2019-08-29 13:59:05 -04:00
Jack Porter
67c6f97953 Clamp FirstObjectIndex as a temporary workaround for rare crash during GC
#jira UE-76532
#rb Allan.Bentham
#robomerge deadend
#lockdown Cristina.Riveron
#fyi robert.manuszewski

[CL 8326327 by Jack Porter in 4.23 branch]
2019-08-27 05:23:03 -04:00
Uriel Doyon
994c2e001b Part 2 of async loading stall workaround when post-loading async textures.
#jira none
#rb robert.manuszewski

[CL 7951766 by Uriel Doyon in 4.23 branch]
2019-08-12 15:07:19 -04:00
Martin Wilson
e2d075f1e3 Back out changelist 7879411 until EngineTest issue can be debugged / fixed
#Jira none
#rb Benn.Gallagher

[CL 7925653 by Martin Wilson in 4.23 branch]
2019-08-09 09:24:20 -04:00
Martin Wilson
72faf3aa88 Fix sub object reinstancing when serialized sub object type does not match CDO object type
#jira UE-74873
#rb Gil.Gribb

[CL 7879411 by Martin Wilson in 4.23 branch]
2019-08-08 10:05:15 -04:00
PJ Kack
828518adbe Fix invalid file read crashes in AssetRegistry by properly handling IO errors when saving source files in the editor
#jira UE-76923
#rb steve.robb

[CL 7705989 by PJ Kack in 4.23 branch]
2019-08-02 09:47:50 -04:00
Robert Manuszewski
fde02b3ed1 Fixing CIS
#rb none
#jira UE-78139

[CL 7668919 by Robert Manuszewski in 4.23 branch]
2019-07-31 07:58:11 -04:00
Robert Manuszewski
f2d054593f Making cooked Animation Blueprints work in the editor
#jira UE-68214
#rb none

[CL 7668802 by Robert Manuszewski in 4.23 branch]
2019-07-31 06:45:46 -04:00
Fred Kimberley
645e962552 Have blueprints call IsDataValid on their simple construction script inside their IsDataValidFunction. Simple construction script now calls IsDataValid on its SCS nodes. This ensures that components added to the blueprint are checked when we're validating the blueprint.
#jira UE-76630
#rb Michael.Noland

[CL 7661624 by Fred Kimberley in 4.23 branch]
2019-07-30 14:23:40 -04:00
sebastian nordgren
25e368a146 Adding values to a set or map in a blueprint's defaults no longer fires a check().
#jira UE-77870

#rb paul.chipchase

[CL 7659231 by sebastian nordgren in 4.23 branch]
2019-07-30 07:40:05 -04:00
Uriel Doyon
43b5884bc6 Prevent async loading textures from stalling the gamethread in Postload(), when using async loading packages.
#jira none
#rb robert.manuszewski

[CL 7625615 by Uriel Doyon in 4.23 branch]
2019-07-25 10:37:59 -04:00
Robert Manuszewski
c40c9763cb Fixed crashes related to multithreaded destruction of widget components
#rb none
#jira UE-77600

[CL 7473681 by Robert Manuszewski in 4.23 branch]
2019-07-22 04:46:15 -04:00
Robert Manuszewski
bc6b921100 Fixed log warning to reflect the current way of allowing cooked content in the editor
#rb none
#jira UE-68214

[CL 7437284 by Robert Manuszewski in 4.23 branch]
2019-07-18 09:21:31 -04:00
Robert Manuszewski
a094a34dd0 Fixed a few issues with running the final Garbage Collector pass when exiting:
+ Fixed a crash when exiting early during init caused by disregard for GC set not being closed
+ Fixed a crash when exiting early during init caused by classes not being fully initialized
+ Added guards to prevent other threads from manipulating UObjects when the final GC runs
+ The final GC will not use multithreaded destruction as it will not help with GC speed when there's no time limit for GC

#rb none
#jira UE-76884

[CL 7318512 by Robert Manuszewski in 4.23 branch]
2019-07-16 04:54:22 -04:00
Jon Nabozny
ea2d81106d Make sure Blueprint Property Conditions are actually serialized out with UProperties, so they aren't lost in packaged games.
UNTESTED

#review @Brian.Bekich, @Ryan.Gerleve
#jira UE-43969
#rb Ryan.Gerleve
#lockdown Ryan.Gerleve

[CL 7260552 by Jon Nabozny in 4.23 branch]
2019-07-10 09:57:41 -04:00
danny couture
d5884446f7 Provide caching for FindViewComponentForActor to improve editor responsiveness when a selected actor contains many others.
- Add GetAttachedActor overload which takes a functor so we can iterate more effectively and abort iteration if needed.
    - 5 sec to 90ms per frame (55x improvement) when selected actor contains 60 000 others.
    - 43 sec to 2s (21x improvement) for CaptureSceneThumbnail at the end of datasmith import for a 60 000 actors scene.

From dev-enterprise@7062261,7063185

#rb Steve.Robb, Marc.Audy, JeanMichel.Dignard
#jira UE-77027

[CL 7259947 by danny couture in 4.23 branch]
2019-07-10 05:33:32 -04:00
sebastian nordgren
e10d024f31 FScriptMapHelper and FScriptSetHelper now have a GetInternalIndex that maps a logical index (ie. Nth element) to the internal index.
#rb steve.robb

#jira UE-75123

Source: 6932549 (Dev-Editor)

[CL 7247481 by sebastian nordgren in 4.23 branch]
2019-07-09 03:39:23 -04:00