Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by jrpimentel · Apr 09, 2017 at 05:30 AM · animationanimatoranimator controllerblend treesample rate

2D: initial sprite idle animation playing too fast upon game initiation until I input movement keys?

Hello everyone,

So odd problem I'm running into: I'm making a top down 2D adventure game and when I initialize my game, the default character facing is an animation that faces down, then after a wait of 4 or so seconds, a little glimmer passes over his helmet visor. I have all of the idle animations in a blend tree, although this down facing animation is the only one within the "Idle" blend tree that has more than one frame to it. The weird thing is is that when I first start the game, this down-facing idle animation plays WAY too fast and the helmet speed glimmers like every second, but then as soon as I move so that the animator switches from the idle blend tree to moving, then back to idle, the animation plays at the correct speed with the correct sample size I set in the animation (12 in this case). I can't figure out why the initial animation looks like it's playing with a sample size of 60 when the game initially starts until I move and it updates itself.

Hopefully that makes sense. I've double checked all the sample sizes for all the animations as well as the animation speed for the animation itself and everything looks correct for how fast the animation should be playing. In the animator controller for the player, I currently have the idle blend tree set as the default state. I tried putting in the down-idle animation separately as it's own state in the animator controller and having that be the default state instead, but that didn't work either. Is there a setting somewhere I'm missing that's causing this animation speed increase upon initiation? Has anyone run into something similar to this before?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by BrendaSchmidt · Jun 21, 2018 at 06:00 PM

I'm having the same problem. Did you find a solution?

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BrendaSchmidt · Jun 21, 2018 at 06:27 PM 1
Share

I finally just added a state at the beginning for my starting animation that is not part of the blend tree and when the player moved then it moves into the blend tree and now it is working. I'm not sure if this is a good way to do it or not.

avatar image BrendaSchmidt · Dec 07, 2018 at 03:21 PM 2
Share

I think I finally got the answer to this problem. On the blend tree of the initial animation you have to fill in an animation at the 0,0 point. If you do that, problem solved.

avatar image Wohlman · Aug 18, 2021 at 09:04 PM 0
Share

Oh man, thanks a lot. I've been taking apart my entire project for hours to find the problem. Thank you.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Blending animations for a bow with differing charges 1 Answer

Animation frozen 1 Answer

Can't set animator bool to True 1 Answer

blend tree animation through script? 0 Answers

Velocity not changing value in Blend Tree 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges