- Home /
java.lang.Error running on Android
Hi guys!
I'm experiencing an error when i run my game in some android devices (iOS, PC and others works good) . The error I got is "java.lang.Error" (on loading an scene) and crash my application.
The error only happens in "production mode". If I run the game under "development build" works fine.
Anyone know how to fix it?
Using Unity 5.0. Works good on: Samsung Galaxy S4 Android 5.0 and Samsung Galaxy Note 3 Android 5.0. java.lang.Error on Moto G Android 5.0.
Logcat:
08-14 08:25:45.087 3501-3542/? E/AndroidRuntime﹕ FATAL EXCEPTION: UnityMain
Process: com.devfdxx.carrera, PID: 3501
java.lang.Error: FATAL EXCEPTION [UnityMain]
Unity version : 5.0.0f4
Device model : motorola XT1032
Device fingerprint: motorola/falcon_amxar/falcon_umts:5.0.2/LXB22.46-32/16:user/release-keys
Caused by: java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
Build fingerprint: 'motorola/falcon_amxar/falcon_umts:5.0.2/LXB22.46-32/16:user/release-keys'
Revision: 'p3c0'
pid: 3501, tid: 3542, name: UnityMain >>> com.devfdxx.carrera <<<
r0 00000004 r1 00000000 r2 b733d930 r3 3f800000
r4 b733d930 r5 b7a7a1b0 r6 b733d9bc r7 00000000
r8 00000001 r9 00000000 sl 00000001 fp a5619310
ip 00000001 sp a5619228 lr a59b637c pc a59b611c cpsr 2f322e30
at libunity.0029c11c(Native Method)
at libunity.0029c378(Native Method)
at libunity.006f69ac(Native Method)
at Unknown.00002050(Unknown Source)
at Transform.set_parentInternal(Native Method)
at Transform.set_parent(<0x0006c>:108)
at EscenaController.Spawn(<0x00373>:883)
at EscenaController.Start(<0x000c3>:195)
at Object.runtime_invoke_void__this__(Native Method)
at libmono.00023b9b(Native Method)
at libmono.mono_runtime_invoke(mono_runtime_invoke:136)
at libunity.002fdfb8(Native Method)
at libunity.003a3de0(Native Method)
at libunity.003a3db4(Native Method)
at libunity.002e8988(Native Method)
at libunity.002e8f04(Native Method)
at libunity.002e7ab8(Native Method)
at libunity.002c9988(Native Method)
at libunity.00344d10(Native Method)
at libunity.004b60f4(Native Method)
at libunity.004badcc(Native Method)
at data@app@com.002b2f53(Native Method)
--------- beginning of system
08-14 09:29:23.685 30217-30265/? A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 30265 (UnityMain)
08-14 09:38:22.238 31753-31777/? A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 31777 (UnityMain)
Your answer
![](https://koobas.hobune.stream/wayback/20220611235935im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Stuck on splash screen android 0 Answers
Android game crash startup 0 Answers
App crashes in release build but works fine in development build 0 Answers
"JNI: Unable to find field id..." and Android Segmentation Fault (Signal 11) 1 Answer
BCE0019: 'ButtonAction' is not a member of 'UnityEngine.Component'. 1 Answer