Search Issue Tracker
By Design
Votes
0
Found in [Package]
12.0.0
Issue ID
1329656
Regression
No
GameObject with Shader Graph Lit Material is not visible when drawn with Graphics.DrawProcedural and Vulkan Graphics API is used
How to reproduce:
1. Open the user's attached "URPAlpha.zip" project
2. Open the "BugDemo" Scene
3. Enter Play Mode
4. Observe the Game view
Expected result: GameObject with Shader Graph Lit Material is visible in the Game view
Actual result: GameObject with Shader Graph Lit Material is not visible in the Game view
Reproducible with: 2021.2.0a9, 2021.2.0a15 (12.0.0)
Could not test with: 2019.4.24f1 (Due to Shader errors), from 2020.3.5f1 to 2021.2.0a8 (Nothing is drawn)
Notes:
- The issue is not reproducible with DX12 Graphics API
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
ShaderGraph support for DrawProcedural is currently in consideration on our roadmap (https://portal.productboard.com/8ufdwj59ehtmsvxenjumxo82/c/61-support-for-drawindirect-drawprocedural). This bug is more of a feature request.
The inconsistency between Vulkan and DirectX, in this case, is due to nuances in the shader compilation process. DrawProcedural support is not officially provided for ShaderGraph at this time.