Search Issue Tracker

By Design

Votes

0

Found in

5.3.0f4

Issue ID

752575

Regression

Yes

Material.SetTexture does not change texture of material

Graphics - General

-

Repro steps:
1) Open the project and main.scene in it
2) Select Canvas -> Color Picker -> Image in the Hierarchy
3) Noticed the script attached, which should change the texture on Play
4) Play and notice nothing changes

Regression introduced in: 5.3.0b1

By design: wrong usage of material.SetTexture, was only working since in that case "_MainTex" ID happened to be zero.

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.