Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Material created out of the shader is pink (after importing). #2

Open
SurfSerge opened this issue Dec 7, 2021 · 1 comment
Open

Comments

@SurfSerge
Copy link

When I import this shader as an unity package into my project, and then make a material out of that shader, the material simply shows as pink. How can I solve this?

@Vanthys
Copy link

Vanthys commented Feb 15, 2022

Make sure the tags in the subshader include this:

"RenderPipeline" = "UniversalPipeline"
"LightMode" = "UniversalForward"

and not
"LightMode" = "ForwardBase"

It's a rather rudimentary fix but it should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants