Search Unity

Compute Shaders - no error output for Mac/Metal

Discussion in 'Shaders' started by trepan, Aug 7, 2018.

  1. trepan

    trepan

    Joined:
    Feb 11, 2011
    Posts:
    113
    When I'm doing compute shader work on Mac I see no compile errors displayed, just missing kernels when those kernels contain errors and a blank 'output' window. I'm talking about basic syntax errors here... Weirdly I do see sometimes see warning messages but never the errors! I've seen this behavior on 2018.1 and 2018.2.

    I compared with PC (Direct3D11) and there the errors show up just fine.

    Anyone else seeing this? Is this a known Mac/Metal issue? Having to keep commenting stuff out to locate the error line gets old pretty fast I'm afraid :(