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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
Add comment