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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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
MattMurch
Nov 24, 2017 06:46
Getting it on 2017.1.0f3, Deferred Rendering on Metal, 2012 MacBook. Fairly complex scene
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.
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.
DMinsky
Oct 20, 2017 13:25
2017.2.0f3 too.
jstroh
Sep 13, 2017 06:19
Getting this in 2017.1
cecarlsen
Aug 28, 2017 11:07
I am getting it too. Unity 2017.1.0p4.