Commit Graph

5298 Commits

Author SHA1 Message Date
robert millar
f9efe99384 Allow verification of GC assumption on full GC purges in Test builds.
#rb Robert.Manuszewski, Johan.Torp, simon.orr

[CL 26925020 by robert millar in ue5-main branch]
2023-08-08 14:38:07 -04:00
johan torp
efb8b78796 UPS roundtrip test fixes
#rb none
[FYI] andrew.scheidecker

[CL 26919396 by johan torp in ue5-main branch]
2023-08-08 12:06:01 -04:00
alex koumandarakis
c4d3755573 Add P_GET_WEAKOBJECT_NO_PTR and P_GET_WEAKOBJECT_REF_NO_PTR script macros
#jira none
#rb Matt.Peters

[CL 26898807 by alex koumandarakis in ue5-main branch]
2023-08-07 16:55:53 -04:00
robert manuszewski
b2bbc6498d Enabling TObjectPtr GC barrier
#rb withreachabilitychanges

[CL 26868843 by robert manuszewski in ue5-main branch]
2023-08-05 07:20:13 -04:00
joe bestrotheray
5cb14b3c5c Create csv stat for GC count
#rb tyler.staples

[CL 26864352 by joe bestrotheray in ue5-main branch]
2023-08-04 18:53:32 -04:00
joe bestrotheray
685c3cff20 Create csv stat for GC count
#rb tyler.staples

[CL 26848787 by joe bestrotheray in ue5-main branch]
2023-08-04 11:43:34 -04:00
louisphilippe seguin
f333b762b5 Improved assert when replicating actor class without PushModel properly implemented
#rb Ryan.Gerleve
#rnx

[CL 26847379 by louisphilippe seguin in ue5-main branch]
2023-08-04 11:16:57 -04:00
jeanfrancois dube
087ee3e499 Linker Instancing Context: only consider the context as instanced if there's at least one valid remapping added to the context, ignoring all null entries (which serves as a way to filter our exports loading).
#rb francis.hurteau

[CL 26843492 by jeanfrancois dube in ue5-main branch]
2023-08-04 08:28:12 -04:00
robert manuszewski
3a59ab9a87 Temporarily disabling GC barrier due to compile errors that were not caught by preflights
[CL 26842330 by robert manuszewski in ue5-main branch]
2023-08-04 06:28:58 -04:00
robert manuszewski
e06449c1a7 Enabling TObjectPtr GC barrier
#rb withreachabilitychanges
[FYI] Johan.Torp, Kirill.Zorin, Zousar.Shaker, Robert.Millar

[CL 26842102 by robert manuszewski in ue5-main branch]
2023-08-04 05:55:31 -04:00
paul chipchase
6e8473a9dd Delete the deprecated header BulkData2.h as it has not been in use for several releases.
#rb Per.Larsson
#rnx

[CL 26841133 by paul chipchase in ue5-main branch]
2023-08-04 04:03:08 -04:00
paul chipchase
fb7da6ad42 Improve the documentation for EBulkDataFlags to help people understand how to use them.
#rb Per.Larsson
#rnx

[CL 26840243 by paul chipchase in ue5-main branch]
2023-08-04 02:56:11 -04:00
bob tellez
bcc2eb4917 #UE Add -CookSkipSave to cook commandline options. Using this will skip saving any assets the cook processes. Useful for validating that the non-saving parts of a cook without having to wait for the save.
#rb Matt.Peters
[FYI] Matt.Peters

[CL 26821719 by bob tellez in ue5-main branch]
2023-08-03 15:00:20 -04:00
ionut matasaru
1a996169e5 [Insights] CpuProfilerTrace:
- Enabled cpu scope tracing of object names (blueprints, functions) by default when app is not running as a commandlet (still requires "cpu" trace channel and -statnamedevents to be enabled). Enabling AssetLoadTime trace channel will enable tracing of object names also in commandlets (ex. cooking).
  - Improved performance when tracing "statnamedevents" cpu scopes (by using a new optimized code path that uses an FName stat id together with a TCHAR* descriptive name).

