Facebook Unity Sdk v5.0.3 crashes in Landscape mode when trying to login - Android

前端 未结 2 1566
别那么骄傲
别那么骄傲 2021-01-15 09:35

The game crashes when I click at login button as the game is in landscape mode. If I use portrait mode, everything works fine and correctly.

I got the following stac

2条回答
  •  一向
    一向 (楼主)
    2021-01-15 09:48

    yes, this is a bug, we are working on proper fix right now. Meanwhile you can edit your android manifest in Plugins/Android and add android:configChanges so that FBUnityLoginActivity isn't destroyed when orientation/whatever changes:

    
    
    

    you may also want to remove "Translucent" from activity style.

提交回复
热议问题