Hello, I was testing out this plugin in order to see if we can use it with our game. First I noticed the code and the plugin has not been updated since 2-3 years. OBB is a huge requirements for modern games (as far as I know) as not all games fit the 50MB google limit. I tried to use it in an empty project with assets > 80MB everything works fine and I am tester of the project but the plugin just crashes: Code (CSharp): AndroidRuntime: Caused by: java.lang.IllegalArgumentException: java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0c0000af:ASN.1 encoding routines:OPENSSL_internal:TOO_LONG 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.unity3d.plugin.downloader.c.j.a(Unknown Source) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.unity3d.plugin.downloader.c.j.<init>(Unknown Source) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.unity3d.plugin.downloader.b.s.run(Unknown Source) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:751) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6692) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: Caused by: java.security.spec.InvalidKeySpecException: java.lang.RuntimeException: error:0c0000af:ASN.1 encoding routines:OPENSSL_internal:TOO_LONG 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.android.org.conscrypt.OpenSSLKey.getPublicKey(OpenSSLKey.java:295) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.android.org.conscrypt.OpenSSLRSAKeyFactory.engineGeneratePublic(OpenSSLRSAKeyFactory.java:47) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at java.security.KeyFactory.generatePublic(KeyFactory.java:357) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: ... 10 more 07-27 10:33:37.618 27873 27873 E AndroidRuntime: Caused by: java.lang.RuntimeException: error:0c0000af:ASN.1 encoding routines:OPENSSL_internal:TOO_LONG 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.android.org.conscrypt.NativeCrypto.d2i_PUBKEY(Native Method) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: at com.android.org.conscrypt.OpenSSLKey.getPublicKey(OpenSSLKey.java:293) 07-27 10:33:37.618 27873 27873 E AndroidRuntime: ... 12 more
For someone stumbling upon this long forgotten tread in the future. In case of crash, check GooglePlayDownloader, whether you have a correct key set