Search Issue Tracker
Won't Fix
Votes
4
Found in
5.6.1p1
Issue ID
920853
Regression
No
CommandBuffer.DrawMeshInstanced[Indirect] is not affected by Directional light due to _StencilNonBackground
Steps to reproduce:
1) Download attached project 'DrawMeshInstancedShadows.zip' and open in Unity
2) Open scene 'scene' and press Play
You will see that trees are not affected by Directional light
Expected result: Trees should be affected by Directional light (check attached image 'expected.png')
Actual result: Trees are not affected by Directional light (check attached image 'actual.png')
Reproduced with:
5.6.0a6, 5.6.1p4, 2017.1.0b9. 2017.2.0a3
Workaround:
Select gameObject 'Renderer' in the Hierarchy window and set DrawMode to 'Graphics Draw Instanced'
Note: I wasn't able to test with older than 5.6.0a6 release of Unity due to errors in the Console window
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment