Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Android] Game crashes on Google Login when building a 64-bit Android app

Discussion in 'Multiplayer' started by hussain0305, Jun 13, 2019.

  1. hussain0305

    hussain0305

    Joined:
    Jun 1, 2017
    Posts:
    15
    So, what is the proper way of building apps for 64-bit Android in Unity? I'm using IL2CC scripting backend and checking the x64 checkbox. Then in build settings, I checked Android App Bundle. The .aab builds fine but the game crashes while logging into Google play services. It works perfectly however if I use Mono scripting backend(default) and just build an apk.



    In summation -
    .apk always works perfectly with or without google play services

    .aab works perfectly without, but crashes on login if using google play services



    I also tried using logcat and it's not very helpful, or at least I can't read and interpret anything from it. The only thing different between the two is that the log from when it doesn't crash has a bunch of extra lines at the end of it. Here are the two files :

    When it crashed : https://pastebin.com/zeB4Tt7Y

    When it didn't crash : https://pastebin.com/gW2yfNs4



    Been frustrated by it for 3 days now, any help would be greatly appreciated. Thanks!