Search Issue Tracker
Fixed in 5.5.0
Votes
3
Found in
5.5.0xb1
Issue ID
828454
Regression
No
GLSL compilation error 'Swizzle of non-vector primitive float' with a shader working on DX11
Steps to reproduce:
1) Open the latest attached project.
2) Switch the Graphics API to OpenGL Core.
Shader compilation errors appear in the console:
GLSL compilation failed:
ERROR: 0:141: Swizzle of non-vector primitive float
GLSL compilation failed:
ERROR: 0:7: Declared size (3) of input array in the tessellation evaluation shader is incompatible with earlier declarations (expected 32)
This happens because GLSL compiler tries to incorrectly swizzle on a float value.
Reproduced on:
5.5.0b2, 5.4.0p4
The shader also fails to compile, but with different errors on 5.3.6p4.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab Overrides “Apply” button is too big and overlaps with the context menu’s outline
- Prefab Overrides “No Overrides” text is too large, and the the Context Menu of the Parent GameObject has a lot of empty space when opened
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
Add comment