Commit Graph

850 Commits

Author SHA1 Message Date
Robert Manuszewski
3cbdecd043 Basic support for flushing async loading for the specified package only.
[CL 2600250 by Robert Manuszewski in Main branch]
2015-06-25 04:47:30 -04:00
Maciej Mroz
f74396e9e1 RF_IsWeaklyReferencedOnFrame flag added. GC cannot rmove object referenced form Persisten Frame. The reference is nulled first.
UE-13798 Make the shared state of the event graph use something akin to weak ptrs

#codereview Robert.Manuszewski, Nick.Whiting

[CL 2600187 by Maciej Mroz in Main branch]
2015-06-25 03:32:30 -04:00
Robert Manuszewski
3ae9546708 Always try to find packages and objects in memory before attempting to load them.
[CL 2600088 by Robert Manuszewski in Main branch]
2015-06-25 01:17:40 -04:00
Dmitriy Dyomin
c0bf9f06dd Custom UV region for FSlateBrush. When valid - slate will use brush UV instead of UV specified in resource proxy.
Slate resource manager accepts UTexture2Dynamic as a resource.
#codereview matt.kuhlenschmidt

[CL 2599980 by Dmitriy Dyomin in Main branch]
2015-06-24 22:23:06 -04:00
Robert Manuszewski
299920bf38 Adding prefixes to GC and Streaming console commands to make them more discoverable. Also added a few placeholder commands to suppress warnings on startup.
Console commands affected:

s.AsyncIOBandwidthLimit
s.MinBulkDataSizeForAsyncLoading
s.AsyncLoadingThreadEnabled
s.WarnIfTimeLimitExceeded
s.TimeLimitExceededMultiplier
s.TimeLimitExceededMinTime
s.UseBackgroundLevelStreaming
s.PriorityAsyncLoadingExtraTime
s.LevelStreamingActorsUpdateTimeLimit
s.LevelStreamingComponentsRegistrationGranularity

gc.MaxObjectsNotConsideredByGC
gc.SizeOfPermanentObjectPool
gc.FlushStreamingOnGC
gc.NumRetriesBeforeForcingGC
gc.AllowParallelGC
gc.TimeBetweenPurgingPendingKillObjects
gc.CollectGarbageEveryFrame
gc.StressTestGC

New console variables:
s.UseBackgroundLevelStreaming
s.AsyncLoadingTimeLimit
s.AsyncLoadingUseFullTimeLimit
s.PriorityAsyncLoadingExtraTime
s.LevelStreamingActorsUpdateTimeLimit
s.LevelStreamingComponentsRegistrationGranularity

[CL 2596909 by Robert Manuszewski in Main branch]
2015-06-23 08:18:32 -04:00
Robert Manuszewski
c9525292b5 Fix for crash when restarting level after streaming levels in.
[CL 2596878 by Robert Manuszewski in Main branch]
2015-06-23 06:03:03 -04:00
Fred Kimberley
21ff67e268 Merging using UE4-Fortnite-To-UE4
Integration from CL 2589598.

[CL 2596395 by Fred Kimberley in Main branch]
2015-06-22 20:28:51 -04:00
Dan Oconnor
4b74037d60 [UE-17419] When super blueprints had been compiled we could incorrectly deferr a blueprint on load because its super blueprint was no longer tagged as RF_LoadCompleted. Checking the linker instead
[CL 2596289 by Dan Oconnor in Main branch]
2015-06-22 18:52:17 -04:00
Justin Sargent
8759e4c253 Removing transient text serialization warning.
[CL 2593966 by Justin Sargent in Main branch]
2015-06-19 14:32:49 -04:00
Mike Beach
06538d3d72 [UE-16444][UE-16915] Guarding against the use of editor-only properties in Blueprints (still allowed for things like Blutilities).
[CL 2591003 by Mike Beach in Main branch]
2015-06-17 17:37:33 -04:00
Robert Manuszewski
13b8c2f953 When queueing new async packages, also look for existing packages in loaded packages to process.
Added UPackage member to FPackageAsync to track both linker and the package.

