- Home /
Changing the animation's "sample rate" property has no effect?
Hi there
I'm trying to change the sample rate of my unity animations (made using the unity animation system, with the curve editor) from 60 fps to 30 fps by changing the "sample rate" property in the inspector when I click on my animation asset. It simply does nothing. Is there anything I'm doing wrong or is this a bug?
Thank you
Answer by Bunny83 · May 16, 2011 at 08:05 PM
The sample rate is just the rate at with the animation was created and can't be changed. Anyway, animations in Unity are even time based. To change the playback speed just set the speed property of your animation state.
That's a perfect answer, that did the trick, thanks! it's just misleading to let people modify that sample rate property if it can't be changed.
Although it's true you can't change the sample you could reduce the number of objects parented to an animation. That lowers the stat for me in the profiler causing huge savings.
I'm using Unity 5.6.3p1 and it changed to read only can I set the speed with another way?
Your answer
![](https://koobas.hobune.stream/wayback/20220613134511im_/https://answers.unity.com/themes/thub/images/avi.jpg)