Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a1
2019.1.0a1
2019.2.0a1
2019.2.0a4
Issue ID
1130847
Regression
No
Generated shader code ignores the type of the variable passed when passing a uint variable from vertex shader to 'surf' shader
How to reproduce:
1. Open the user's project
2. In the Project window go to Scenes/SampleScene
3. Enter the Play Mode
Expected result: The first two cubes do not flicker
Actual result: The first two cubes flicker
Reproducible with: 2018.3.7f1, 2019.1.0b5, 2019.2.0a7
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
As they are currently designed surface shaders manually pack interpolators following a specific set of rules, and they currently only support floats. We are moving away from surface shader with SRP so will not be adding support. If you want manual control then you will need to write a custom (non) surface shader.