Attempting to draw with missing bindings

Hi,

W Unity : Attempting to draw with missing bindings
W Unity :
W Unity : (Filename: Line: 0)
W Unity :

This is kind of warning/error we get on Vulkan. Is there some way how to get more verbose version? From the log it seems that we haven’t bound render target where it should be. But we are making tons of draw calls and the only way how to check this is just to blindly turn every one of these and hope for improvement.

Thanks for answers

I’ve been seeing this internally too, when alt-tabbing to/from the Editor. It seems like it might be an engine bug, you may want to report it so the Vulkan team can check it. Even if it is your (our) mistake, the error message should be better :slight_smile:

Ok, thanks for your answer :), will create that bug report soon.

In addition to that, the same thing is bothering me on Metal in slightly similar fashion. When you enable the Metal API validation (Extended) you get something like

validateFunctionArguments:3469: failed assertion `Vertex Function(xlatMtlMain): missing buffer binding at index 2 for UnityInstancing_PerDraw0[0].’

(lldb)

Is in this case possible to get more info (Name of the shader which is missing bindings, stack trace(could I get it in single threaded mode?), etc.) and I’m not having it configured properly? Is that something in that Unity can even manage or it’s just Apple stuff?

Thanks for this one too :wink: