Hello, maybe someone knows why it is happening?
For new weapons i decided to use standard shader and yesterday few players wrote that they can’t see weapons in game.
Screenshots:
Note: For most of players everything is fine.
Unity version 5.3.4.f1
Platform: Webplayer
Strange. Have you checked the material queue in debug mode?
Sorry, but i don’t understand what you mean with “material queue in debug mode”.
By the way, previously i built the game and i saw errors in console:
Shader error in ‘Standard’ Too many math instructions for SM2.0 (65 needed, max is 64). Try #pragma target 3.0 …
When i added #pragma target 3.0 everything is fine again.
But i still don’t understand what caused these errors?
One more thought… maybe it happens because they play on very old pc’s? Some of them are still on windows XP and they have integrated graphics like “GMA 3100”.
Is there any limitations?
The GMA 3100 and older are only capable of Shader Model 2.0. The error you saw is caused by your shader being just slightly too complex for shader model 2.0. The standard shader it’s fairly complex as it is so it doesn’t leave much room for additional math, even though they use a simplified version when shader model 2.0 is in use.
So now the shaders require shader model 3.0 and GPU’s that don’t support that won’t be able to display the shader.
In all reality in this day and age, I would simply not support GPU’s that don’t support SM 3.0. (As I also would not offer support if the OS is Windows XP.) But, well, I’m not in game development (much.)