Search Unity

Question Getting a lot of crashes in Android build after implementing Lobby and Relay??

Discussion in 'Lobby' started by farazk86, Feb 16, 2023.

  1. farazk86

    farazk86

    Joined:
    May 31, 2017
    Posts:
    195
    Hi,

    I recently implemented multiplayer in my game using NGO, Lobby and Relay and the multiplayer is working fine without any problems in all my tests but in Android build I am getting hundreds of crashes with the reported crash as
    [libil2cpp.so] GenericMethods15.cpp


    The stacktrace of the crash is:

    Code (CSharp):
    1. *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2. pid: 0, tid: 11884 >>> com.zalmayapps.borderwars <<<
    3.  
    4. backtrace:
    5.   #00  pc 0x0000000001055558  /data/app/~~JbmS0Iymbyy3IL6ntkkxJg==/com.zalmayapps.borderwars-kd3MyuQZ8_mg4E76vF7lgg==/lib/arm/libil2cpp.so (UnsafeUtility_InternalCopyStructureToPtr_TisUInt64_tEC57511B3E3CA2DBA1BEBD434C6983E31C943281_m164172D7931D8E1F3E5886395A690442A089B41B_gshared+29227)
    Its mostly in Android 11 (sdk 30), as can be seen from below:
    image_2023-02-16_001843717.png


    I cant seem to find the cause of this and some help would be very much appreciated.

    Thank you
     
  2. adumovic

    adumovic

    Joined:
    Mar 23, 2019
    Posts:
    3
    Hi there, is there more to that stack trace, that appears to just be the top frame?