Search Unity

Animation Caching in IOS.

Discussion in '2D' started by TarlSS, Mar 3, 2015.

  1. TarlSS

    TarlSS

    Joined:
    Apr 26, 2014
    Posts:
    21
    In particular, Animation caching in IOS.
    So I'm doing a 2d platformer. Before I switched to IOS platform, animations were smooth.

    Now that I'm developing in IOS, I'm noticing that animations need to be 'cached'. That is, when I do the animation first, it's super choppy. Afterwards it's fine. This seems to be for all animations. So If I go through every animation if the game, it would go as normal. But the first time an animation is played, it will stutter.

    Now the question is, how do I 'cache' these animations ahead of time so that the user doesn't experience this choppiness?

    I'm using sprite sheets that are 4096 in size, dynamic batching under rendering (Since I don't have pro)