There is one folder in my project that takes 791mb and I would like to know if there is any way to delete it or to reduce it’s size:
\Library\PackageCache\com.unity.burst@1.6.5
My whole project is 1gb, and this folder alone is 791 mb. I tried deleting it but unity just redownload it on startup.
If you don’t use Burst and you don’t use anything which uses Burst, then you can just uninstall Burst using the Package Manager window. If you do use it or use anything which uses it, then you can’t remove it.
Is it still this noise? shadercache.db growing unbounded fix:
Adding to what Lurk says above,
Extra unwanted packages in new projects (collab, testing, rider and other junk):
About the fastest way I have found to make a project and avoid all this noise is to create the project, then as soon as you see the files appear, FORCE-STOP (hard-kill) Unity (with the Activity Manager or Task Manager), then go hand-edit the Packages/manifest.json file as outlined in the above post, then reopen Unity.
Sometimes the package system gets borked from all this unnecessary churn and requires the package cache to be cleared: