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 Onewaysidewalks · Mar 18, 2015 at 11:51 AM · animationandroidanimatorperformance

Android Performance with 2d BoneBased Animation

Firstly, pardon my noobness, this is my first question!

I currently testing the bone-based animation using an animator + animations...

I have setup a simple character against a black background, of which is sitting in the 'idle animation'. The idle animation has 3 key frames, at 0:10, 0:25, and 0:40. Only one bone moves on each of those key frames.

When I play the 'game' from my pc, it renders perfectly, transitioning between keyframes nice and smoothly.

However, when run the build to an android phone (nexus 6), the animation is worse then choppy. It moves choppily through the keyframes, and psuedo-locks up the whole phone. (i can exit the game via the 'home button', but it takes several swipes to get the home button/menu to even appear)

Is there something about using animator/animations for mobile phones that I am unaware of that can seriously hurt the performance?

Here is the output from the internal logger:

  ----------------------------------------
  Android Unity internal profiler stats:
  cpu-player>    min:  3.6   max: 28.8   avg:  7.8
  cpu-ogles-drv> min:  0.0   max:  0.0   avg:  0.0
  cpu-present>   min:  0.0   max:  4.9   avg:  0.1
  frametime>     min:  3.7   max: 28.8   avg:  7.9
  batches>       min:  14    max:  14    avg:  14
  draw calls>    min:  14    max:  14    avg:  14
  tris>          min:   119  max:   119  avg:   119
  verts>         min:   217  max:   217  avg:   217
  dynamic batching> batched draw calls:   0 batches:   0 tris:     0 verts:     0
  static batching>  batched draw calls:   0 batches:   0 tris:     0 verts:     0
  player-detail> physx:  0.6 animation:  0.2 culling  0.0 skinning:  0.0 batching:  0.0 render:  2.7 fixed-update-count: 0 .. 1
  mono-scripts>  update:  0.0   fixedUpdate:  0.0 coroutines:  0.0
  mono-memory>   used heap: 278528 allocated heap: 372736  max number of collections: 0 collection total duration:  0.0
  ----------------------------------------
 

Here is a snippet with my unity profiler of the device: alt text

Any thoughts?

unityanswersandroidperformance.png (153.6 kB)
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

0 Replies

· Add your reply
  • Sort: 

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

2 People are following this question.

avatar image avatar image

Related Questions

i have a problem with Movement i need help 0 Answers

Do Animation Layers Significantly Affect Performance 1 Answer

Animator or animation frame speed sudden change when auto play 1 Answer

2D Particle System but using Frame by Frame Animation? 0 Answers

Can't get my Unity 2D animation to play properly 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