Search Issue Tracker
Third Party Issue
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.0f1
2021.2
Issue ID
1334013
Regression
No
[Windows] Semantics are not holding consistency between vertex output and fragment input
How to reproduce:
1. Open the user's attached project and Scenes/semantics scene
2. Observe the Cube in the Game view
Expected result: the color of the Cube is rendering world position
Actual result: the Cube is grey
Reproducible with: 2018.4.35f1, 2019.4.28f1, 2020.3.11f1, 2021.1.10f1, 2021.2.0a19
Notes:
1. Not reproducible when Graphics API is set to Vulkan, OpenGLCore, OpenGLES2, or OpenGLES3
2. Reproducible when Graphics API is set to Direct3D11 and Direct3D12
2. With Direct3D12 Cube is transparent
3. Issue is not reproducible when struct members of vertex output and fragment input order is the same
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
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Resolution Note (2021.2.X):
It looks like it's just the way that FXC and DXC work - they don't respect the TEXCOORD index and just use the order of declaration for register allocation. There's also no way to manually specify the register index.
It seems the only way to do this correctly is to keep the order of declaration the same between shader stages.