Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b14
Issue ID
650589
Regression
Yes
[Shader Compiler] Empty surface shader throws errors on GLES2 graphics level
Empty surface shader throws errors on GLES2 graphics level
Steps to reproduce:
1. Create a new project
2. Create a new shader and make use of it
3. Deploy the project to any device using Open GL ES2.0 graphics level. Upon start error will be thrown:
D/Unity (10112): -------- GLSL error: Fragment shader compilation failed.
D/Unity (10112): ERROR: 0:6: '' : extension 'GL_EXT_draw_buffers' is not supported
D/Unity (10112): ERROR: 0:51: '[' : array index out of range '1'
D/Unity (10112): ERROR: 0:52: '[' : array index out of range '2'
D/Unity (10112): ERROR: 0:53: '[' : array index out of range '3'
D/Unity (10112): ERROR: 4 compilation errors. No code generated.
On GLES 2.0 devices.
GLES 3.0 devices will throw error:
D/Unity ( 8513): -------- GLSL error: Fragment shader compilation failed.
D/Unity ( 8513): ERROR: 0:6: '' : GLSL error: extension 'GL_EXT_draw_buffers' is not supported
D/Unity ( 8513): ERROR: 1 compilation errors. No code generated.
D/Unity ( 8513):
D/Unity ( 8513):
D/Unity ( 8513):
D/Unity ( 8513): Warning: Creation of shader 'Custom/MyShader' failed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Add comment