Material Read-Only Issue & Shader Error (76 vs 66 keywords) Fix
Hey everyone
I ran into a recurring shader issue while working with Meta materials in Unity, especially when adding objects like a Cube from Meta Building Blocks.
The material was read-only, so I couldn’t change its shader manually. Because of that, I kept getting a shader keyword mismatch between
Meta/Lit and Universal Render Pipeline/Lit.
Here’s how I fixed it
✅ I created a new material, then copied the material properties from the Meta material (so it had the same properties and color)
and pasted them into the new one.
Then, I assigned the new material as the parent in a Material Variant
by clicking the three dots next to the shader material and selecting “Create Variant for Renderer.”
Once I did that, the shader automatically switched to Universal Render Pipeline/Lit, and the error disappeared
It worked perfectly, but I’m curious if this is considered a good practice or just a workaround?
Sharing this here in case someone else faces the same problem while working with Meta Building Blocks and URP.
Hope this helps someone!
