版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wolf96/article/details/83858406
It is not anything to do with you. There is a problem with the UNITY_PASS_META not being defined properly on import or when a shader gets recompiled in 2018.1.
To "fix" it, you can right click the shader and click Reimport. However you'll have to do that everytime you change that shader : (
https://www.reddit.com/r/Unity3D/comments/8kjzdf/standard_shader_invalid_subscript_uv2_error/