question

mr-tm avatar image
mr-tm asked

Android Exception On Startup while using Party (Unity)

Hi!

I'm having exception on Android app's initialization, in editor it works just fine.

Versions: Unity (2020.2) and PlayFab Party Unity SDK 1.5.0.3-main.0

For exporting I'm using Mono scripting backend and .NET 4.x

Exception happens from:

PlayFabMultiplayerManager:_Initialize ()

java.lang.ClassNotFoundException: Didn't find class "com.bumblelion.libbumblelionjnihelper.BumblelionJniHelper"
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
mr-tm avatar image
mr-tm answered

It seems the problem was with ProGuard. It stripped out the 2 libraries needed for Party plugin.

I added 2 lines to proguard-user.txt and it worked:

-keep class com.bumblelion.** { *; }
-keep class com.microsoft.** { *; }
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.