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

unitywidget is black screen #562

Closed
yixiaonaihe2430 opened this issue Apr 17, 2022 · 5 comments
Closed

unitywidget is black screen #562

yixiaonaihe2430 opened this issue Apr 17, 2022 · 5 comments

Comments

@yixiaonaihe2430
Copy link

yixiaonaihe2430 commented Apr 17, 2022

using Flutter 2.10.4 stable and flutter-unity-view-widget 2020.3.25 and unity 2020.3.32, my mac is m1

When I open unity with unitywidget, the screen goes black

Have you ever had this problem? Is there any solution? Thanks!

@iletai
Copy link

iletai commented Apr 17, 2022

Read the readme and check permission needed example camera. If you using AR, please find option enable AR in PlayerSetting Unity

@yixiaonaihe2430
Copy link
Author

Read the readme and check permission needed example camera. If you using AR, please find option enable AR in PlayerSetting Unity

But my unity project doesn't have any permission and doesn't use AR. Does it need to be added on Info?

@changyiyao
Copy link

changyiyao commented Apr 18, 2022

#540 may be helpful

@juicycleff
Copy link
Owner

Black screen in unity for AR projects is a camera permissions issue, and not a flutter unity widget issue. I will close this but you can solve it using any of the flutter permissions library.

1 similar comment
@juicycleff
Copy link
Owner

Black screen in unity for AR projects is a camera permissions issue, and not a flutter unity widget issue. I will close this but you can solve it using any of the flutter permissions library.

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

4 participants