Search Issue Tracker
By Design
Votes
0
Found in
6000.0.51f1
Issue ID
UUM-110142
Regression
No
CBuffer not populating when using SRP Batcher compatible shader
How to reproduce:
1. Open the attached “IN-105427“ project
2. Open Assets/ISS/ReproScene
3. Observe the Game View
Expected result: All quad objects are coloured
Actual result: Quads rendered using SRP-compatible shader are white
Reproducible with: 6000.0.51f1
Could not test with: 2022.1.0a1, 2022.3.63f1, 6000.1.9f1, 6000.2.0b7, 6000.3.0a1 (compilation errors of custom package scripts)
Reproduced on: MacOS 15.3 (M2 Ultra), Windows 11
Not reproduced on: No other environment tested
Notes:
- Building this project is difficult due to many dependencies
- The color is being read per vertex, rather than per fragment (as occurs with regular SRP shaders)
- The quads are rendered via Sprite Renderer, and the project uses Entities
- Easiest to debug by attaching a built Unity Editor and getting a frame capture from the Game View, doing so will show that the color vector in the cbuffer is 4.0980210304
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note:
The value displayed in the debugger is exactly the one set in the material.