Search Unity

  1. How has 2019.2 and the beta been for you so far? Give us feedback in this thread.
    Dismiss Notice

2D Animation Mobile Performance

Discussion in '2D Experimental Preview' started by WhamBamKazaam, May 30, 2019.

  1. WhamBamKazaam

    WhamBamKazaam

    Joined:
    Jun 13, 2018
    Posts:
    6
    First off, really digging the 2D Animation tools so far. We've been able to create some cool, organic animations and our artist is loving the workflow, so kudos!

    That said, we're noticing that our animated characters are taking a surprising toll on the game's performance, particularly on lower-end mobile devices. Each character consists of ~30 pieces; performance seems fine with 1 or 2 characters, but when we've got 6 characters onscreen at once, the frame rate drops below 10 FPS (only on our Galaxy tablet; the game runs fine in the editor and on iOS devices). I can confirm that the Sprite Skin/Sprite Skin Entity scripts are the culprit here; I added a debug button that just disables the Sprite Skin Entity scripts on all characters and the frame rate immediately shot up to about 50 FPS.

    I'm curious if there's anything we can be doing on our end to improve performance and/or if there are additional optimizations in the pipeline. We're using the latest version of 2D Animation (I'd seen some dev comments that performance was expected to improve with 2D Animation 2.1.0, which prompted our update to Unity 2019; to be fair, the animations are definitely leaving a smaller footprint while running the game in the editor, but our Android device is still chugging). I suppose using significantly fewer pieces/Sprite Skins is an obvious solution, but we'd like to maintain the existing level of quality (or something close to), if possible.
     
  2. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    124
    Thanks for the report. Can we know the tablet model or the specs so that we can check it out?

    And if it possible for us to get the character asset as well?
     
  3. WhamBamKazaam

    WhamBamKazaam

    Joined:
    Jun 13, 2018
    Posts:
    6
    Yep! The device is a Samsung Galaxy Tab E Lite 7.0". 1.3 GHz quad-core processor, 1 GB RAM.

    Happy to send the character asset as well. What's the best way to do so?
     
  4. Leo-Yaik

    Leo-Yaik

    Unity Technologies

    Joined:
    Aug 13, 2014
    Posts:
    124
    @WhamBamKazaam Thanks for the info. You can send me a Google drive link or some sort via PM.