Search Issue Tracker

Fixed in 2017.2.0f3

Votes

1

Found in

5.6.0f3

Issue ID

919043

Regression

No

Graphics.DrawMeshInstancedIndirect ignores the material property block parameter

Shaders

-

Steps to reproduce:
1. Open "BugPropertyBlock" project
2. Open scene "Scene"
3. Press play
-Color isn't applied to instances in the scene/game view

Expected result: color should be applied with block.SetColor("_Color", Color.red);

Note: The parameter for DrawMeshInstancedIndirect is set in Renderer.cs 41 line

Reproduced on: 5.6.0f3, 5.6.1p1, 2017.1.0b9
Couldn't test it on 5.5 due to error `UnityEngine.Graphics' does not contain a definition for `DrawMeshInstancedIndirect'

Comments (1)

  1. noobz_from_poland

    Jun 07, 2018 11:31

    I'm experiencing the same problem in Unity 2017.1.2f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.