Clean Build is A Unity Package that automatically gets rid of unnecessary files that are automatically generated during your Unity build.
- Program Debug Files (PDBs) which often get automatically generated due to Managed Stripping among various other things
- IL2CPP build files
- Burst compiler reports
- Direct3D12 Binaries (if unused by project)
- Standalone Windows only
Note
This package does not apply to Development builds
Go to the repositories Releases tab and download the latest release (or any other release but we recommend sticking to the latest).
Open the Assets menu or right click in your Project Browser and go to Import Package -> Custom Package... and select the .unitypackage file to import into your project.
In the Package Manager, click on the + icon and go to Install package from tarball... and select the .tgz file to import into your project.
In the Package Manager, click on the + icon and go to Install package from git URL... and then enter this URL:
https://github.com/Generalisk/Unity-CleanBuild.git
Go to the Packages OpenUPM page and follow the installation instructions provided.