Commit Graph

5258 Commits

Author SHA1 Message Date
ben zeigler
125c78ebb1 Improve comments on LazyObjectPtr to make the limitations clear and warn about future deprecation in favor of SoftObjectPtr
#rb jonathan.bard
#jira UE-100304

[CL 26269416 by ben zeigler in ue5-main branch]
2023-06-27 16:27:28 -04:00
jeanfrancois dube
ff606c42b5 Make sure to clear the RF_HasExternalPackage flag before removing from the external package hash table to avoid a race condition.
#rb francis.hurteau, matt.peters

[CL 26269084 by jeanfrancois dube in ue5-main branch]
2023-06-27 16:15:31 -04:00
matt peters
3c2682f374 FArchiveStackTrace: Deprecate the public interface and move it into a private helper class of DiffPackageWriter.
#rb Zousar.Shaker
#rnx

[CL 26269033 by matt peters in ue5-main branch]
2023-06-27 16:13:59 -04:00
kirill zorin
3fa621efb7 Adding missing GC barriers to runtime
#rb robert.manuszewski

[CL 26266759 by kirill zorin in ue5-main branch]
2023-06-27 14:54:53 -04:00
robert millar
fe54bdfac5 Disable PIE soft object path fixup tests outside of editor.
#rb none

[CL 26262088 by robert millar in ue5-main branch]
2023-06-27 13:00:49 -04:00
andrew phillips
70643e746e Adding CVar to control the Archetype cache usage
[CL 26254454 by andrew phillips in ue5-main branch]
2023-06-27 07:36:56 -04:00
robert manuszewski
b5e73242e3 Experimental support for Incremental Reachability Analysis (second attempt)
Disabled by default. gc.AllowIncrementalReachability controls if it's enabled or not.
gc.IncrementalReachabilityTimeLimit controls time limit (defaults to 0.005 = 5ms)
gc.VerifyNoUnrachableObjects (defaults to 0) controls additional GC assumption verification that no unreachable objects are reachable after RA is complete
gc.ContinuousIncrementalGC (defaults to 0) is a new GC stress test that runs incremental GC continuously
TObjectPtr barrier (Obj->MarkAsReachable()) is also currently disabled (compiled out with a macro) until we have all the places (ARO/BPVM) properly running barriers
EngineTest tests can and will run Incremental Reachability Analysis tests even if all the above is disabled

#rb Johan.Torp, Zousar.Shaker

[CL 26252569 by robert manuszewski in ue5-main branch]
2023-06-27 01:44:30 -04:00
robert manuszewski
d5c2c7bc97 Undo changelist 26229717
#rb none

[CL 26237963 by robert manuszewski in ue5-main branch]
2023-06-26 13:26:02 -04:00
robert manuszewski
2e93ac7309 Fixing CIS error (global var name conflict)
#rb trivial

[CL 26231056 by robert manuszewski in ue5-main branch]
2023-06-26 07:17:47 -04:00
robert manuszewski
5800b6b608 Experimental support for Incremental Reachability Analysis
Disabled by default. gc.AllowIncrementalReachability controls if it's enabled or not.
gc.IncrementalReachabilityTimeLimit controls time limit (defaults to 0.005 = 5ms)
gc.VerifyUnrachableObjects (defaults to 0) controls additional GC assumption verification that no unreachable objects are reachable after RA is complete
gc.ContinuousIncrementalGC (defaults to 0) is a new GC stress test that runs incremental GC continuously
TObjectPtr barrier (Obj->MarkAsReachable()) is also currently disabled (compiled out with a macro) until we have all the places (ARO/BPVM) properly running barriers
EngineTest tests can and will run Incremental Reachability Analysis tests even if all the above is disabled

#rb Johan.Torp, Zousar.Shaker

[CL 26229728 by robert manuszewski in ue5-main branch]
2023-06-26 04:38:56 -04:00
joe pribele
b90e7cc30e fix for warning in PluginManager test
[CL 26219331 by joe pribele in ue5-main branch]
2023-06-23 17:12:06 -04:00
joe pribele
0a1ccfbbc1 redoing 25858318
moved leak detection and Garbage collection to Plugin Manager
Before unmounting the plugin path, GC is ran, leaked detection for any references objects under the plugin path

#rb Justin.Marcus, Markus.Breyer
https://p4-swarm.epicgames.net/reviews/25611054

[CL 26214355 by joe pribele in ue5-main branch]
2023-06-23 14:22:58 -04:00
francis hurteau
137f49a100 Temporarily disable validation ensure in ResetLoaders until fixed with zenloader usage
#rb trivial
[FYI] Andrew.Phillips, Danny.Couture

