Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Native Crash on iOS when loading Asset Bundle in Unity 2018

Discussion in 'Asset Bundles' started by FedericoBozzoMiniclip, Jan 30, 2019.

  1. FedericoBozzoMiniclip

    FedericoBozzoMiniclip

    Joined:
    Feb 27, 2018
    Posts:
    2
    Hi All,

    after upgrading a project from Unity 5.6 to 2018.2, we started to experience random native crashes only on iOs and only when loading an Asset Bundle.

    This happens with all Asset Bundles, not just one in particular, and, of course, we already rebuilt all bundles with the new Unity version (even re importing every single asset inside the new Unity).

    Attaching Xcode, the crash appears to be a “EXC_BAD_ACCESS” in the UnityPreload thread.

    Without bundles the crash does not happen.

    Does anyone of you have an idea of what might cause this issue or have you ever experienced this yourself?

    Attachment: last logs and error message. Of course the size of the bundle we are trying to load is much smaller, so the error seams to be wrong.
     

    Attached Files:

  2. edoardo_milano_miniclip

    edoardo_milano_miniclip

    Joined:
    Sep 20, 2018
    Posts:
    1
    it would be interesting to know why native unity stuff makes your application crash without explanation :rolleyes:
     
    gggames1988 and Pezzano like this.
  3. saveriodilazzaro

    saveriodilazzaro

    Joined:
    Jan 15, 2019
    Posts:
    1
    I also need it!
     
    Pezzano likes this.
  4. buFFalo94

    buFFalo94

    Joined:
    Sep 14, 2015
    Posts:
    173
    According to the attached file the crash happen because of out of memory. The problem can be the compression used when building asset bundles or the way you try to load them. Give more details about that maybe someone can help you