Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0f2
Issue ID
1051355
Regression
No
Shader that uses SV_RenderTargetArrayIndex and geomery shader is not compiled/translated into Vulkan properly
How to reproduce:
1. Open the user-submitted Project OR QA attached project in comment
2. Go to Player Settings and set Graphics API to Vulkan
3. Right click on Draw.shader and click Reimport
4. Observe the console for shader error
Shader error in 'Custom/Draw': Program 'geom', error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Named register components cannot appear to the left (xyzw order) of components that are not named in a given register. TessFactors are an exception. Affected register is output 1 in stream m0. (on vulkan)
Compiling Vertex program with INSTANCING_ON
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Expected result: The game view renders rainbow colored quads
Actual result: The game view is black
Reproduced in: 2019.2.0a4, 2019.1.0b2, 2018.3.0a3, 2018.2.0b9, 2018.1.6f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
Resolution Note (2019.1.X):
OpenGLCore works fine now but Vulkan still has the shader error. Unfortunately due to limitation of our current shader compilation pipeline, we are not able to resolve the error on Vulkan.