Search Issue Tracker

Status: Fixed in Unity 5.5.1

Votes

0

Found in

5.5.0f1

Issue ID

853627

Regression

No

[Graphics] Material.SetBuffer does not have an "int nameID" override method

Graphics - General

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 3Workaround is possible

Material.SetBuffer does not have an "int nameID" override method in 5.5. All other Set methods of Material such as SetInt and SetFloat have a method with e.g. SetFloat( int nameID, float value ); Where SetBuffer is missing this optimisation.

To reproduce:
1. Create script
2. Use Material.SetBuffer to see that it cannot be used with an int parameter (also affects SetTextureOffset and SetTextureScale)

Expected: Material.SetBuffer should have an int parameter

Reproducible: 5.5.0f1, 5.6.0a3

All about bugs

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