juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.12k stars 513 forks source link

Huawei incompatability #402

Open WouterVandenputte opened 3 years ago

WouterVandenputte commented 3 years ago

Describe the bug A while ago, someone had the problem that the unity view is only visible the first time the app is launched and that it disappears when it is relaunched. This problem seemed to be Huawei specific. I now have a very similair problem, also on a physical Huawei and not on my physical Samsung. Namely, I open the app and the Unity view is not visible (but it is present because the audio is playing from the unity view and the messages come through). When I minimize (not close) the app and open it again, the view is visible. But when I then go to a different page and then return from that page, the Unity View is gone again and all I see are the widgets from my previous page but without the background from that page.

Smartphone:

Additional context Only on Huawei it seems as far as I can track myself and as I can see other people reporting issues with that.

timbotimbo commented 3 years ago

Do all your Huawei devices use Android 6 or 7 by any chance? Because there are similar issues on other phones with android 7. https://github.com/juicycleff/flutter-unity-view-widget/issues/317