The problem we are facing now is that we cannot quit the game properly in iOS native project.
We tried to close the unity app with “Application.Quit()” but it close the game as well as native app entirely.
Second way is we add “Application.Unload()”. It just close the game as normal but cannot launch it back.
And the last way we’ve tried is, we call the native method from unity to close the game. But from the native side, we cannot release the instance completely from the memory. And when we tried to create a new instance of the unity game it cause the conflict issues (ref to the error log).
Can you advise us how we can quit the unity app redirect back to the native app in a proper way.
Hi,
starting from Unity 2019.3 Alpha 2, there is Unity as a Library functionality that makes unity integration to native apps to work out of the box. Please take a look: