Description
Describe the bug
When I tried to open the Unity view from flutter Unity view is not appearing. It will start appearing if I will minimize the app and maximize the app it will start appearing.
To Reproduce
Steps to reproduce the behavior:
- Launch the flutter app
- Click on the unity view launcher button
- You will observe the screen freeze
- Minimize the app
- Maximize the app
- And now Unity will start behaving normally.
Expected behavior
On click of the unity view launcher button, Unity should open without any issue.
Screenshots
Following is the link to the video describing the issue.
https://drive.google.com/file/d/15GJgMa4La5mfdIrnASIvDwuLqUiNU3vV/view
Note: Here everything is in a flutter. When we click on the play button, Unity will be launched.
Smartphone (please complete the following information):
- Device: [Xiaomi Redmi 3, Samsung J7]
- OS: [Android 6(API 23)]
Additional context
It was working fine in the plugin version 2.0.0+2. We were observing a few random crashes on OnePlus, Samsung, and Xiaomi devices when the app goes to the background on version 2.0.0+2. So, we updated to version 3.0.3 and post that we observed this issue on Android 6.0 devices.