Made sure async packages get deleted when cancelling async loading

[CL 2590490 by Robert Manuszewski in Main branch]
2015-06-17 14:01:54 -04:00
Robert Manuszewski
451de3009c Fixing crash on exit after streaming levels in cooked game
[CL 2590398 by Robert Manuszewski in Main branch]
2015-06-17 13:21:25 -04:00
Jaroslaw Palczynski
7da0b1f597 Added better messages for ensuring retrieving vtable pointer.
#codereview Robert.Manuszewski

[CL 2589852 by Jaroslaw Palczynski in Main branch]
2015-06-17 05:46:51 -04:00
Nick Darnell
263352a6c1 Engine - Writing better error messages when we fail to resolve package names.
[CL 2589431 by Nick Darnell in Main branch]
2015-06-16 17:50:40 -04:00
Robert Manuszewski
17911361b1 Adding guards to linker deletion so that nothing else can delete them except FLinkerManager.
Moved DeleteLoaders() declaration to Linker.h

[CL 2589184 by Robert Manuszewski in Main branch]
2015-06-16 15:41:55 -04:00
Robert Manuszewski
65fb0ff95e Deferred linker load delete to fix potential crashes when code attempts to access linkers that have already been deleted earlier in the callstack
[CL 2589115 by Robert Manuszewski in Main branch]
2015-06-16 15:08:39 -04:00
Jaroslaw Surowiec
090e8d7ee7 Stats - Added markers for garbage collection
[CL 2588637 by Jaroslaw Surowiec in Main branch]
2015-06-16 10:50:02 -04:00
Robert Manuszewski
a1247009f0 Changing sanity check condition when checking for the linker after sync loading.
[CL 2588633 by Robert Manuszewski in Main branch]
2015-06-16 10:45:33 -04:00
Marc Audy
0390d96d34 Add ForEachObjectWithOuter and ForEachObjectOfClass utility functions that will call a TFunctionRef for each object instead of using GetObjectsWithOuter/OfClass which requires copying each object in to a (potentially very large) array
#codereview Robert.Manuszewski

[CL 2588574 by Marc Audy in Main branch]
2015-06-16 09:58:38 -04:00
Gareth Martin
ec623057f2 Fix crash in UMapProperty serialization
[CL 2588477 by Gareth Martin in Main branch]
2015-06-16 08:04:38 -04:00
Robert Manuszewski
bc0c225c8d Deprecated FAsyncPackage Type as it was not used by anything.
[CL 2587642 by Robert Manuszewski in Main branch]
2015-06-15 14:26:23 -04:00
Steve Robb
0709480948 New IsSorted algorithm.
New FindSortedStringCaseInsensitive algorithm, which binary searches strings in an array.
Many UHT string tests replaced with FindSortedStringCaseInsensitive.
FPropertySpecifier moved to UHT.

#codereview robert.manuszewski

[CL 2587588 by Steve Robb in Main branch]
2015-06-15 13:40:28 -04:00
Robert Manuszewski
3f072c7eda Added missing implementation of FLinkerLoad::FlushCache(), removed unused InitLinkers
[CL 2587492 by Robert Manuszewski in Main branch]
2015-06-15 12:29:53 -04:00
Robert Manuszewski
87d48ff51c Making FLinkerLoad aware of FAsyncPackage association
[CL 2587214 by Robert Manuszewski in Main branch]
2015-06-15 06:15:31 -04:00
Phillip Kavan
f794f4e947 [UE-16281] Fix stale components persisting in a Blueprint class asset after changing a native parent class's inheritance hierarchy.
change summary:
- modified FLinkerLoad::ResolveDeferredExports() to ensure that all default subobjects in the export map for a Blueprint class asset package have been constructed and registered prior to class/CDO regeneration during compile-on-load.

#codereview Mike.Beach, Marc.Audy

[CL 2586252 by Phillip Kavan in Main branch]
2015-06-12 15:38:18 -04:00