Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting black screen on android while loading unity in some devices #945

Closed
ajavjari opened this issue Apr 23, 2024 · 2 comments
Closed

Comments

@ajavjari
Copy link

Screenrecording_20240422_202733.1.mp4

When I try to load unity in some devices I'm getting black screen but audio is being played in the background. When I go back and open it again, after that I'm able to see the unity part. I have attached the screen recording.
As far as I have noticed that, this issue is occurring in the android version 13 or later.
In the android version 12 or before it is working as expected.

  • OS: Android
  • Unity Version 2022.3.20f1

I have used 2022.2.0 fuw package for integration

@timbotimbo
Copy link
Collaborator

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).

@ajavjari
Copy link
Author

@timbotimbo
Yes it worked using useAndroidViewSurface:true
As well rotation issue also solved with this.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants