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 Conect11 · Nov 04, 2013 at 06:45 PM · animationperformancefreeze

A question about animating an object & CPU performance

Hello,

This is probably more of a question of if something can be done, not necessarily how to do it. I've animated gameobjects before directly in Unity with no issues, however when trying to animate my current gameobject (a boss character) Unity will slow down to an unusable speed, and my computer will show between 50 - 95% CPU usage.) Bear in mind, this is in the editor, not in playtesting. Essentially, once I open the animation window on the character, it will take about two minutes before I can select a portion of the armature, another two minutes before I'm able to insert a keyframe, then another two minutes (all estimates, btw) before I can pose that item, give another two minutes to select another part, (a leg, for example) and repeat the process. Have never experienced that with animating anything else in Unity. A couple of things:

  1. The character was created in MakeHuman

  2. The character clothes were rigged in Blender

  3. The armature was added in Blender

  4. The character has a TON of different parts, some of which I've deleted since they're under clothes and will never be visible

  5. My CPU is an older quad core Acer desktop with 4GB of RAM. Older, but has never been backbreaking. Still, I recognize that this MIGHT be my issue.

Thought I'd throw this out to the community in case others have experienced this and have found a fix that doesn't include purchasing the latest hardware. Thanks, and God bless.

Comment
Add comment · Show 2
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 87morpheus · Nov 04, 2013 at 07:46 PM 0
Share

Did. You make sure the poly count of the objects are low? He higher the poly the slower your computer goes.

avatar image Conect11 · Nov 04, 2013 at 08:15 PM 0
Share

Admittedly I had seen the terms "high poly - low poly," but had yet not looked into what they meant, though I suspected they would affect performance. Briefly tried making the animation in a brand new scene though, and so far, so good.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by zephyr7 · Nov 04, 2013 at 08:47 PM

Apart from the polygon count, there are other factors that greatly influence how much performance a rigged character draws.

One of the most important ones is how many bones a vertex can be influenced by. You can set at limit to that in the graphics/quality settings of unity.

What about your animation - Are there animation curves for many values that aren't even animated? Ditch those. Baking or importing animations around can also cause a lot of excess keyframes which can be reduced, if it looks like there are far more keyframes than neccessary to describe the curves, try to run a keyframe cleanup in your animation package over it.

The number of bones in a character also plays a role, as does polycount.

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 Conect11 · Nov 13, 2013 at 12:05 AM 0
Share

thank you so much (everyone!) for the tips. Very strange indeed, but I simply can't make animations in my main game scene. The lag gets horrendous. That said, I can make them in a nearly empty "test scene," attach them to a prefab, and place the prefab in the main scene, and the animations will run with no problem. Only lags (and all of them do) on editing, and in that particular scene.

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

17 People are following this question.

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

Related Questions

Adding animation clips via script 2 Answers

Why do my animations only play once? 1 Answer

Can the animation editor create local rotational data? 3 Answers

Vertex animation or uv animation ? which one is more efficient? 1 Answer

Is there any way to optimize Animation Sampling? 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