I\'ve been a SO member for a while but never actually asked a question, so here goes..
I\'m trying to make an Android app with two activities. The f
So, I did some more searching and eventually found an answer, right here on SO!
As discussed in this answer, adding this line to the manifest fixes the problem;
android:process=":UnityKillsMe"
so the relevant part of the manifest looks like this;
...
...
This forces the gameplay activity to launch in a separate process. This means you can call m_UnityPlayer.quit() in the activity's onDestroy method without the whole app closing.
Simple fix, but annoying that it seems to be completely undocumented.
Hope this helps someone!