Search Unity

ugui canvas crash

Discussion in 'Editor & General Support' started by jiangzhen, Jan 26, 2016.

  1. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29

    thanks any help!!!
     
  2. Mi_Backon

    Mi_Backon

    Joined:
    Jul 31, 2015
    Posts:
    1
    i have the same question with you
     
  3. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29
    currently i remove all canvas in my crash scenes . now all work fine.
    so disappointment
     
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    Did you create a bug report?
     
  5. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29
    currently i can't reproduce it with a example.
    when i can reproduce it , i will create a bug report.
    thanks
     
    karl_jones likes this.
  6. firea32

    firea32

    Joined:
    Oct 1, 2015
    Posts:
    3
    We have exactly same problem!! We also tried to report it, however, couldn't create the sample project because it only occurs with our main project. We think it might happen only with real size project.
     
  7. firea32

    firea32

    Joined:
    Oct 1, 2015
    Posts:
    3
    To add, while we are changing scenes, we load B (loading) scene by executing "LoadScene" and B scene loads C scene by "LoadSceneAddictiveAsync." Then B scene destroys after C scene is completely loaded. The crash occurs after we call LoadSceneAddictiveAsync.
     
  8. Stevanus

    Stevanus

    Joined:
    Aug 13, 2014
    Posts:
    22
    Last edited: Feb 2, 2016
    jiangzhen likes this.
  9. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29
  10. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    Also have the problem in my project even use Unity 5.3.3p1.
     
  11. Stevanus

    Stevanus

    Joined:
    Aug 13, 2014
    Posts:
    22
  12. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    The issue is on the way to a patch release. I would expect it earlier than 5.3.5 Keep an eye on the future patch release notes.
     
    lexacutable likes this.
  13. lexacutable

    lexacutable

    Joined:
    Jan 24, 2014
    Posts:
    8
    I'm having a crash with a similar stack trace in the editor (in both 5.1.3 and 5.3.3) in my current project, when loading certain scenes in-game (both normal and async loading cause the issue). Is the fix just for iOS/Android for is this a more general issue?
     
  14. Gordan_G

    Gordan_G

    Joined:
    Oct 31, 2012
    Posts:
    12
    Our game is in the final stages for shipping and we are encountering the very same crash(log verified). Can you please push a patch at the earliest? We have tried even in 5.3.3 p2, the same issue exists.

    Thanks
     
  15. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    The fix will go in as soon as possible however it is still undergoing internal reviews so we cant backport it until it has passed.
     
  16. Gordan_G

    Gordan_G

    Joined:
    Oct 31, 2012
    Posts:
    12
    This is fixed for us in 5.3.3 p3, it was random but was occurring within couple of screen transitions.

    Thanks a lot guys, really appreciated..
     
  17. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    Unity 5.3.3p3 fixed for me too.
    But Unity 5.3.3p3 Resources.LoadAsync is too slow.On my case, use Unity 5.2.4 load async cost ~10s,but Unity 5.3.3p1 use more than 30s.
    @karl.jones
     
  18. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    Can you file a bug report with a sample project.
     
  19. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    It's hard to split my project to include this bug.But I found every image in a same altlas use load time:
     

    Attached Files:

  20. cg_han-squirrel

    cg_han-squirrel

    Joined:
    Nov 27, 2013
    Posts:
    46
    hi, the problem is still happened in 5.3.5, is anybody the same with us?
     
  21. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    Unity 5.3.4p6 no this problem on our project. Unity 5.3.5p1 mentioned fix a crash bug about UI,maybe fix for 5.3.5.
     
  22. acgleader

    acgleader

    Joined:
    Apr 17, 2013
    Posts:
    40
    as we, it happens in 5.3.5p1 also
     
  23. V1nsaN

    V1nsaN

    Joined:
    Jan 16, 2013
    Posts:
    6
    Hi there.
    The same crash in our project with 5.3.5 too:

    Code (JavaScript):
    1. Fatal signal 11 (SIGSEGV), code 1, fault addr 0x2bf8239d in tid 19116 (UnityMain)
    2. 05-31 23:17:28.371    /system/bin/debuggerd    3137    -    F    DEBUG       *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    3. 05-31 23:17:28.371    /system/bin/debuggerd    3137    -    F    DEBUG       Build fingerprint: 'samsung/heroltexx/herolte:6.0.1/MMB29K/G930FXXU1APD1:user/release-keys'
    4. 05-31 23:17:28.371    /system/bin/debuggerd    3137    -    F    DEBUG       Revision: '8'
    5. 05-31 23:17:28.371    /system/bin/debuggerd    3137    -    F    DEBUG       ABI: 'arm'
    6. 05-31 23:17:28.381    /system/bin/debuggerd    3137    -    F    DEBUG       pid: 19069, tid: 19116, name: UnityMain  >>> appname <<<
    7. 05-31 23:17:28.381    /system/bin/debuggerd    3137    -    F    DEBUG       signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2bf8239d
    8. 05-31 23:17:28.441    /system/bin/debuggerd    3137    -    F    DEBUG           r0 2bf82181  r1 c9cc82d4  r2 00000002  r3 00000000
    9. 05-31 23:17:28.441    /system/bin/debuggerd    3137    -    F    DEBUG           r4 c9cc8210  r5 00000003  r6 00000001  r7 0017dc6c
    10. 05-31 23:17:28.441    /system/bin/debuggerd    3137    -    F    DEBUG           r8 c4653600  r9 ffffeee8  sl 3b9aca00  fp d7292010
    11. 05-31 23:17:28.441    /system/bin/debuggerd    3137    -    F    DEBUG           ip ca0cf960  sp dbb232d8  lr dc408f98  pc dc409014  cpsr 000e0010
    12. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG    
    13. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG       backtrace:
    14. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #00 pc 007e6014  /data/app/appname/lib/arm/libunity.so ([COLOR=#ff0000]UI::CanvasRenderer::SyncDirtyElements()+168[/COLOR])
    15. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #01 pc 007ec008  /data/app/appname/lib/arm/libunity.so ([COLOR=#ff0000]UI::CanvasManager::UpdateDirtyRenderers(UI::Canvas*)+196[/COLOR])
    16. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #02 pc 007ebd80  /data/app/appname/lib/arm/libunity.so ([COLOR=#ff0000]UI::Canvas::UpdateBatches(bool)+108[/COLOR])
    17. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #03 pc 007eddcc  /data/app/appname/lib/arm/libunity.so ([COLOR=#ff0000]UI::CanvasManager::WillRenderCanvases()+64[/COLOR])
    18. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #04 pc 003af624  /data/app/appname/lib/arm/libunity.so (PlayerLoop(bool, bool, IHookEvent*)+3324)
    19. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #05 pc 0052670c  /data/app/appname/lib/arm/libunity.so (UnityPlayerLoop()+880)
    20. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #06 pc 0052c154  /data/app/appname/lib/arm/libunity.so (nativeRender(_JNIEnv*, _jobject*)+264)
    21. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #07 pc 016b1e39  /data/app/appname/oat/arm/base.odex (offset 0x9da000) (boolean com.unity3d.player.UnityPlayer.nativeRender()+76)
    22. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #08 pc 016af2f1  /data/app/appname/oat/arm/base.odex (offset 0x9da000) (boolean com.unity3d.player.UnityPlayer.a(com.unity3d.player.UnityPlayer)+60)
    23. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #09 pc 016ac587  /data/app/appname/oat/arm/base.odex (offset 0x9da000) (void com.unity3d.player.UnityPlayer$b.run()+586)
    24. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #10 pc 000e64a1  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
    25. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #11 pc 00403665  /system/lib/libart.so (art_quick_invoke_stub+188)
    26. 05-31 23:17:28.471    /system/bin/debuggerd    3137    -    F    DEBUG           #12 pc 00102774  [stack:19116]
     
    Last edited: May 31, 2016
  24. cg_han-squirrel

    cg_han-squirrel

    Joined:
    Nov 27, 2013
    Posts:
    46
    Hi, we find some situation like crash at SyncDirtyElement is that you may have a infinite loop call in your code to refresh the UI elements.

     
  25. V1nsaN

    V1nsaN

    Joined:
    Jan 16, 2013
    Posts:
    6
    Just tested with unity 5.3.5p2 - does not reproduce! =)) awesome
     
    jiangzhen and karl_jones like this.
  26. boluns

    boluns

    Joined:
    Dec 8, 2013
    Posts:
    2
    I still came across this problem on unity 5.5.2p2.
     

    Attached Files:

  27. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,276
    Could you file a bug report please.
     
  28. boluns

    boluns

    Joined:
    Dec 8, 2013
    Posts:
    2
    I couldn't create the same example project, since it only occurs in our main project. our bugly system have received the bug over 8000+ times during a test. it was very often, very upset! I will create a report if i can reproduce the bug.
     
  29. grandline_games

    grandline_games

    Joined:
    May 1, 2015
    Posts:
    1
    @boluns Hey, I know this is an outdated thread, but did you get any fix for what you wrote on Sep 15, 2017? I got the exact same problem in Unity 5.6.1