Hi, we’ve been developing a game since last July using Unity 2019.1.9f1 for Android. The game works when built but around 3-4 minutes in-game it just crashes with no message or warning or anything, not even in Logcat. And it only happens on devices with Android 10 (we’ve tested it on around ten Android 10 devices, only one didn’t crash).
We decided to try and and install Android API Level 29 for Android 10. We managed to build it once, but it still crashed (albeit it took longer, at around 7-8 minutes). But we couldn’t build further after that due to an error that we’re still not sure what the problem is. The error is:
Stopped polling job due to exception: System.NullReferenceException: Object reference not set to an instance of an object at GooglePlayServices.UnityCompat.VersionFromAndroidSDKVersionsEnum…
We’re using the Google Play Services plugin for Unity since we have ads.
Is there anyone that could help? We’re at the end of our wits, and we’re just this close to releasing. This is our first Android game so we’re not sure what’s wrong with this. If you need more information to help, we’ll be glad to give it. We just want to get through this error that’s been plaguing us for some time now.
Thanks in advance!