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

2D

-

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)

  1. 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.

  2. 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.

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.