• 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
Question by Demux0 · May 31, 2012 at 07:21 PM · animationblenderimportingkeyframe

Blender To Unity Animation Import Problems

Hi,

Unity is freaking out with some of my animations. So I have an object with animations that I made in Blender that I'm importing to Unity as an fbx file, and I'm getting all kinds of weird behavior as I try to access some of the animations.

If I split the animations, some work and others don't. For instance, an animation that spins a propeller in frames 20 to 30 will work fine if I call it with Animation.Play(). Meanwhile, the same animation that was copied and pasted to frame 100 to 110 will not play at all whether I use Animation.Play(), play automatically setting, etc.

I've tried moving the animations around as well. Perhaps for some reason, Unity wasn't importing the animations past frame 100. So I pushed all my animations before frame 100, tried again, and the same animations refused to play while the animations that played before but are now at different frames still work fine.

I tried yet again to move animations around. Suddenly, if I tell Unity to play the animation that starts at frame 1 and ends at frame 10, it plays the animation that spins the propellers. But how can that be? In Blender, frames 1 to 10 are set with keyframes to have the object stay perfectly still.

I'm tearing my hair out here. Somebody please help me!

Comment

People who like this

0 Show 1
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 nastasache · Jun 01, 2012 at 10:15 AM 0
Share

Have you tried to use a different name for the imported .fbx file? Maybe something it's cached somewhere. When I have strange issues I just reimport models as new and clean and things looks going ok (or test starting a new project with only this model with animations). I never had problems like Blender and Unity playing something different for the same frames - except if I forgot to copy the right .fbx to the assets.

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by shadowriffe · Jun 01, 2012 at 01:50 PM

Believe me, you are working against yourself with this. Unity has very good support for blender models, and one of the greatest features is the inbuilt action editor of blender:

http://wiki.blender.org/index.php/Doc:2.4/Manual/Animation/Editors/Action

There are also YouTube tutorials that go through this process specifically for importing into Unity.

You can define animations like "propeller spin" and simply put all the animation in one action. When you import the .blend into unity (simply drag-n-drop), all your actions will be different animations, already named the same as you named them in Blender. No worrying about counting frames or manually creating animations in Unity. Much smoother workflow this way.

Hope this helps.

Comment

People who like this

0 Show 0 · 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

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

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

Need help figuring out importing animations from blender 0 Answers

Importing and playing animations 1 Answer

Trouble Importing Animations from Blender 0 Answers

Best way to import animations from blender? 1 Answer

Importing animation from Blender using a lattice modifier. 1 Answer


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