Search Issue Tracker
By Design
By Design in 5.6.X, 2017.1.X
Votes
0
Found in
5.6.3p2
Issue ID
951006
Regression
No
Animation curve does not overwrite values changed via code
With an animation curve. e.g. transform.scale.x setting with a key set to 1 every frame. Changing this in the code will set it to the value in code, but it will not reset the value back to what it is meant to be in the animation.
Steps:
1. Open TestScene (Project: "AnimatedPropertyResetProblem copy.zip")
2. Press Play
3. Press A
Expected behavior: model does not stretch in x because animation has curves setting it to 1.
Actual behavior: observe that the model stretches in x, even though the animation has curves setting it to 1.
Other behavior (expected one):
1. Outside of Play mode, set "Turntle/Skeleton_GRP/root_JNT" transform.scale to any number other than 1,1,1
2. Press Play
3. Observe the scale gets set to that in the animation.
4. Press A as before (it will not stretch, animation setting it correctly)
5. Try modifying in the inspector, again will not change due to the animation setting it as intended.
Reproduced with: 2017.3.0a7, 5.6.3p2, 5.5.4p5.
BY DESIGN: This is intended. As scale transforms are constant curves in this instance, we do not re-evaluate the curve at every frame.
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