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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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.