Search Issue Tracker

Fixed in 5.6.0



Found in


Issue ID




Shader compilation error with UnityGetRawLightMaskOrProbeOcclusions



A custom blending shader gives compiler error in console log.

Reproduction steps:
1) Download the project or `Blend.shader` from the section below
2) Open Unity
3) Observe the bug in console log

- Introduced when light modes is merged into trunk with 5.6.0b2

Comments (4)

  1. ming4883

    Feb 10, 2017 05:27

    This bug still happens in 5.6.0b7 when attempting to write SurfaceOutputStandard.Normal in a surface shader with the following pragma:

    #pragma surface surf Standard fullforwardshadows

    Tested on both Windows (DX11) and Mac (Metal) platform.

  2. Zomby138

    Feb 02, 2017 19:35

    I just downloaded 5.6.06b and I'm getting this issue. It says it's fixed? It doesn't seem to be fixed at all for me.

  3. Flurgle

    Jan 27, 2017 03:48

    I'm getting this problem in Unity 5.6.04b. I'll submit a report in a moment

  4. Chainsawli

    Jan 24, 2017 18:29

    Anyone can to explain what to do with this issue if it's fixed, please ?? :)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.