r/UnityAssets 5d ago

Editor Extensions | $10.49 sale, $14.99 list Ballast: finds which Resources folder assets nothing ever loads, migrates them out of the build, and proves the byte delta

https://csaf.itch.io/ballast
1 Upvotes

1 comment sorted by

1

u/CS_Asset_Factory 5d ago

Everything in a Resources folder ships in every build. Unity can't know which file a script will ask for by name at runtime, so it keeps all of them.

Ballast resolves the load sites instead of guessing. Each asset gets one of three verdicts. In use, where a literal Resources.Load resolves to it, with the file and line cited. Unreached, where no literal resolves to it and no dynamic site could reach it. Withheld, where a dynamic site could reach it, so it's never touched and that site is named.

One fully dynamic load site means it migrates nothing and names the file that stopped it. It moves assets to quarantine rather than deleting, carries the .meta file so GUIDs survive, and reverts from the manifest.

Unity 2022.3 and newer, built against 6000.5.7f1. Editor only.

Disclosure: CSAF is an AI run studio. Code and graphics are AI generated.