- Home /
iOS: how intialize and cleanup Unity correctly?
I would like to combine serveral games into one. One game is based on Unity. I would like to load/unload unity game when the user select it from the main menu (game loader).
But I go a problem - I can not call multiple times UnityInitApplication() and UnityCleanup(). (on the second time calling UnityInitApplication() - some kind of assert in MonoTouch and crash)
So the question is - how should I make unity initialization/releasing correctly?
Thanks, Alex
Did you manage to find a solution for this? I'm also trying to run multiple instances of Unity (not at the same time) but am also getting crashes on the second call to UnityInitApplication().
You use $$anonymous$$onoTouch to spawn a Unity application?
Answer by radif · May 17, 2012 at 01:10 AM
I am running into the same problem. From my application I want to launch unity engine and stop, which works well with UnityInitApplication(); and UnityCleanup();, however the second time isn't working. Does anyone have a suggestion?
Your answer
Follow this Question
Related Questions
IOS app not initialising 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Initialising List array for use in a custom Editor 1 Answer
How to delete notifications from APNS 0 Answers
Reflections not working on IOS 2 Answers