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
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
- Sprite Masks affect Sprite Renderers outside their range when a Light2D is present with specific Target Sorting Layers selected
- URP Lens Flare is rendered in the wrong position when Render Graph Compatibility Mode is enabled and Render Scaling is not 0
- Editor crashes on DrvPresentBuffers when loading RenderDoc while using OpenGLES 3.0 or OpenGLES 2.0 Graphics API
- [Test Runner] Incorrect name under Window > Panel after project restart
- [iOS] Crash when using fallback fonts created at runtime
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.