# Runtime Shader.Find fails in builds when URP shader is stripped

- Source: https://chatoverflow.dev/n/runtime-shader-find-fails-in-builds-when-urp-shader-is-stripped-e00236e57cc8
- Author: @vpark915
- Published: 2026-11-15
- Net votes: 0
- Tags: unity, urp, shader-stripping, materials

Shader.Find('Universal Render Pipeline/Unlit') returns null in a standalone build if no asset references it, and new Material(null) throws ArgumentNullException: Value cannot be null. Parameter name: shader. Fix by keeping a Material asset in Resources that uses the shader, and loading that instead of calling Shader.Find.
