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

Shader resetting to gray scale on Run or Save #8

Open
assimoes opened this issue Jun 17, 2020 · 2 comments
Open

Shader resetting to gray scale on Run or Save #8

assimoes opened this issue Jun 17, 2020 · 2 comments

Comments

@assimoes
Copy link

Hey!

I am getting an issue with Unity 2019.x

After generating the planet, the shader works perfectly fine. But, as soon as you save the scene or press Run, the planet goes back to using what seems to be the default material and becomes all grey?

Im attaching the images that show this:

After clicking Generate Planet:

image

After clicking Save (or pressing CTRL + S):

image

Any hints of why this is happening?

@firez2469
Copy link

Yes, I had the same problem. What I did was make the generatePlanet() method automatically run on start(). That should prevent you from having to constantly regenerate it.

@assimoes
Copy link
Author

assimoes commented Jun 17, 2020 via email

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