I have in my game a pretty basic animated character, which consists of 2d sprites. All animations are done inside Unity 5. Everything works fine then tested in editor or windows standalone. But then the game runs on android some sprites of my character become invisible.
I do not animate isActive property anywhere and it is always checked.
Now, I found out that the disappearing ones are only the sprites that have their rotation animated. If I delete rotation keyframes or set their values to zero, these sprites are visible, but even if the slightest rotation value is added, like 0.1, I get the same problem.
I found the solution, that solves the problem on my testing devices. The problem seems to be the rotation keys interpolation mode - euler angles.
If I right click the rotation channel in animation editor panel tree view and switch interpolation mode to quaternion, the rotation starts to work as expected from it on android devices. This works with Unity version 5.3.0f4.
I just spent 7 hours trying to debug this before finding this thread. Thank-you for finally putting me out of my misery haha.
Just checking the 2D Sprites I previously created:
In v5.2, the rotation defaulted to “Euler Angles (Quaternion Approximation)”.
In v5.3, the rotation is defaulted to “Euler Angles”.