- Home /
Unity app crashes after resume to app with intent
Hello, I have android application. I extended UnityPlayerActivity. When I started app with intent(app is not in background), it works okay. But if app is in background and open with intent, it crashes. Output of crash:
04-22 08:19:26.472 1383 3438 I ActivityManager: START u0 {act=android.intent.action.VIEW dat=content://org.telegram.messenger.provider/media/Telegram/Telegram Documents/2_5391297482586063057.harc typ=application/octet-stream flg=0x3000001 cmp=com.hackmestudio.Hackme/.ExtendActivity} from uid 10121 on display
04-22 08:19:26.758 1383 1545 I ActivityManager: Displayed com.hackmestudio.Hackme/.ExtendActivity:
04-22 08:19:27.025 5146 5146 F DEBUG : * * * * * * * * * * * * * *
04-22 08:19:27.026 5146 5146 F DEBUG : Build fingerprint: 'Xiaomi/gemini/gemini:7.0/NRD90M/8.3.29:user/release-keys'
04-22 08:19:27.026 5146 5146 F DEBUG : Revision: '0'
04-22 08:19:27.026 5146 5146 F DEBUG : ABI: 'arm'
04-22 08:19:27.027 5146 5146 F DEBUG : pid: 4756, tid: 5136, name: UnityMain »> com.hackmestudio.Hackme «<
04-22 08:19:27.027 5146 5146 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
04-22 08:19:27.027 5146 5146 F DEBUG :
r0 00000000 r1 b6d7fa50 r2 00000000 r3 0000000404-22 08:19:27.027 5146 5146 F DEBUG : r4 b7923808 r5 d4421cd0 r6 d4421310 r7 d4421cd0
04-22 08:19:27.027 5146 5146 F DEBUG : r8 00d4aff0 r9 00000001 sl d44212e8 fp d4421310
04-22 08:19:27.027 5146 5146 F DEBUG :
ip d42d9e6c sp b6d7e390 lr d35942b0 pc d36d53a4 cpsr 400d001004-22 08:19:27.031 5146 5146 F DEBUG :
04-22 08:19:27.031 5146 5146 F DEBUG : backtrace: 04-22 08:19:27.034 5146 5146 F DEBUG : #00 pc 005b43a4 /data/app/com.hackmestudio.Hackme-1/lib/arm/libunity.so
04-22 08:19:27.034 5146 5146 F DEBUG : #01 pc 005b4720 /data/app/com.hackmestudio.Hackme-1/lib/arm/libunity.so
04-22 08:19:27.035 5146 5146 F DEBUG : #02 pc 005bf998 /data/app/com.hackmestudio.Hackme-1/lib/arm/libunity.so
04-22 08:19:27.035 5146 5146 F DEBUG : #03 pc 00968c73 /data/app/com.hackmestudio.Hackme-1/oat/arm/base.odex (offset 0x8c5000)
04-22 08:19:28.939 1383 5151 W ActivityManager: Force finishing activity com.hackmestudio.Hackme/.ExtendActivity
04-22 08:19:29.061 1383 2594 I ActivityManager: Process com.hackmestudio.Hackme (pid 4756) has died: fore T
04-22 08:19:29.061 1383 2594 D ActivityManager: cleanUpApplicationRecord — 4756
04-22 08:19:29.482 1383 1717 W ActivityManager: Sending non-protected
And from logs I don't understand why it crashes. It is really strange, because i removed all my code from activity, saving only one method.
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); }
Maybe anyone has same issue?
Answer by val-creare · Nov 20, 2018 at 09:25 PM
@jurassimo Did you find a solution? I have the same problem. Thank you.
Your answer
Follow this Question
Related Questions
Unity Android app crashes when activated a few times with Android's SDK's startActivity(intent). 1 Answer
signal 4 sigill code 1 ill_illopc on Android TV 0 Answers
Resources.Load too much on Android = crash. 0 Answers
Unity3D Android plugins and SIGSEGV 0 Answers
Read intent from Android Studio in Unity 0 Answers