Skip to content

build size report improvements #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
16 of 20 tasks
unitycoder opened this issue Sep 26, 2021 · 3 comments
Closed
16 of 20 tasks

build size report improvements #49

unitycoder opened this issue Sep 26, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@unitycoder
Copy link
Owner

unitycoder commented Sep 26, 2021

  • cannot see the total size report (which is available on editor log)
  • could add search box (to quickly search if certain file gets included in the build)
  • sort by filetype column (image, script, prefab, ...)
  • keep previous build size(s), so can compare *data is already in the editor.log (if didnt close unity, so could read multiple build reports from it, and allow displaying, comparing them)
  • aldd open explorer (context menu or double click) for each file
  • show image file resolution? (might be slow though..)
  • save build report datagrid column sizes to preferences
  • Keyboard controls for build report datagrid (Enter = Open, CTRL+C = copy path, F5 = Reload, ..)
  • BUG: cannot read buildreport if unity has locked, file
  • buttons to view previous/next build report (note: but need to refresh build reports, if new one is added after previously parsed reports, or would need to parse all reports again, everytime?)
  • show build timestamp for currently selected build report (so that user knows if this is latest) *there is no timestamp info..
  • error checking: if press get report during build, then cannot find end string for report?
  • show streamingassets data size
  • fix open build report item (since now uses array, old path doesn't work anymore)
  • parse project path for each build report (otherwise cannot open file there)
  • handle this log message "Information on used Assets is not available, since player data was not rebuilt. Do a clean build to view the Asset build report information."
  • iterate streaming assets files and add into main report? (but then need to recalculate % values for all..)
  • handle log files with timestamps? (if they appear here when enabled) *not affected
  • show build elapsed time
  • streaming assets folder size can be only displayed for latest build report (because older reports might have different files there) *or calculate from total build size, unless there are other hidden data that might be added to it?

Build Report (summary)
Uncompressed usage by category (Percentages based on user generated assets only):
Textures 653.5 mb 94.4%
Meshes 0.0 kb 0.0%
Animations 4.6 kb 0.0%
Sounds 5.7 mb 0.8%
Shaders 16.3 kb 0.0%
Other Assets 6.2 mb 0.9%
Levels 153.0 kb 0.0%
Scripts 3.3 mb 0.5%
Included DLLs 23.2 mb 3.4%
File headers 216.8 kb 0.0%
Total User Assets 692.3 mb 100.0%
Complete build size 737.6 mb

@unitycoder unitycoder added the enhancement New feature or request label Sep 26, 2021
unitycoder added a commit that referenced this issue Sep 26, 2021
…th preferences, parse projectpath from editorlog, add contect menu and double click to open buildreport file with Explorer select file, rename BuildReport struct to BuildReportItem
@unitycoder
Copy link
Owner Author

unitycoder commented Jun 22, 2022

ideas for later:

  • save build history into custom txt file, inside ProjectSettings/, then can see full history, (build duration, size, ...) and can use that info for estimated build time in batch builder *this should be editor script, onpostprocess build it outputs those values (and more info) into single file
  • option: add custom editor script to projects, that records build stats inside some folder, so can keep proper history

@unitycoder
Copy link
Owner Author

good enough for now, can add more later..

*separate Editor based build report comparing tool should appear here https://github.com/unitycoder/UnityBuildStats

@unitycoder
Copy link
Owner Author

ideas:

  • allow multiselection, and show total calculated size for selected objects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant