-
-
Notifications
You must be signed in to change notification settings - Fork 136
App crashes when sharing on Android 11 Xiaomi devices #126
Comments
Hmm, the logs don't tell anything useful as is. Perhaps they can be symbolicated? |
Hi, thanks for the quick response, using stacktrace utility I get this log:
|
Is your game played in landscape orientation? Are you using the SetCallback function? |
my game is played in landscape left orientation, I'm not using the SetCallback funtion. My code runs as follows:
Being "_screentshot" a Texture2D that I create capturing the screen before sharing it. Thanks. |
For testing purposes, can you set your game's orientation to portrait and see if it makes a difference? |
I don't have access to a Xiaomi device right now, I'll post tests results tomorrow. Thanks for the reply. |
Hi yasirkula, I tested the app in a factory reseted phone and it doesn't crash anymore but when I try to share in landscape mode there are missing apps to share with (Whatsapp ie), in portrait mode seems to be working just fine (all apps are available). |
I think this issue will remain open for a long while 😢 No clue about the missing apps, it was supposed to be fixed (#56) 😞 Thanks for testing it on a factory reseted phone, though. |
I have a fatal error when I put the share function in SetCallback function , so how can I solve this ? |
The easiest solution would be to call share function in an Invoke, coroutine or DOVirtual.DelayedCall. |
Description of the bug
My app crashes when sharing on Android 11 Xiaomi devices.
Reproduction steps
Attemp to share a screenshot on Android 11 Xiaomi devices.
Platform specs
Please provide the following info if this is a Unity 3D repository.
Additional info
The text was updated successfully, but these errors were encountered: