Hey, I’m stripping a lot of stuff on my webgl build and since 2018.3, I have a lot of these messages showing up in the browser console:
Note: Creation of internal variant of shader 'Standard' failed. UnityLoader.js:4:9380
ERROR: 0:8: '' : No precision specified for (float) UnityLoader.js:4:9380
ERROR: 0:9: '' : No precision specified for (float) UnityLoader.js:4:9380
ERROR: 0:14: '' : No precision specified for (float) UnityLoader.js:4:9380
ERROR: 0:19: '' : No precision specified for (float)
I suppose these variants are empty and this is why i’m having all these messages. But isn’t there a way to avoid this ? And at the same time strip many variants ?
I am having the exact same issue, got around 50 of them clogging my console.
Note: Creation of internal variant of shader 'Standard' failed. UnityLoader.js:4:9380
ERROR: 0:8: '' : No precision specified for (float) UnityLoader.js:4:9380
ERROR: 0:24: '' : No precision specified for (float) UnityLoader.js:4:9380
ERROR: 0:33: '' : No precision specified for (float)
Also have the following underneath it
Note: Creation of internal variant of shader 'Standard' failed. UnityLoader.js:4:9380
WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader
UnityLoader.js:4:9380
WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader
I was having this same issue on my webGl Build.
I have solved it by changing “Graphics APIs” to webGL 1.0 (OpenGLES 2) as it was webGL 2.0 (OpenGLES 3) before.
@kevin-masson_1 Have you updated from Unity 2018.1 to 2018.3 recently? Do you use AssetBundles in your project? I noticed this issue and it seems Unity renaming Standard Shader (Roughness Setup) to Autodesk Interactive may have had something to do with it. I had to reassign materials to my assets in the AssetBundle, delete the original AssetBundle, then recompile them in order to resolve this.