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
1
Question by geerincks · Nov 24, 2011 at 09:38 PM · animationfpsperformancemayaframerate

Maya animations are killing my framerate

I have a scene with only a cube as floor and 3 cube enemies. now I've made a testing model in maya with some animations. Whenever I run my game without animations I have 60 FPS, then the moment an animation starts it drops to 12 fps. If i add another maya model with any animation it drops to 3 FPS.

I noticed unity imports animations at 30 FPS and my Maya was set to "Film (24FPS)" in preferences. Also my model is just some spheres and cubes that I parented to the bones (instead of binding skin). Could any of this cause the problem?

First I exported my maya files as FBX and exported every animation separately with baking done in Maya. Then I tried importing the complete .mb file in unity and select bake animations in unity and split animations there. Both ways my FPS drops when running any animation.

In script I use animation.CrossFade("run"); and it is called inside the update function... but I don't think that's causing the problem cause when I set the model with automatically play idle animation, the FPS is also dropping before even running any animation triggering in the script.

Any ideas what might be causing the problem?

I'm kinda new to unity and especially the 3D modeling/animating part so any help would be greatly appreciated!

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Windgate · Mar 05, 2012 at 04:14 AM

How many tris and how many children objects there are in the hierarchy? I have had the same problem when lots (More than 200) children mesh are attached as sons of a single object with animation.

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
avatar image
0

Answer by Yanger_xy · Apr 11, 2012 at 03:11 PM

I have tested it too, without animation, the maya model in the unity perform well, but with the animation, FPS drops down nearly a half! How to optimize it, any answer will be appreciated!

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Spriteskin.LateUpdate 2 Answers

I have performance lag after my game has been compiled. 1 Answer

Play animation serially imported from Maya to Unity 1 Answer

Animation of terrain causes drastic performance drop (fps) 0 Answers

Adding animation clips via script 2 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