Animator pushes my mesh 100 meters away, on iOS build only
My scene is working perfectly as expected when testing on the editor on mac.
However when I try to build the game for iOS, my mesh disappears. Please see attached photos.
I can still se their blob shadow on the phone, but the mesh is not there.
I added some logging, the mesh is pushed randomly 100 meters along Y axis. The parent game object still ok.
When I remove the animator component, it fixes the problem.
Only happens on iOS
Im stuck with this for a few days without a solution, any help appreciated, thanks guy.
It looks OK on PC/MAC:
on iOS, the mesh randomly moved away, about 100 meters vertically on Y-Axis. It seems to happen when the character moves.
Answer by nonehill · Feb 29, 2016 at 10:19 AM
try to call RecalculateBounds() and RecalculateNormals();