# Shader error in 'Universal Render Pipeline/Lit': failed to open source file at line 0. The current render pipeline is not compatible with this shader.

- **ID:** `unity/urp-shader-pipeline-mismatch`
- **Domain:** unity
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 95%

## Root Cause

The material or shader is designed for URP but the project is using Built-in Render Pipeline, or vice versa.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Unity 2022.3 | active | — | — |
| URP 14.0.8 | active | — | — |
| Built-in RP | active | — | — |

## Workarounds

1. **Convert the project to URP via Window > Render Pipeline > Universal Render Pipeline > Upgrade Project Materials to URP Materials, or manually assign a URP-compatible shader like 'Universal Render Pipeline/Lit'.** (95% success)
   ```
   Convert the project to URP via Window > Render Pipeline > Universal Render Pipeline > Upgrade Project Materials to URP Materials, or manually assign a URP-compatible shader like 'Universal Render Pipeline/Lit'.
   ```
2. **If staying on Built-in RP, replace the material's shader with a Built-in equivalent like 'Standard' via the material inspector.** (90% success)
   ```
   If staying on Built-in RP, replace the material's shader with a Built-in equivalent like 'Standard' via the material inspector.
   ```

## Dead Ends

- **** — Simply changing the shader name in the material inspector does not update the underlying shader code; it may still reference URP-specific functions. (80% fail)
- **** — Deleting and re-importing the shader file does not fix the pipeline incompatibility; the shader must be rewritten for the correct pipeline. (70% fail)
