You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
It looks like that there is only for the web version a kind of restart//reload of the player.
Therefore you have to disable the cache in the Playersettings. I m currently facing the same problem. The unitycontroller is gone when you toggle from and to the unity widget again. Therefore you need a singleton instance of the unitycontroller but this is not possible at the moment. There is a pull request here which will fix it but looks not completed yet :(
Hi. I'm just making flutter application which supports unity.
My flutter project has two Scaffold widget.
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?
The text was updated successfully, but these errors were encountered: