Skip to content

Unity view is not appearing on Android 6 #316

Open
@bhaveshptl

Description

@bhaveshptl

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:

  1. Launch the flutter app
  2. Click on the unity view launcher button
  3. You will observe the screen freeze
  4. Minimize the app
  5. Maximize the app
  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    androidThis issue is specific to the Android Platform.bugThis issue refers to a bug in the pluginhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions