TechAthletes StoreLegal notice

URP Shader Variant Auditor

Unity does not tell you how many shader variants a build will compile until it is already compiling. This tool reads the project and tells you before the build, alongside the numbers the build log measured afterwards, and names the cause when the count is far too high.

$49one-time · Unity Editor tool · ZIP (61 KB)
Buy with card

The download link appears right after payment, and a license key is emailed to you.

URP Shader Variant Auditor window: URP001 critical, the eight URP shaders named, and the estimated reduction
The window on a URP project whose URP shaders were added to Always Included Shaders: URP001 critical, the shaders named, the fix, and the estimated reduction.

What it reports

Measured, not claimed

One Unity 6000.0.78f1 project (URP 17.0.4, 88 materials). Two states that differ only in whether the URP shaders are in Always Included Shaders:

StateEstimated variant spaceDifference from stripped
Healthy679,1350
URP shaders always included47.4B47.4B (URP001 critical)

The measured column comes from a real macOS player build of that project:

Stage (from the build log)Variants
Full variant space4.5B
After settings filtering759,100
After built-in stripping13,762
After scriptable stripping13,619
Compiled13,617
The same project with stripping working: estimate equals the stripped figure, difference 0
The same project where stripping works: estimate equals the stripped figure, difference 0, with the build log's measured ladder beside it.
URP004 expanded: keyword sets for the three heaviest shaders
URP004 expanded: every keyword set for the three heaviest shaders, and why each was or was not reduced.

Unity versions

How this was made: AI disclosure

The C# code, the EditMode tests, the documentation and this page were written with the help of a large language model, then read, run and corrected by a person before release. No figure on this page was written by the model: every number comes from running the tool on a real Unity project and reading its output, and every screenshot is a capture of the tool's own window in Unity.

What you get

License

Payment and refunds