Search Unity

[5.3.0f4][iOS]BUG? Animated objects not visible

Discussion in 'iOS and tvOS' started by Abatuf, Dec 15, 2015.

  1. Abatuf

    Abatuf

    Joined:
    Jan 9, 2014
    Posts:
    18
    This is very strange...

    1)Create new project in 5.3.0f4
    2)Switch to iOS deployment
    3)In new scene create some simple Cubes
    4)Create animation clip for one of the cubes with some rotation
    5)See if it works in editor
    6)Deploy to real iOS device(mine case is iPad mini 2 with iOS 9.2)
    7)See what animated object is totally not there.

    Changing api to ogl, changing runtime from il2cpp to mono does nothing.

    If i take some animations created in pre- 5.3 time they will work ok! Am i loosing it?

    If you check out animation clip files itself you will see this:
    File created in 5.3.0f4
    öô?
    localEulerAnglesRaw.x
    öô?
    localEulerAnglesRaw.y§AâCâC
    öô?ÖÎ√BâCâC
    localEulerAnglesRaw.z

    File created in pre 5.3
    ?
    localEulerAnglesBaked.xArrow_right
    ?
    localEulerAnglesBaked.yArrow_rightÄJƒêu°Eêu°E?;ࢬ;ࢬlocalEulerAnglesBaked.zArrow_right
    ?
    localEulerAnglesBaked.x



    Does it has something to do with localEulerAnglesBaked and localEulerAnglesRaw? I can't see any property related to this.
     
  2. Abatuf

    Abatuf

    Joined:
    Jan 9, 2014
    Posts:
    18
    So... there is something, and it's here:

    The first option "Euler Angles", which is set by default, makes object just disappear on iOS device. But the second one works just fine! And yes, the first one uses localEulerAnglesRaw in the file and the second one uses localEulerAnglesBaked.

    Well, i don't really understand whats going on, is it bug or not, why localEulerAnglesRaw does not work on iOS but thats it, what i can do...
     
    nrajacic likes this.
  3. JBacal

    JBacal

    Joined:
    Jun 6, 2015
    Posts:
    59
    I am seeing same issue. Thanks for the workaround.
     
  4. MilanGM

    MilanGM

    Joined:
    Nov 20, 2013
    Posts:
    8
    THANK YOU!!!!!!!!!!!!!
     
  5. dvdarias

    dvdarias

    Joined:
    Sep 24, 2014
    Posts:
    12
    Thanks!!!!!
     
  6. Kielgasten

    Kielgasten

    Joined:
    Jul 23, 2012
    Posts:
    1
    Hi,
    Thanks for this Futaba :)

    Have you reported it as a bug? It certainly seems like one.
     
  7. Giacas

    Giacas

    Joined:
    Sep 14, 2014
    Posts:
    3
    Thank you for this workaround, you saved my day!!!
     
  8. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Does this issue still appear on 5.3.3 or later versions of Unity?
     
  9. Abatuf

    Abatuf

    Joined:
    Jan 9, 2014
    Posts:
    18
    As for 5.3.3f1 rotation works just fine! Tested on both Android and iOS.
     
  10. dradb

    dradb

    Joined:
    Jan 10, 2015
    Posts:
    86
    It must have been fixed in 5.3.3. I'm on 5.3.2 Android and it still has the problem. The fix works!