Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Why can't I change framerate on clips anymore?

Discussion in 'Editor & General Support' started by chrilley, May 10, 2013.

  1. chrilley

    chrilley

    Joined:
    Mar 15, 2013
    Posts:
    9
    In Unity 3.5 I used to be able to change frame-rate on my animation clips. This seems to have been disabled in Unity 4.

    Why is this and how can I work around it? I need my Unity-made animation clips(currently 60 fps) to sync up with the imported 3ds Max animations(30 fps). Preferably a solution were I don't have to re-export all the animations from 3ds Max again.
     

    Attached Files:

  2. WheresMommy

    WheresMommy

    Joined:
    Oct 4, 2012
    Posts:
    890
    Maybe you can just use this to slow down or speed up your animation:

    Code (csharp):
    1. animation["Your AnimationName"].speed = 0.5 ;
     
  3. chrilley

    chrilley

    Joined:
    Mar 15, 2013
    Posts:
    9
    Thanks for the idea asd234w4r5! However it still seems to be off-sync. About the same effect as when I tried to make my Unity clips the double length of my 3ds Max clips.

    I should probably clarify my problem further, sorry about missing that in my initial post heh;

    I have a character side-stepping using 2 animations.1 for the character's movement and then 1 animation to move the game object. When each of his feet are planted they are currently sliding very noticeably, something that doesn't happen at all in Max or in the previous character animations I imported completely. That one has 30 fps on both model animation and unity animation clip and works perfect.

    [edit: Solved it. If I enter Debug view I can change the framerate. Again I am puzzled to this change... but oh well. Stuff be working heh :) ]
     
    Last edited: May 10, 2013
  4. huhudage

    huhudage

    Joined:
    Jun 1, 2013
    Posts:
    3
    You should enter debug mode to modify FPS.
    $fps.jpg
     
    Last edited: Jul 5, 2013
    SaphirLabs and shegway like this.
  5. unity_ykqVU5HL8QkY4g

    unity_ykqVU5HL8QkY4g

    Joined:
    Sep 19, 2020
    Posts:
    1
    Currently in unity 2021, I had to enable the "Show sample rate" option
     

    Attached Files:

    Logan-Jones likes this.
  6. Logan-Jones

    Logan-Jones

    Joined:
    Jan 8, 2019
    Posts:
    3
    Thanks this fixed it for me.
     
  7. Michael4545

    Michael4545

    Joined:
    Apr 18, 2023
    Posts:
    2
    After enabling "Show sample rate", it is "greyed out" for me and doesn't let me change it.

    upload_2023-4-27_14-10-51.png