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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

game crash seems randomly when change scene

Discussion in 'Android' started by jiangzhen, Jan 25, 2016.

  1. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29
    hey , i have two scene : levelselect scene , game play scene
    in game play scene , when user failure and can replay. i make a UGUI button to reload current scene.
    the button code is SceneManager.LoadScene(1) , but sometime crash. not alltime ,seems when i quickly fail the game and press restart button, 3 or maybe 4 times the game crash.
    it is not only in android ,in wp81 or unity editor crash too.

    i am trouble a week ... thanks any help!!!!

    here is the android logcat info : ( is it anyway get more error info ? thank any link,keyword and help.)

    F/libc ( 9778): Fatal signal 11 (SIGSEGV) at 0x0000006a (code=1)
    I/DEBUG (17085): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    I/DEBUG (17085): Build fingerprint: 'Huawei/U9200/hwu9200:4.0.3/HuaweiU9200/C00B110:user/ota-rel-keys,release-keys'
    I/DEBUG (17085): pid: 9778, tid: 9793 >>> com.shike89.dl2 <<<
    I/DEBUG (17085): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000006a
    I/DEBUG (17085): r0 00000033 r1 0000021b r2 039b53d0 r3 00000000
    I/DEBUG (17085): r4 00000033 r5 039b53d0 r6 02f570c8 r7 3f800000
    I/DEBUG (17085): r8 5cdc50dc r9 000003e8 10 ffffef20 fp 02333d60
    I/DEBUG (17085): ip 00000082 sp 5d197910 lr 5c4d97a4 pc 5be032a0 cpsr 20000010
    I/DEBUG (17085): d0 3f0999b03a83126f d1 3f03331d00000000
    I/DEBUG (17085): d2 bf03331dc0ec6669 d3 bf0999b040a0666a
    I/DEBUG (17085): d4 3c4cc73300000000 d5 3f233348c0ec6669
    I/DEBUG (17085): d6 00000000bf03331d d7 3f80000000000000
    I/DEBUG (17085): d8 0000000000000000 d9 0000000000000000
    I/DEBUG (17085): d10 0000000000000000 d11 0000000000000000
    I/DEBUG (17085): d12 0000000000000000 d13 0000000000000000
    I/DEBUG (17085): d14 0000000000000000 d15 0000000000000000
    I/DEBUG (17085): d16 3f8000003f800000 d17 3f8000003f800000
    I/DEBUG (17085): d18 000000003f0999b0 d19 42befff900000000
    I/DEBUG (17085): d20 0000000c00000000 d21 0000000000000000
    I/DEBUG (17085): d22 423e000000000000 d23 0000000041a80000
    I/DEBUG (17085): d24 000000003ccccccd d25 0000000000000000
    I/DEBUG (17085): d26 3ccccccd00000000 d27 0000000000000000
    I/DEBUG (17085): d28 0000000000000000 d29 000000003f800000
    I/DEBUG (17085): d30 4082e145c0e7ae15 d31 3f80000000000000
    I/DEBUG (17085): scr 8000009b
    I/DEBUG (17085):
    I/DEBUG (17085): #00 pc 000fd2a0 /data/data/com.shike89.dl2/lib/libunity.so (_ZNK5Unity10GameObject8IsActiveEv)
    I/DEBUG (17085): #01 pc 007d37a0 /data/data/com.shike89.dl2/lib/libunity.so (_ZN2UI14CanvasRenderer17SyncDirtyElementsEv)
    I/DEBUG (17085): #02 pc 007d99c0 /data/data/com.shike89.dl2/lib/libunity.so (_ZN2UI13CanvasManager20UpdateDirtyRenderersEPNS_6CanvasE)
    I/DEBUG (17085): #03 pc 007d97bc /data/data/com.shike89.dl2/lib/libunity.so (_ZN2UI6Canvas13UpdateBatchesEb)
    I/DEBUG (17085):
    I/DEBUG (17085): code around pc:
    I/DEBUG (17085): 5be03280 e1a00004 e12fff31 e28dd008 e8bd8070 ....1./.....p...
    I/DEBUG (17085): 5be03290 00fc1e64 00010bec e92d4010 e1a04000 d........@-..@..
    I/DEBUG (17085): 5be032a0 e5d40037 e35000ff 1a000016 e5d40036 7.....P.....6...
    I/DEBUG (17085): 5be032b0 e3a0c000 e3500000 15940008 13a01001 ......P.........
    I/DEBUG (17085): 5be032c0 11c1ca20 e5c4c037 e5941028 e3510000 ...7...(.....Q.
    I/DEBUG (17085):
    I/DEBUG (17085): code around lr:
    I/DEBUG (17085): 5c4d9784 e3500000 11d418be 13510000 0a0000b3 ..P.......Q.....
    I/DEBUG (17085): 5c4d9794 e594001c e3500000 0a000003 ebe4a6bc ......P.........
    I/DEBUG (17085): 5c4d97a4 e3500000 1a000002 e1d418be e3110b01 ..P.............
    I/DEBUG (17085): 5c4d97b4 08bd8070 e59400b8 e59410c8 e3500000 p.............P.
    I/DEBUG (17085): 5c4d97c4 e1a05000 13005001 0a000002 e3510000 .P...P........Q.
    I/DEBUG (17085):
    I/DEBUG (17085): stack:
    I/DEBUG (17085): 5d1978d0 0228fe00 [heap]
    I/DEBUG (17085): 5d1978d4 02eed670 [heap]
    I/DEBUG (17085): 5d1978d8 0228fe00 [heap]
    I/DEBUG (17085): 5d1978dc 5c4da138 /data/data/com.shike89.dl2/lib/libunity.so
    I/DEBUG (17085): 5d1978e0 c0ec6669
    I/DEBUG (17085): 5d1978e4 bf03331d
    I/DEBUG (17085): 5d1978e8 00000000
    I/DEBUG (17085): 5d1978ec c0a0666a
    I/DEBUG (17085): 5d1978f0 3f0999b0
    I/DEBUG (17085): 5d1978f4 00000000
    I/DEBUG (17085): 5d1978f8 00000000
    I/DEBUG (17085): 5d1978fc 00000000
    I/DEBUG (17085): 5d197900 02eed670 [heap]
    I/DEBUG (17085): 5d197904 00000001
    I/DEBUG (17085): 5d197908 df0027ad
    I/DEBUG (17085): 5d19790c 00000000
    I/DEBUG (17085): #00 5d197910 03318a40 [heap]
    I/DEBUG (17085): 5d197914 5c4d97a4 /data/data/com.shike89.dl2/lib/libunity.so
    I/DEBUG (17085): #01 5d197918 02f570c4 [heap]
    I/DEBUG (17085): 5d19791c 039b53d0 [heap]
    I/DEBUG (17085): 5d197920 02f570c8 [heap]
     
  2. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29
    hey ...
    :(
     
  3. rocbomb

    rocbomb

    Joined:
    Jul 6, 2015
    Posts:
    1
    I have the same crash
    when all bundle loaded,then LoadScene,the UI script awake and start is end,the crash occurred。
     
    Last edited: Jan 28, 2016
  4. jiangzhen

    jiangzhen

    Joined:
    Aug 3, 2015
    Posts:
    29
    hey do you solve this problem. thanks!