Unity-Technologies / uaal-example

Other
736 stars 234 forks source link

App freeze when calling Application.Unload() inside unity when running as Uaal on iOS #62

Open ntquang1999 opened 2 years ago

ntquang1999 commented 2 years ago

I have a BACK button ingame, and when pressed, I call onClick event Application.Unload(); On android it works fine, but on iOS it doesn't unload unity, but it freeze/crash the app. Am I do anything wrong, I can't find solution anywhere public void exit() { Application.Unload(); } image

superbderrick commented 2 years ago

Hey Mate, when unload is called on iOS, was it called unload delegate be called? Also, does the normal uaal sample working well on the your test phone?, please check basic configuration stuffs with https://github.com/Unity-Technologies/uaal-example/blob/master/docs/ios.md