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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
Add comment