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
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
- Asset Bundles non-deterministic behavior with CRCs and hash when a video has Transcoding enabled and Sprite Atlas has an override option enabled
- [Quality Hackweek] Errors "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread" and "NullReferenceException" shown when switching build platforms with Muse Texture package installed
- "Importer(DefaultImporter) generated inconsistent result for asset" warnings are thrown when reimporting the "URP" texture
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.