Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Eclipse integrated Game crashes when pressed power button and returned back.

$
0
0
Hello everyone, I am pressing Home button or Power button while game playing, and Unity is succesfully calling OnApplicationPause(). I am exporting my game as an eclipse project (applying facebook integration there ... ) and export apk from eclipse. Now I tried the home button, it is working as the original unity built, but as I press the power button, and turn on the mobile again, the app doesn't load, it crashes. While when building from unity, it returned to the app. It seems that while being an eclipse project, the power button is not calling OnAllplicationPause(). Have anyone experienced this?

Viewing all articles
Browse latest Browse all 171066

Trending Articles