Example Scene broken in Unity 5.5 and 1.31
Hi
Just upgraded from 1.30 and Unity 5.5 but I am seeing the following in the Example Scene.
Previously I used to see a few pink materials, not sure whether that was the reflection probe issue...
thanks
Nalin
Answer
Strange. What happens if you open them with SF? Do they stay broken? Also, check their platform settings in SF
What does it say in the shader code on the line that starts with #pragma only_renderers ?
#pragma only_renderers d3d9 d3d11 opengl gles gles3 metal d3d11_9x xboxone ps4 psp2
What if you remove all lines that has #pragma only_renderers from a shader?
Note that I just tried importing into a brand new Unity 5.5.0f3 project and I see exactly the same result.
If you want I can record a video?
Not sure if a video would help I'm afraid - thanks though! Any errors/warnings in the console? What is your current platform in the build settings?
My first project was iOS
The new project which I created as a test was default PC Standalone
No errors in console apart from the standard line endings :(
BTW I'm on Macbok pro retina on 10.11.6 El Capitan
Uh, I just opened another bug report for that, didn't notice this one! I have exactly the same problem, none of the shaders is working with 5.5.0p3 and SF 1.31. If on any shader you enable "Force no fallback", they will turn magenta: they are just falling back to the standard diffuse. They used to work fine some months ago, when I last tested SF. I'm running on Macbook Pro late 2013, OSX 10.12.2.
I replied to Danjel's other bug, but it looks like #pragma only_renderers needs glcore to work on mac now, though adding it will break Shader Forge if you try to open the shader.
It's strange how it seems like they simply removed the "opengl" one and replaced it with "glcore" rather stealthily! Getting this fixed now
I'm guessing they figured their API update process would handle fixing it for uses and didn't consider code generators like Shader Forge.
Customer support service by UserEcho
Fixed in SF 1.32