Commit Graph

15 Commits

Author SHA1 Message Date
matt breindel
63be8962ba Asset Disk Size tool now consumes custom column data from ucookmeta. Added a column for plugin type as well (e.g., shader pseudoplugin, engine pseudoplugin, etc)
[REVIEW] [at]*dan.thompson [at]*ionut.matasaru
#jira UE-191912
#rb ionut.matasaru, Dan.Thompson

[CL 29544389 by matt breindel in ue5-main branch]
2023-11-07 19:53:50 -05:00
dan thompson
58f2f4782b Rework the custom fields in the cook metadata to make it easier to use.
#rb matt.breindel

[CL 28922724 by dan thompson in ue5-main branch]
2023-10-19 12:37:07 -04:00
dan thompson
52f9e3dcf7 Actually serialize the pseudo shader hierarchy.
#rb matt.breindel

[CL 28728713 by dan thompson in ue5-main branch]
2023-10-12 16:58:13 -04:00
dan thompson
c8e9e7204a log when we hit a version mismatch
[FYI] mark.lintott
#rb none

[CL 28049937 by dan thompson in ue5-main branch]
2023-09-20 15:11:44 -04:00
dan thompson
71d20ba15b Adding some sanity against uninitialized values and fixing the missing serialize.
#robert.millar

[CL 27980999 by dan thompson in ue5-main branch]
2023-09-18 19:32:50 -04:00
dan thompson
3226e61821 Include shader sizes in plugin size reporting.
Add shader information to the cook metadata file.
Update cook metadata dependency counts to uint32.
Separate out plugin graph generation from usage.
Add "other" size classification
#rb arciel.rekman
#rb fabian.giesen

[CL 27805498 by dan thompson in ue5-main branch]
2023-09-12 15:58:42 -04:00
eric knapik
7c24cc7a5c #jira: FORT-601192
Fixup cookmetadata.ucookmeta after we join the cook outputs. Update the ucookedmeta file to have the same hash as the newly made combined devAR.
Added Save and Load functions to the cooked meta file

[REVIEW] [at]Dan.Thompson [at]Matt.Breindel

[CL 27734479 by eric knapik in ue5-main branch]
2023-09-08 19:51:52 -04:00
dan thompson
58129a5e9b CookMetadata: DLC plugin filtering is unreliable and I was unable to find a safe way to do it, so we include all enabled plugins even when cooking dlc.
#rb none
[FYI] eric.knapik

[CL 27416872 by dan thompson in ue5-main branch]
2023-08-28 13:46:21 -04:00
dan thompson
a94a34de51 * Add a system for routing plugin custom fields in to the cook metadata file.
* Use that system to upload whether a plugin is installed or not to analytics.
* Compute "unique" size for root plugins to more accurately represent the incremental cost of a plugin in analytics.
* Provide sizes for key asset types in addition to tracking total cost of a plugin.
#rb matt.peters
#rb fabian.giesen

[CL 27084058 by dan thompson in ue5-main branch]
2023-08-14 16:03:52 -04:00
dan thompson
54f13432d6 Misc CookMetadataFixes:
* Restaging a build no longer just constantly increases size
* Inclusive size actually looks at valid data
* Horde URL environment variable corrected.
* Add a new root pseudo plugin json event that holds the size of all plugins that don't belong to a root plugin.
#rb charles.bloom

[CL 26335038 by dan thompson in ue5-main branch]
2023-06-29 23:20:46 -04:00
matt breindel
678213ec4b Adding a helper to convert UE::Cook::ECookMetadataSizesPresent to an FText
[REVIEW] [at]*dan.thompson

[CL 26245541 by matt breindel in ue5-main branch]
2023-06-26 17:21:53 -04:00
dan thompson
1c341b9abd Fix for goofs with serialization.
#rb matt.breindel

[CL 26221483 by dan thompson in ue5-main branch]
2023-06-23 19:05:46 -04:00
dan thompson
7c50b4f557 Only cause an error when loading the cook metadata file if it's a required file.
#rb none

[CL 26213932 by dan thompson in ue5-main branch]
2023-06-23 13:55:52 -04:00
dan thompson
c54316a591 UnrealPak now uses the CookMetadata file to optionally write out size information for plugins. This information is written back to the cook metadata file, and is enable via a project packaging setting.
#rb fabian.giesen

[CL 26194673 by dan thompson in ue5-main branch]
2023-06-22 17:32:20 -04:00
dan thompson
95f23fa9a7 Adding a new Cook Metadata file that gets generated adjacent to the development asset registry. This will be the home for metadata about the cook that is unrelated to assets moving forward.
#rb matt.peters
#rb fabian.giesen

[CL 26097087 by dan thompson in ue5-main branch]
2023-06-19 13:59:07 -04:00