Search Issue Tracker

By Design

Votes

0

Found in

5.5.1f1

Issue ID

899996

Regression

No

Animated material color always returns default value at runtime

Graphics - General

-

To reproduce:

1. Open project, attached by tester
2. Open scene, if not open
3. Press Play
4. Press X on the keyboard, which prints the material's color to the console
5. Observe color values in console

Expected: getting material's color at runtime while it is being animated should return the color that is currently shown on screen
Actual: getting material's color at runtime while it is being animated returns the default color value (1, 1, 1, 1)

Reproduced in 5.4.5p1, 5.5.0f3, 5.5.1f1, 5.5.3f1, 5.6.0p1, 2017.1.0b1

By design: when using animation with materials it does not animate the material but the material property block attached to the renderer.

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.