Shader Variant Collection Tool
Description
A Unity editor tool for collecting and managing shader variants quickly — without running every in-game scenario by hand — plus a much better inspector UI for Unity's default shader-variant-collection files.

What it does
Point it at a variant collection file and a config, and it gathers variants from your scenes and materials at the push of a button. Filters let you shape the result: strip variants per shader (or keep only listed shaders), remove whole pass types you'll never ship (Meta, MotionVectors), and exclude individual keywords or keyword combinations. Keywords that only ever get enabled at runtime — platform toggles, quality switches — can be added as manual combinations so they're not missed.
The enhanced collection-file UI shows every shader in the collection with its variants grouped by pass type, lets you filter, add, or remove variants manually, and clears the whole file with one (confirmed) click.
Setup
Install via the Unity Package Manager with the git URL
https://github.com/revoconner/ShaderVariantCollectionTool.git. Needs Unity
2022.3 or newer; it works across Built-in, URP, and HDRP, tested on URP and
Unity 6.1.
Original tool concept from Soco of the Chinese Unity community.