I created a simple sprite rig using the skinning editor provided by the new 2D Animation V2 package. But it causes a huge FPS drop when added to the scene.

Methods such as SpriteSkin.LateUpdate generates significant amount of garbage as shown in the picture: See the spike shown on the CPU profiler when the rig is being enabled:

unity sprite rig profiler

The rig is not even animated. I also checked the other sample rigs provided by Unity and they also performed in a similar fashion.

Is this normal? I'm targeting mobile, so anything that can be done to avoid or improve the situation will be helpful.

I'm using 2d-animation-v2 2.0.0-preview.2 in Unity 2018.3.8f

  • 1
    \$\begingroup\$ Check this out esotericsoftware.com/forum/Perfomance-issue-unity3d-4720 \$\endgroup\$
    – Saad Anees
    Apr 1 '19 at 10:47
  • 1
    \$\begingroup\$ Preview packages are not quite ready for production use, so this might be an issue you want to raise with the developers themselves so they can improve the package prior to its non-preview release. \$\endgroup\$
    – DMGregory
    Apr 1 '19 at 11:24
  • \$\begingroup\$ @DMGregory Yeah it definitely is not production ready. \$\endgroup\$ Apr 4 '19 at 17:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.