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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Add comment