Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity 5.3.2 Mecanim causing crashes on iOS

Discussion in 'iOS and tvOS' started by nxtboyIII, Feb 14, 2016.

  1. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    Hi,
    Many of the players of my game have been experiencing quite a few crashes, and most of the crashes are due to the same bug. It has to do with mecanim but I don't know what line of code is causing it, or if it's a Unity bug. Here is the symbolicated crash report:



    If somebody could please help me fix this, that would be great. This needs to be fixed ASAP because many people are crashing due to this bug.

    Thanks.
     
  2. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
  3. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hi @nxtboyIII,
    Could you file a bug report with a small repro project? Thanks!
    Chris
     
  4. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    Hi,
    I can't make a repro project because I have no clue where the bug is happening, and I can't upload my entire game because it is huge. What should I do then?
     
  5. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    Hi @nxtboyIII,
    Understood, I think filing a bug would still be helpful in that it might be a known issue, or a fix could be going into a patch release. Also, filing a bug exposes it to QA and other engineers within Unity.
    Thanks,
    Chris
     
  6. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    Okay, I uploaded a bug report but the only file I attached was a screenshot of the crash report in Xcode.

    Please fix this ASAP, many players are experiencing crashes.
     
  7. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    I posted a bug report last week but I haven't received any feedback.
     
  8. christophergoy

    christophergoy

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    735
    could you post the bug number?
     
  9. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    It's case 772039
     
  10. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
  11. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    Hi,

    Without a proper reproduction project it's essentially impossible for us to fix the issue. Could you please try to methodically strip down the project until you can upload it? Since it seems that the issue is mecanim-related, try not to touch anything that changes animation behavior. Except that, try to remove various resources such as textures, sounds, non-animable objects, etc. etc. etc. until project size is reduced. Try to make the bug easier to reproduce by adding more animation, etc. It's possible to create fairly small projects this way, though unfortunately it's very time consuming.

    Thanks for your help.
     
  12. nxtboyIII

    nxtboyIII

    Joined:
    Jun 4, 2015
    Posts:
    258
    I mean I could try but it would be very time consuming. The thing is I have searched the text "animator" in my project files and I have found nothing weird.
     
  13. povilas

    povilas

    Unity Technologies

    Joined:
    Jan 28, 2014
    Posts:
    427
    It's weird that you have no animator component and still observe such bug.
    The way I would reduce the project would be to do this:
    1. Remove non-essential assets. Remove all textures with, say, 1000x1000 pixels grey texture. Remove all sounds. This will reduce the size of the project and make the subsequent steps faster.
    2. Trimming the project of game objects that don't cause the bug
    - remove, say, a half of game objects. I would start with static geometry.
    - check if the bug reproduces
    - if yes - great - save the progress and continue with removing a half of the remaining objects
    - if not, undo the removal and remove the other half of game objects
    - if both times the bug stops being reproducible, then we need to try with removing not half, but a lower number of game objects. Worst case the objects would need to be removed one by one.

    In the second step I would do a backup copies of the project before each attempt to remove objects (as it's not possible to undo this action).

    Eventually you should be able to get a project that you can upload. The smaller the project the faster Unity developers will be able to identify the bug and fix it.