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
[Unity 2019] 3d Model gets cropped out when resized in web #755
Comments
Looks alright to me using Unity 2022, 2021 or 2020. Both your issues seem related to Unity 2019. Like answered here, the export breaks for Unity 2019 as the I assume you are missing the canvas width and height being set to 100% here. I would suggest using a newer Unity version. |
Describe the bug
When I wrap the widget with a container or a sizedbox with a specific height and width, the 3d model is getting cropped instead of getting resized, as oppose to the android where it is getting resized properly.
To Reproduce
Steps to reproduce the behavior:
2.Wrap the unitywidget in sizedbox of height and width 200.
3.run in debug mode in chrome
Expected behavior
I expected the model to get resized properly instead of getting cropped.
Unity (please complete the following information):
Platform: Web(Chrome)
Version: flutter_unity_widget 2022.2.0
Unity Editor: 2019.4.39f1
Mode : Debug
The text was updated successfully, but these errors were encountered: