There is no other information in the console. What is this error and what is the impact? I am building an app for Metal and the lighting seems dark, but I can’t tell if this error is related or not.
I figured out that my issue was having the experimental Metal Editor option enabled in the Player Settings. You need to disable Metal Editor setting.
I had to do a round about way in fixing avoiding the issue since I could not open my Unity project on my Mac to disable this option. I had to first remove all my assets that were causing the editor from opening. I found out which files were causing the issue by checking what files were loading in the log right before the error.
After removing the files, I opened Unity, disabled the Metal Editor setting and added my files back and was able to continue from there.
As of now I do not know of any way to change the Player Settings outside of Unity so this might be your only work around.
If you look at the “Project Settings/ProjectSettings.asset” file, and find the line that says “metalEditorSupport: 1”, you can change that to “metalEditorSupport: 0” and this should be disabled when you reopen Unity.
Unfortunately I need the Metal support enabled as I am using Compute Shaders.
EDIT: In Unity 2017b10 I don’t get the error any more but the RenderTexture I assigned to a shader is appearing all black.
EDIT EDIT: nvm I just had to add the ‘metal’ flag to my shader.
Seems to be fixed in Unity 2017.
Please upgrade to newer Unity versions, if possible. If the bug reproduces in currently supported LTS, or Tech Stream versions (2019.4, 2020.3, and 2021.1), please submit a bug report.
I’m seeing this in 2021.3, but am not using GrabPass in any of my shaders or code. It seems to come and go, but once it happens, it’s a constant stream of errors.