Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity Animation Glitches in Build

I have a character in my game that carries an umbrella and briefcase. The umbrella and briefcase are both part of the character's rig and he animates and looks great inside the editor and standalone PC builds (see example below). The character also has an animation where he opens up the umbrella. I am using mecanim.

Working Umbrella

However when I publish a Web, Android or iOS build, the umbrella gets stuck in a weird half open state like the below:

Broken Umbrella

And it opens fully in animation loops where it shouldn't.

There's no compression turned on that I can see, and I've exhausted all my ideas on why it would do this. But put simply, it works in the editor and in standalone PC builds, so why not in a Web, Android or iOS build?

Edit - I'm using Unity Pro, version 4.3.4f1

Edit 2 - Tested in the PC Standalone build and it works fine

Edit 3 - Wasted a bounty on this issue and I'm still no closer to fixing it, I'm now thinking of submitting a bug report to Unity.

Any hints would be greatly appreciated!!

Thanks

like image 513
bbeckford Avatar asked Jun 06 '26 09:06

bbeckford


1 Answers

This have been happening to me since I updated to Unity 4.3.4f1. Animations work perfect in the Editor however they fail when I build the apk file to Android.

I don't know if it is related to my OS (Windows 8.1 x64) or not but I solve it saving my project and restarting Unity editor.

For now I will keep doing this till they fix this bug in the next release.

like image 154
letiagoalves Avatar answered Jun 08 '26 23:06

letiagoalves