Search Issue Tracker
By Design
Votes
0
Found in
5.6.1f1
Issue ID
930165
Regression
No
If GameObject contains Animator Controller with Material Animation its Material cannot be changed during runtime
How to reproduce:
1. Open the attached "zProject" project and "AnimatorBug" scene
2. Enter playmode, click on Sphere (in Hierarchy) and view its Inspector settings, notice that Animator component is enabled
3. Try to press "red" and "green" UI buttons in game to change Spheres Material, notice that the Sphere doesn't react to it
4. Click on "stop animator" button
5. Click on "red" and "green" UI buttons, notice that Sphere Material now changes accordingly
Expected result: Material should change, even though the Animator component is enabled
Actual result: Material does not change when Animator component is enabled
Note: This issue only happens with an Animation Controller that has a Material animation. Issue appears even if this particular animation is in a null state (is not playing)
Regression introduced in - 5.6.0a1
Reproducible with - 2017.2.0b2, 2017.1.0f3, 5.6.2p2, 5.6.0a1
Not reproducible with - 5.5.4p2
--------
This bug is by design:
Not a regression. The animation format has changed from 5.5 to 5.6. If the animation is made properly for 5.5, then the behaviour is the same.
The Animator writes every value it's bound to on every frame. This is to avoid values staying in random values when changing states.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scrolling on a default ScrollView in a WebGL build is too sensitive when compared to other platform builds and the Editor
- "Fix All" button does not disappear after applying fixes when setting up DXR
- Custom ScriptableObject asset in the project setting are not well deserialized during the Reimport All process
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
Add comment