Search Issue Tracker
Fixed
Votes
0
Found in
5.0.2f1
Issue ID
702240
Regression
No
[SpriteRenderer] Adding multiple materials to the Sprite Renderer spams "materialIndex == 0" errors to the console
Steps to reproduce:
1. Create new project
2. Create an empty 'Sprite' game object
3. Select the Sprite in the hierarchy
4. Open the inspector in 'Debug' mode
5. Expand 'Materials' property and change the size to 2 or more
6. Notice "materialIndex == 0" errors are spammed every time you click on one of the materials or the sprite game object
Comments (2)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
treecki
Nov 29, 2018 04:21
This was reported in 2015, is there any updates to this fix? It'd be nice to be able to use multiple renderers.
treecki
Nov 29, 2018 04:21
This was reported in 2015, is there any updates to this fix? It'd be nice to be able to use multiple renderers.