Search Issue Tracker

Fixed in 2017.2.0f3

Votes

10

Found in

2017.2.0a1

Issue ID

916028

Regression

Yes

[Metal][Editor] 'Metal: Fragment shader missing texture binding at index 0' warnings when in Overdraw or Mipmaps scene view mode

Themes

-

Steps to reproduce:
1) Open the attached project.
- Make sure Metal Editor Support is enabled.
2) Below the Scene tab marker, click on Shaded > Overdraw.

Warnings are spammed in the Console on each GUI frame update:
Metal: Fragment shader missing texture binding at index 0 (_CameraDepthTexture / Hidden/Internal-ScreenSpaceShadows

The same occurs when 'Mipmaps' is selected in the dropdown.
This does not occur in OpenGL mode.

Reproduced on:
2017.2.0a1, 2017.1.0b7, 2017.1.0a1

Did not reproduce:
5.6.1p1, 5.6.0f3

Comments (17)

  1. Fillmore

    Jan 25, 2018 17:42

    Unity 2017.3.0f3
    Max OSX Editor

    Default Unity Settings, happens in the editor when I Play() a WebCamTexture

    private WebCamTexture camTexture;

    WebCamDevice[] cam_devices = WebCamTexture.devices;
    camTexture = new WebCamTexture(cam_devices[0].name, width, height, 30);
    camTexture.Play(); //start to get this warning

  2. MattMurch

    Nov 24, 2017 06:46

    Getting it on 2017.1.0f3, Deferred Rendering on Metal, 2012 MacBook. Fairly complex scene

  3. novaVision

    Nov 09, 2017 03:05

    Getting it on 2017.1.0f3. Steps to reproduce:
    1) create render texture in play mode
    2) attach texture to Unlit > Texture shader
    3) attach texture to camera target
    4) exit play mode. Warning will appear, but not always. I found that clicking on camera target texture empty property and click "delete" solve warning spamming.

  4. Prantare

    Oct 31, 2017 10:13

    I am getting this too with a VERY simple shader (it only has a _MainTex texture that it samples from in the fragment shader) in 2017.3.0b6.

  5. DMinsky

    Oct 20, 2017 13:25

    2017.2.0f3 too.

  6. jstroh

    Sep 13, 2017 06:19

    Getting this in 2017.1

  7. cecarlsen

    Aug 28, 2017 11:07

    I am getting it too. Unity 2017.1.0p4.

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.