[CL 26213870 by francis hurteau in ue5-main branch]
2023-06-23 13:53:22 -04:00
matt peters
e8df5954c9 Cooker OnlyEditorOnly: ExternalActors: Mark ExternalActors as not explorable explorable until they are loaded by the map package. The map package may skip the loading of some of them. Thsi will prevent us exploring and marking for cook all of the dependencies of a GameFeature used by a disabled Actor using that GameFeature. Modify the graph traversal so that we can mark the Actor as explorable later at the point where it loads.
#rb Zousar.Shaker
#rnx

[CL 26200963 by matt peters in ue5-main branch]
2023-06-22 20:22:58 -04:00
dan oconnor
75eb898722 Use the PostConstructLinkNext pointer to initialize properties that aren't CPF_ZeroConstructor, rather than just starting at FirstPropertyToInit and initializing every remaining property (often redundantly)
Relevant CLs: 86560, 1444860, 1447974
#rb Phillip.Kavan

[CL 26199482 by dan oconnor in ue5-main branch]
2023-06-22 19:38:17 -04:00
jerome delattre
976594d309 Adjust Log verbosity settings for UObject Class tests so test automation framework caught errors.
#rnx
#rb trivial

[CL 26198407 by jerome delattre in ue5-main branch]
2023-06-22 19:10:58 -04:00
Matt Peters
011a78ece9 LLM AssetTags: Fix the missing stats for AssetTags; they were accidentally disabled by CL 23599453.
#rnx
#rb Simon.Orr
#jira UE-188961

[CL 26185861 by Matt Peters in ue5-main branch]
2023-06-22 12:47:56 -04:00
andrew scheidecker
b83d151773 Fix assert when doing unversioned property serialization of FOptionalProperty by skipping the inner value tag serialization in that case.
[CL 26184903 by andrew scheidecker in ue5-main branch]
2023-06-22 12:05:25 -04:00
jerome delattre
c1375803d4 Force warning as error in UObject class analysis tests
#rnx
#rb trivial

[CL 26180989 by jerome delattre in ue5-main branch]
2023-06-22 09:50:58 -04:00
andrew scheidecker
db3c4732da Fix non-portable '\' in #include path.
[CL 26180976 by andrew scheidecker in ue5-main branch]
2023-06-22 09:50:27 -04:00
andrew scheidecker
301cbe92f9 Move FOptionalProperty to CoreUObject.
Credit goes to Maxime.Mercier for a large part of the work on this.
#rb Maxime.Mercier, Robert.Manuszewski, Steve.Robb, Tim.Tillotson

[CL 26180447 by andrew scheidecker in ue5-main branch]
2023-06-22 09:14:07 -04:00
danny couture
054c92c777 Fix zenloader state progression when mixing cooked and uncooked assets
#rnx
#rb PJ.Kack

[CL 26178675 by danny couture in ue5-main branch]
2023-06-22 06:27:04 -04:00
johan torp
260c3885c4 Added extra checks when queuing up Slow ARO call to help track down CI issue
[FYI] andrew.scheidecker
#rb none
#rnx

[CL 26176276 by johan torp in ue5-main branch]
2023-06-22 03:39:12 -04:00
jeanfrancois dube
4c3847eff2 Linker Instancing Context:
- Add an optional package remapping functor that can be used to remap packages instead of building an instancing context.
- Remapping functor is invoked when the provided instancing context doesn't remap a package.
- Cache the result of the package remapping functor to avoid multiple calls with the same package to be remapped.

#rb francis.hurteau

[CL 26169463 by jeanfrancois dube in ue5-main branch]
2023-06-21 19:35:47 -04:00
sebastian arleryd
b74817b67e Add a plugin filter to the Reference Viewer
* The filter can be enabled or disabled using a checkbox.
* A ComboButton displays a dropdown list of plugins to filter by. Only plugins that actually contain assets visible in the unfiltered graph are shown in the list.
* The dropdown list shows non-plugins such as /Engine and /Game first after which all real plugins are listed.
* One downside of the new plugin filter is that nodes that come from plugins that do not match the filter will be hidden, including their children even if the children match the filter. So if we have the graph A -> B -> C and filter to show the plugin of C but hide the plugin of B then both B and C will be hidden.

#jira UE-187308
#rb aditya.ravichandran

[CL 26164540 by sebastian arleryd in ue5-main branch]
2023-06-21 17:29:28 -04:00