Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by JeppeNygaard · Jan 23, 2011 at 02:05 PM · animationmaya

Animation only gets half way through its loop

Hi All,

I'm importing a character with animation from maya. Saving a .ma file in my assets folder and letting unity convert the file to fbx. The animation file has a number of animations on different parts of the timeline. One of them is an idle animation running from frame 0-48

if I DON'T split the animtion and just click "play" after adding the character to the game all animations play perfectly in a sequence. But when I split up the animation and define the idle loop to run from frame 0 to frame 48 and then tries to play that loop, it only plays half (or may two thirds) of it and starts over.

I haven't figured this out and I'm hoping someone in here can help me (is there a fps issue to have in mind when exporting animation from maya? ... curretly everthing is animated to 24fps inside maya)

Looking forward to hearing from you!

Thanks Jeppe

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

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by JeppeNygaard · Jan 23, 2011 at 11:52 PM

I found the answer :)

Apparently there is currently a bug in Unity when used in combination with Maya2011 and FBX 2011 - when importing animiation the timelines/framenumbers do not correspond between Maya and Unity - the bug should have been fixed and implemented in Unity v3.2

There is a work around: switch Maya to run 30fps - then everything works perfect!

Happy days!

Best Jeppe

Comment
Add comment · Show 4 · 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 oliver-jones · Jan 24, 2011 at 12:00 AM 0
Share

Brilliant! Been looking for an answer my self - I thought I was doing something wrong!

avatar image oliver-jones · Jan 24, 2011 at 12:02 AM 0
Share

Off topic slightly, but how do I change the fps in $$anonymous$$aya 2011? Cheers

avatar image JeppeNygaard · Jan 24, 2011 at 11:33 AM 0
Share

Hey Oliver,

Click "$$anonymous$$aya">"preferences" and then click on "settings" (right above "animation") here you can choose your framerate. If you then click on "timeline" (still in "preferences") you can choose a playback that corresponds to the chosen framerate.

Cheers Jeppe

avatar image Edwige · Feb 02, 2011 at 05:04 PM 0
Share

I have the same issue, and setting the playback speed to 30 doesn't change the problem at all. I tried to do it with $$anonymous$$aya 2011 and 2008, same issue, with different fbx exporter. Does anyone have found a solution yet ?

avatar image
0

Answer by Makaber · Jan 23, 2011 at 03:13 PM

Well I don't use maya, but when playing everything before splitting it you could check at which frame unity ends the idle sequence. Hit Ctrl+6 for the animation window.

Comment
Add comment · Show 1 · 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 JeppeNygaard · Jan 23, 2011 at 03:22 PM 0
Share

Thank you very much for this - I'm still new to Unity and did actually not know that there was an editor for animation curves - this is really helpful - but why the timeline does NOT correspond to my maya timeline really weirds me out! (the idle animation went from being 0-48 in maya to 0-62 in Unity!!) - strange!

avatar image
0
Wiki

Answer by Brian Horgan · Mar 18, 2011 at 06:30 AM

Hi Guys, I've run into the same bug with Unity 3.3. I've tried importing FBX files (both 2010 and 2011 FBX versions coming out of Maya 2011) and when Unity maps the animation on automatically it gets the frame count for the loops wrong. The only way I've found to get it working is to go in and set up the frame ranges for the animations manually. I'm hoping to see a fix as this is going to slow down our pipeline a bit.

Comment
Add comment · 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.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Can I make animations snap to a frame? 1 Answer

Animation without rigging? 2 Answers

How to rig model enough to animate in unity? Just need skeleton? 4 Answers

No tranform animation on root bone from maya.mb 6 Answers

My animation only plays on loop 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