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

4.6.2 builds crash older devices (iPod Touch 3, iPad 1)

Discussion in 'iOS and tvOS' started by Mark-Sweeney, Jan 30, 2015.

  1. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    I'm in the process of updating an app. It works fine on iOS 8.1.3, but on older devices running 5.1.1 it crashes right at the Unity Splash Screen.

    I rolled back to 4.6.1, did a build, it installed and runs perfectly.

    Anyone else having a problem with 4.6.2 builds not working on older devices?
     
  2. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Yes - definitely - same experience
    I reported and QA already repro'd and confirmed the bug
    In the meantime try to switch the scripting backend to IL2CPP ( Player settings->Other settings)
     
  3. mog-mog-mog

    mog-mog-mog

    Joined:
    Feb 12, 2014
    Posts:
    266
    4.6.2 crash existing game on ios. I've tried different setting
    with mono/il2cpp
    arm7 or 64-bit. crash in all combinations, reverted to 4.6.1
     
  4. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    This scares me as each new Unity build breaks something on mobile devices. im running 3-4 different versions of Unity, im just waiting for Unity 5 to be out and get rid of this mess
     
  5. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Well i guess the iOS team is in a somewhat crunch mode because of the 64 bit per Feb. 1st surprise by apple ...
     
  6. zugsoft

    zugsoft

    Joined:
    Apr 23, 2014
    Posts:
    453
    I have similar issue with 4.6.2, impossible to launch any game, uninstall 4.6.2, and revert to 4.6.1
     
  7. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Regarding 4.6.1:
    4.6.1P5 already shows the problem too, because they started to integrate the IL2CPP engine with the P5 version

    Patch 4 ( Unity 4.6.1P4) is fine though in my experience, so you could at least get some essential fixes (especially Android AFAIK) while waiting for 4.6.2P1
     
  8. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    I think I got first Customer email me about this issue..I hope Unity is aware?
     
  9. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    We are looking into it.
     
    MrEsquire likes this.
  10. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Can someone check with the latest patch, 4.6.2p1?
     
  11. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    I did that, and it worked, but I got a ton of other warnings in Xcode. Switched back to 4.6.1 for app updates for now, as only new apps have to be 64-bit. Updates of older apps don't have to be 64-bit as of June, I think?
     
  12. PeterB

    PeterB

    Joined:
    Nov 3, 2010
    Posts:
    366
    Unity 4.6.2 is unstable even on desktop builds, and crashes in the editor when changing scenes when Substances are involved. Is there a download link to 4.6.1?
     
  13. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
  14. andreasdkt

    andreasdkt

    Joined:
    Aug 31, 2013
    Posts:
    11
    We had the same problem with our last iOS game update. It crashed on iPad 1st generation. So we rolled back to 4.6.1.

    I've just seen that Patch 4.6.2p1 [http://unity3d.com/unity/qa/patch-releases] solves this issue.



      • (668017) - iOS: Fixed crashes on iOS 5 devices.
    I'm downloading it and going to try!

    [Update 9 Feb 2015]
    Tested with Path 4.6.2p1 and worked fine for our project.

    ============================================
    The Minims: A New Beginning
    www.theminims.com
    www.beyondthosehills.com
     
    Last edited: Feb 9, 2015
  15. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    There are still crashes on older devices, even with 4.6.2p1
    According to QA some physx related updates cause missing function crash ( sincosf or similar ) as soon as you access a rigidbody via script
    Makes all builds from 4.6.1p5 unusable in my eye if you still want to support iOS versions below iOS 7 - pretty urgent issue me thinks ...


    http://issuetracker.unity3d.com/iss...und-sincosf-stret-is-thrown-since-4-dot-6-1p5
     
    Last edited: Feb 8, 2015
  16. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Man I seriously cant be waiting each week for a new patch, running number versions of Unity now, each version is for a certain fix, iOS, Android..I just hope they can clean this act up once and for all and make 4.6.3 stable with all the previous fixes, seems it says its fixed in 4.6.3 whenever that be
     
  17. GregMeach

    GregMeach

    Joined:
    Dec 5, 2012
    Posts:
    249
    I'm curious why anyone is still supporting iOS 5.x? (iPad1). Does your analytics actually yield more than 1% of users still running them?
     
  18. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    well - i think Unity should follow the route of Apple here, which still supports iOS 5.1 even with the new 64 Bit requirement since february. It's clear that sooner or later those devices will be abandoned, but to avoid further confusion, Unity should stay in par with Apple here. A second thing is that my iPod Touch 3rd Gen is simply my only low-end test device on iOS
    And no - i do not have analytics for this - i'm a one man band doing contract work,
     
  19. GregMeach

    GregMeach

    Joined:
    Dec 5, 2012
    Posts:
    249
    I'm not sure I'd agree that Apple 'supports' iOS5, I'd say more like tolerates. From what I've seen over the years is that Apple supports current and one previous. Software is what drives hardware sales. When the iPhone 6 came out the only reason we got stuck supporting the 4s (on iOS8) was because you could still buy a new one (aka current) :)
     
  20. skullthug

    skullthug

    Joined:
    Oct 16, 2011
    Posts:
    200
    Just wanted to post and report I'm also still experiencing a launch crash on older devices (iPhone 3GS, iPad 1st Gen), even after applying the 4.6.2p1 patch.

    The crash seems to occur on launch before Unity is even fully loaded, and seems to be involved with some sort of console printing command?

    printf_consolev(LogType, char const*, void*) at LogAssert.cpp:579


    UPDATE: Switching the Scripting Backend in the Player Settings to IL2CPP resolves the crash and it now runs fine.
     
    Last edited: Feb 9, 2015
  21. Mark-Sweeney

    Mark-Sweeney

    Joined:
    Feb 21, 2010
    Posts:
    172
    For new apps, it might be a non issue if you don't want to support older iOS's. But for updates to existing apps, you can't drop support for older iOS's. Some of my apps are old enough that they have to be able to support iOS 4.3 and newer.
     
  22. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
    The 4.6.2p1 patch seems to be working for me: no more crashing right after the splash screen on iOS 5.
    I'll test the game a little more to be sure that doesn't crash anywhere else before submitting it for review.
     
  23. GregMeach

    GregMeach

    Joined:
    Dec 5, 2012
    Posts:
    249
    Totally not true, from my experience. I have apps from iPad 1 (iPhoneOS 3.2) and they are now at min iOS 6.1. I believe that was the driving force behind Apple allowing users to download older versions of your / our apps.
     
  24. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
    Unfortunately with 4.6.2p1 the game still crashes on iOS 5, it just happens later.
    I'm not in a hurry to release this update so I'll probably just wait for 4.6.3
     
  25. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Most probably it crashes the first time when you try to access a rigidbody via script
    Is this the case ? See details here for the Xcode crash output
    http://issuetracker.unity3d.com/iss...und-sincosf-stret-is-thrown-since-4-dot-6-1p5
     
  26. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
  27. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Please vote on that issue to finally get this fixed ;-)
     
  28. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
    It's marked as fixed in 4.6.3, so voting is disabled now :)
    Hopefully the new version will be out soon!
     
  29. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Fix will probably be in a patch version, as they do a number of patches before a final build.
     
  30. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Not sure about that - but lets hope it will appear in a patch
     
  31. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
    4.6.2p2 is out and this is on the release notes:
    • (669398) - iOS: Fixed a crash in physics code on iOS 6.x and older.
    So I suppose it could be fixed. Downloading now :)
     
  32. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Already tested -> It's fixed for me :)

    Happy dance !
     
  33. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
    No crashes here too :) Yay!
    I'll do a little more testing tomorrow, just to be sure.
     
  34. PeterB

    PeterB

    Joined:
    Nov 3, 2010
    Posts:
    366
    Unity is on a bad streak right now, it seems, in terms of regression errors. Version 4.6.2p2 no longer crashes randomly (4.6.2 did); instead it messes up the UI: rects now overlap so as to make it impossible to click on UI elements when several are nested. This was not so in p1.

    And the 5.0 RC1... don't get me started. Definitely not ready for prime time.

    Filing bug reports as usual. Then back to 4.6.1. But as a paying Pro customer, fiddling around with versions like this is not something one should have to do.
     
  35. mundomono

    mundomono

    Joined:
    Mar 16, 2012
    Posts:
    6
    Hi Andrea, I've run into a similar issue, but unfortunately customers have reported crashes at launch with 1 star ratings. Problem is that i haven't been able to reproduce the crash on any iOS devices!
    Does anyone know if it is fixed in 4.6.3?
     
  36. jtbentley

    jtbentley

    Joined:
    Jun 30, 2009
    Posts:
    1,397
    I've actually just had this problem with 4.6.3, when 4.6.2 appeared to work. Neither Mono nor IL2CPP appear to have resolved the issue. Time to try with an empty project!

    Fixed - I built it again with a pro license and it worked fine.
     
    Last edited: Mar 1, 2015
  37. AndreaP

    AndreaP

    Joined:
    Dec 28, 2012
    Posts:
    49
    I submitted my app using Unity 4.6.2p2 free and it seems to work fine. Or at least Apple accepted it and nobody complained yet :) I had to apply the workaround outlined in this thread: http://forum.unity3d.com/threads/4-6-2p2-free-version-ios-crash.297722/
    Without it it wouldn't work on iPhones (it ran fine on iPads).
    No experience with 4.6.3, sorry.