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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment