Skip to content

Does UnityWidget supports restart? #829

Open
@Raonshi

Description

@Raonshi

Hi. I'm just making flutter application which supports unity.

My flutter project has two Scaffold widget.

  • First is Main Screen. This screen has button which navigate to UnityScreen.
  • Second is Unity Screen. this screen has UnityWidget.

In this case, When I click the button in Main Screen, Unity Screen represents UnityWidget well.
But, when i click the button in Main Screen after go back to MainScreen from Unity Screen, UnityWidget was not restarted.

I tried use UnityWidgetController.unload(), UnityWidgetController.quit(). But these functions were not solution.

Is there solution for restart UnityPlayer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions