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.09k stars 504 forks source link

There is no error when the yellow screen appears in android but the unity screen does not appear #946

Closed liujunqiang29 closed 1 week ago

liujunqiang29 commented 2 months ago

There is no error when the yellow screen appears in android but the unity screen does not appear WX20240424-232254@2x

timbotimbo commented 2 months ago

Are you using flutter 3.19?

It looks like a variation of this 3.19 bug.

Try the workarounds mentioned in that issue (flutter <3.19 or useAndroidViewSurface:true).

Also emulators aren't really supported, testing on a real device is better.

ranahamdy1 commented 1 month ago

Flutter 3.22 fixes the issue