Manual
Build size
Player builds leave out the shader passes of screen effects the build does not use, so a game that only shows CRT does not carry the watercolor or glitch shaders. An effect counts as used when a Volume Profile that the build's scenes, Resources folders, asset bundles, Addressables groups or render pipeline assets depend on holds it. The console lists what a build left out.
Project Settings > Pass Forge sets how far this goes. Not In Any Profile, the default, keeps every effect a profile holds. Not Turned On In Any Profile also leaves out effects a profile holds switched off, which helps when an Effects Volume (All Effects) holds every effect. Keep All keeps everything. The effects your scenes use are kept without a tick, so Always Include normally stays empty: tick an effect there only when a script turns it on while the game runs and no profile in the build holds it; Play Mode warns in the Console when such an effect shows. Show What A Build Leaves Out lists what the build keeps and what it leaves out, one category per line, and names the scenes it counted, so a scene missing from the build's list stands out. Object effects are always kept, because highlights and afterimages are often added from scripts, and so are the PF Panel, Compass Bar and Fog Minimap shaders, which are small. The Fog Minimap shader keeps its radar variants too, so a radar added from a script draws: they add four small variants for each graphics API. The Lit Effects shader of Dissolve, Occluder Fade and Cross Section is kept when one of them is in a scene of the build, or when Dissolve, Occluder Fade And Cross Section Added From Scripts is ticked; the build then also compiles the variants their material copies need, from a temporary folder it removes when it is done. The Dissolve Edge and Sprite Effects shaders that Dissolve draws sprites with are kept the same way when a Dissolve is in a scene or the box is ticked.
Two kinds of effect are counted for you. Unity fills the render pipeline's default Volume Profile with every Volume component in the project, Pass Forge's included, and writes each of their settings as overridden; holding an effect there says nothing about the game using it, so only effects actually turned up in that profile are kept. And effects a component, a script or a game's own options decide to draw — Shockwave, Screen Shake, Transition, Screen Flash, Flash Lights, VHS Rewind, Damage Direction, Damage Numbers, Lens Blood, Color Vision, Fog of War, Reveal Lens, Panel Backdrop, Ground Markers, Beacons, Route, Off-screen Indicators, Tethers, Spotlight and Screen Warps — are always kept, since no profile in the project can show that the game will ask for them.