#rb Matt.Peters

[CL 26815377 by ionut matasaru in ue5-main branch]
2023-08-03 12:36:42 -04:00
robert manuszewski
56adee9d56 Fixing incremental reachability crashes when running single-threaded GC
#rb tbd

[CL 26811053 by robert manuszewski in ue5-main branch]
2023-08-03 10:53:38 -04:00
nick edwards
9ae2920ae7 Wrap uses of UE_TRACE_LOG_SCOPED_T in CPUPROFILERTRACE_ENABLED and LOADTIMEPROFILERTRACE_ENABLED blocks
#rb none

[CL 26808450 by nick edwards in ue5-main branch]
2023-08-03 09:23:05 -04:00
robert manuszewski
37762f5320 Incremental Reachability Analysis fixes:
- FastReferenceCollector will now flush struct references before suspending to avoid storing pointers to struct owned UObject references between reachability iterations
- Persistent frame weak reference clearing will no longer attempt to clear the stored reference pointer when running incremental reachability and instead will re-run its owner's AddReferencedObjects with a special collector to clear any references to unreachable objects
- Objects marked by GC barrier will now be processed immediately in the next reachability iteration instead of after reachability analsysis was complete

#rb Kirill.Zorin
[FYI] Johan.Torp

[CL 26801914 by robert manuszewski in ue5-main branch]
2023-08-03 05:36:44 -04:00
Matt Peters
4683b122fc EditorDomain: Turn on in all editor modes the EditorDomain for its role of providing EditorDomainDigest. Separate out its role of injecting itself into the PackageResourceManager to save and load packages from the EditorDomain DDC bucket.
#rb Zousar.Shaker
#rnx

[CL 26792746 by Matt Peters in ue5-main branch]
2023-08-02 19:10:17 -04:00
kirill zorin
c8fae0fe1d Using TObjectPtr for fields that get passed to AddReferencedObjects ahead of upcoming API deprecation.
#rb robert.manuszewski
[FYI] sergio.gardeazabal, patrick.boutot, johan.torp, robert.millar

[CL 26785400 by kirill zorin in ue5-main branch]
2023-08-02 15:55:08 -04:00
jamie dale
737523a0a0 Added an overload of ParseObject that allows the referenced object to be loaded if required
This can also be disabled globally via the CVar "s.AllowParseObjectLoading"

#jira
#rb Francis.Hurteau

[CL 26781790 by jamie dale in ue5-main branch]
2023-08-02 14:38:08 -04:00
jamie dale
5bea4f7495 Update FPackageName::IsValidPath and FPackageName::IsValidObjectPath to use FStringView
#jira
#rb Francis.Hurteau

[CL 26780191 by jamie dale in ue5-main branch]
2023-08-02 14:05:42 -04:00
robert millar
9db0f37888 Add assertions for bad object indices in reference chain search.
#rb none

[CL 26779188 by robert millar in ue5-main branch]
2023-08-02 13:42:25 -04:00
Matt Peters
76a6f7ded4 PackageName: Logging: Downgrade the mountpoint added log message to verbose to make cookcommandlet logs easier to read. Keep the message at Log verbosity for mountpoints added after startup.
#rnx
#rb Sebastian.Thomeczek

[CL 26771144 by Matt Peters in ue5-main branch]
2023-08-02 10:16:55 -04:00
kirill zorin
0c7d13dd72 UHT: Generating GC write barriers for UFUNCTIONs where needed.
#rb tim.smith
#rb robert.millar

[CL 26770722 by kirill zorin in ue5-main branch]
2023-08-02 10:08:24 -04:00
per larsson
4475567574 Fix bug skipping serialization of bulk data with custom element serialization
#rb Paul.Chipchase

[CL 26770582 by per larsson in ue5-main branch]
2023-08-02 10:04:31 -04:00