Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2017.4.X
Votes
1
Found in
2017.3.0b1
2018.1.0b9
Issue ID
1010738
Regression
Yes
Graphics.DrawMeshInstanced fails to apply array properties from a MaterialPropertyBlock
Steps to reproduce:
1. Open the attached project
2. Open the SampleScene
3. Play the scene
4. It renders two triangles side by side, one with DrawMesh and the other with DrawMeshInstanced
5. Notice that the expected color for both is grey, but the one rendered using DrawMeshInstanced is red (editor), no render (player)
Reproduced with: 2017.3.0b1, 2017.3.1p3, 2018.1.0b10, 2018.2.0a4
Not reproduced with: 5.6.5p2, 2017.1.3p2, 2017.2.2p1
Fixed in: 2018.3.0a1
Expected results: the expected color for both is grey, but the one rendered using DrawMeshInstanced is red (editor), no render (player)
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
WillCrate
Jun 19, 2018 18:59
My assumption is the workaround is to draw the meshes individually via many DrawMesh calls instead of DrawMeshInstanced. Not really a workaround for projects like ours that would take a large performance hit from it.
Grateyfratez
Jun 13, 2018 15:49
The severity shows "workaround is possible". What is the workaround and when is 2018.3.0a1 going to be available?
WillCrate
May 15, 2018 23:00
We use DrawMeshInstanced for our tree rendering and this is preventing us from updating past 2017.2.2p1.