Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2017.3.0b3
Issue ID
957034
Regression
Yes
[Shaders] Procedurally instanced surface shaders won't compile with error: Unexpected identifier "StructuredBuffer"
Reproduction steps:
1. Open the attached project.
2. Play the 'Instancing' scene.
Actual behavior:
The shader will not compile with error - "Unexpected identifier "StructuredBuffer". Expected one of: typedef const void inline uniform nointerpolation extern shared static volatile row_major column_major struct or a user-defined type"
Note:
Actual/expected behavior screenshots attached.
Regression introduced in:
2017.3
Reproduced with:
2017.3.0b3
2017.3.0a1
Not reproducible with:
2017.2.0f3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
Add comment