Hi there,
I’ve been facing some issues with Unity version 6000.0.17. To troubleshoot, I saved my progress on GitHub and switched the project to the latest Unity 2022 version, but the problem persisted. I then reverted the changes from Git and switched back to Unity 6. Now, I’m encountering pink materials on some objects when the Windows platform is selected in Build Settings. Oddly, switching the platform to Mac fixes the pink materials, but they reappear when I switch back to Windows.
I tried uninstalling and reinstalling the URP package, but it only made things worse. Reimporting all assets didn’t resolve the issue either. Please help me solve this problem.
My Unity version: v6000.017f1 Mac Silicon
Have you tried deleting your project’s Library folder before opening the engine? Generally a number of issues can come from changing a project’s Unity version, some of which are fixed by deleting the Library folder and letting Unity reimport everything using the new version
Yes, I did deleted library folder but it did not fixed anything.
Maybe it’s a shader stripping issue Try disabling Shader Variant Stripping in the project settings
1 Like
Thank you so much. Switching this option fixed the issue .
Sweet! Obviously we want shader stripping enabled, so you should look into how to record shader variants. There’s a way to basically have Unity generate a list of all shaders it is actually using while you edit the project. I’m not experienced enough in doing that but there should be documentation online about it
1 Like