Search Unity

Resolved After 2019.4 -> 2020.3 upgrade we get globalgamemanagers.assets is corrupted

Discussion in 'Android' started by kaarloew, Jul 28, 2021.

  1. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    We updated Unity from 2019.4.20f1 to 2020.3.15f1, and after the update the Android build process wouldn't complete because
    unityStreamingAssets=.unity3d**STREAMING_ASSETS**
    was missing from gradleTemplate.properties. We added it, and build process goes OK, but actual .apk crashes with devices. Error is

    07-28 13:00:15.042 3333 3397 E Unity : The file '/data/app/com.xxx.yyy-suC6XPWZwDA6NlXSg_g8yA==/base.apk/assets/bin/Data/globalgamemanagers.assets' is corrupted! Remove it and launch unity again!

    07-28 13:00:15.042 3333 3397 E Unity : [Position out of bounds!]

    07-28 13:00:15.042 3333 3397 E Unity :

    07-28 13:00:15.042 3333 3397 F libc : Fatal signal 5 (SIGTRAP), code -6 (SI_TKILL) in tid 3397 (UnityMain), pid 3333 (xxx.yyy)
     
  2. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    Issue was fixed by clean downloading the project to another folder and opening that one in Unity. Build size was also 200 kB smaller. But I have no idea what is broken in original (we have tested this on three separate machines).
     
  3. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    This still happens with 2020.3.15f2, we have to run git clean before every build to get working builds out.