Search Unity

RC1 - Android build crashing

Discussion in 'UGUI & TextMesh Pro' started by -JohnMore-, Nov 8, 2014.

  1. -JohnMore-

    -JohnMore-

    Joined:
    Jun 16, 2013
    Posts:
    64
    Hi, is someone having this problem?

    My project works with no errors or warning but since upgrading to the RC1, the android build crashes when loading my first scene. I have stripped everything from it, and when I remove the RectTransform component from my root Canvas it worked again.

    So now I have either a build that launches but has no UI, or a build with UI that does not run in Android.

    I have replicated it with an empty proyect with a single canvas an image. Testing it a bit more I found that setting the Stripping Level to anything different from "Disabled" makes the proyect crash.
     

    Attached Files:

  2. DonaldW

    DonaldW

    Joined:
    Apr 27, 2014
    Posts:
    8
    I have the same problem. Unity guys please check this post and my post.
     
  3. bearjuny21

    bearjuny21

    Joined:
    Dec 20, 2013
    Posts:
    2
    I hava a same problem. It happens all of stripping level except disable.
     
  4. HarisKap

    HarisKap

    Joined:
    Dec 10, 2012
    Posts:
    20
    My stripping level is disabled but android build was crashing. i change to iOS and mac platform and didn' crash. I put back to android and isn't crashing. I assume the switch platform set something
     
  5. -JohnMore-

    -JohnMore-

    Joined:
    Jun 16, 2013
    Posts:
    64
  6. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    I fixed it again for RC2
     
  7. -JohnMore-

    -JohnMore-

    Joined:
    Jun 16, 2013
    Posts:
    64
    Thanks! :)
     
  8. Kim-Shin-Wook-a-k-a-Forward-of-South-Korea

    Kim-Shin-Wook-a-k-a-Forward-of-South-Korea

    Joined:
    Sep 29, 2014
    Posts:
    3
    I have same problem too. is this fixed in RC2? Hooooooray!!!!!!!
     
  9. eXiin

    eXiin

    Joined:
    Dec 23, 2013
    Posts:
    63
    same issue on the RC1 for 2 of my devices that have Kitkat :
    - Oppo Find7 with colorOs2 Kitkat based.
    - Xperia Z2 tabet with last update (the last kitkat version was working fine)

    Other devices work perfectly fine

    I'll try now on the RC2
     
  10. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    let me know if it doesn't work it should now that RC2 is out.
     
  11. eXiin

    eXiin

    Joined:
    Dec 23, 2013
    Posts:
    63
    Just Build the game with the RC2 does not work.
    I'm currently trying the solution of HarisKap before re-building the game, I'll keep you posted
     
  12. eXiin

    eXiin

    Joined:
    Dec 23, 2013
    Posts:
    63
    Ok, so after switching platform as suggested by HarisKap and then re-building the game,

    it run on :
    - Galaxy S3 with Android 4.3
    - Wiko Cink slim with Android 4.1.1
    - Oppo Find5 with Android 4.4.4 (omniRom)

    it crash on :
    - Xperia Z2 tabet with lastest update ( 4.4.4 )
    - Oppo Find7 colorOs2 ( 4.4.2 )

    phil-Unity, do you want the logCat ?
     
  13. phil-Unity

    phil-Unity

    Unity UI Lead Developer

    Joined:
    Nov 23, 2012
    Posts:
    1,226
    please :) a bug report with the logcat would be good as well.
     
  14. eXiin

    eXiin

    Joined:
    Dec 23, 2013
    Posts:
    63
    done :)