Unity app freezes on Android when pressing Home button

We’ve build a launcher on android with Unity 4.6.7. Everything works great except the following scenario:

  1. We quit our launcher to the Main launcher

  2. We kill our launcher using “adb shell am force-stop” to simulate app being killed by android behind the scenes

  3. We re-run our launcher

  4. Now when we launch any activity and press Home to return back to the launcher, Unity app freezes. Nothing is shown (black screen) and nothing is logged

I’ve been able to get crash dumps and attached to this email. (something nothing appears). Any one has an idea what could be the problem?

For the record the crash dump is from an app that we created to test the problem on. This app does nothing on the main thread. There are two button (one to switch to the default launcher and another to run another activity)

The device is a custom android device

Android version 4.4

Thanks

2207955–146722–tombstone_00.txt (96.8 KB)

More information on this bug:

We tested the same scenario with an Android app written in Java, the bug does not occur. Clearly the problem is with Unity. Either there is a bug or miss configuration of the Unity or the device on which we’re testing is not compatible with Unity. How can we fix this? Does anyone know?