When Resuming game after losing focus I just get a black screen?
Hi Guys,
I'm a new developer to Android using Unity. I have an issue where when losing focus on the app for any reason when I come back I just have a black screen then it crashes after a minute or so?
So if someone taps an ad or hits the home button the app will pretty much crash. Anyone else had this issue? or know how to fix it? I was looking into the OnApplicationFocus and OnApplicationPause but haven't been able to get it to resume successfully. Just loading back to the main menu would be fine for me lol.
Thanks :D
If there was any output I could gather and post I would but I don't know where to look once it is installed on my phone?
If nobody knows off the top of their head, you'll have to track it down, yourself. Why not log to a cloud service?
I googled "logging SaaS" and clicked on the first link. That ultimately led me here:
https://papertrailapp.com/plans
They have a free plan.
Your answer
Follow this Question
Related Questions
Android re-package error - CommandInvokationFailure 0 Answers
Having trouble fading in/out animation on Android 2 Answers
How do I install Unity's .jar files onto a Android Compiler? 1 Answer
How to move the camera in VR mode? 2 Answers
How turn On/Off android display backlight using C# only in Unity3d 1 Answer