+1
Under review

Unity 5.6.3 on Mac: "Shader is not supported by this GPU" (worked in 5.5)

Luke Schneider 7 jaar geleden bijgewerkt door FHeaven Ak 6 jaar geleden 4

We recently upgraded to Unity 5.6.3, and now all the Shader Forge shaders are not working on Mac.  In the editor, they are all black.  In a standalone build, they are all pink.  The error that Unity reports is:


Shader warning in 'overload/super_bright_ui1': Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)


This happens for every SF shader on Mac as far as I can tell.  Works fine on PC/Linux.


Shader Forge is updated to the latest version (1.38).

+1

Update: Apparently this issue only occurs on Mac's that have been updated to Sierra (Mac OS 10.12).  Sierra uses Metal for rendering.  Will enabling iOS Metal in the shader properties fix the issue?  I will try it when I can, but we're currently confirming that the prior version of Unity (5.5) does not have this issue, and re-importing assets takes a while.

+4

Confirmed it was Metal.  Removed Metal from the player settings (so it'll use OpenGLCore like Unity 5.5), and now it works in 5.6.3.

Under review

Did you have the Metal checkbox ticked in the shader settings in SF?

Edit: Just read that you did. Seems like it should work by just having OpenGL enabled