-
Notifications
You must be signed in to change notification settings - Fork 525
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
Screen layout bugs when UnityWidget starts #589
Comments
I just saw the update about the flutter 3.0.0 in the Readme, this is probably related because I am using flutter 3.0.0. I will be closing the issue for now and be doing further investigations since I used 2022.1.0+4 to test. If the problem continues I'll reopen it. |
Hi have the same issue with flutter 3.19 and this library 2022.2 version, how can i fix this? |
Actually I just saw another issue that mentioned to flag "Render outside safe area" inside project settings. Doing so fixed the issue! |
Describe the bug
Screen layout bugs when UnityWidget starts, the borders of the app start to behave like a standard Unity app. Closing the UnityWidget doesn't revert this behavior, changing the AppBar of the home screen, but would affect every screen of the app.
To Reproduce
Steps to reproduce the behavior:
(In order to run with this versions I did the steps specified in this issue)
Expected behavior
The screen stays with the flutter pattern of the AppBar even when the UnityWidget is active. Or at least when after it closes.
Screenshots
Unity:
Smartphone:
Additional context
If this is considered the standard behavior, consider marking the issue with FeatureRequest instead of a bug.
Notice when I said "AppBar behavior or borders", I mean the Screen layout and behavior as a whole. Most noticeable in the AppBar.
This might be related to some updates in the
Resolution and Presentation
config on Unity. I tried usingFullscreenWindowed
andWindowed
, with different variants ofWindown Size
,Resizeble Windowm
etc. The only noticeable changes are marking theHide Navigation Bar
andRender outside safe area
that change the behavior of the Screen, but they work just as before, changing the AppBar when UnityWidget is opened.The text was updated successfully, but these errors were encountered: