Android app crashes on Unity Splash screen

So, I know this is a duplicate question, but mine doesn't seem to match any of them.

I am using Unity 5.0.1 which crashes the same as 4.6 as before. My app runs sample apps, but only when I make my own custom apps do they crash.

I have to explain that I am using Vuforia too and again this is not a Vuforia problem.

The My LogCat filter shows this with error:

04-28 12:27:59.946: A/libc(5382): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 5397 (UnityMain)
04-28 12:28:00.376: E/InputDispatcher(426): channel '42030b20 com.rjj.roads/com.rjj.roads.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-28 12:28:00.401: E/Surface(122): queueBuffer: error queuing buffer to SurfaceTexture, -32
04-28 12:28:00.401: E/Camera2-Device(122): enqueue_buffer: Error queueing buffer to native window: Broken pipe (-32)
04-28 12:28:00.431: E/Surface(122): queueBuffer: error queuing buffer to SurfaceTexture, -32
04-28 12:28:00.431: E/Camera2-Device(122): enqueue_buffer: Error queueing buffer to native window: Broken pipe (-32)
04-28 12:28:00.446: E/Surface(122): queueBuffer: error queuing buffer to SurfaceTexture, -32
04-28 12:28:00.446: E/Camera2-Device(122): enqueue_buffer: Error queueing buffer to native window: Broken pipe (-32)
04-28 12:32:33.086: E/MPL-storeload(426): calData from inv_save_mpl_states, size=2
04-28 12:32:33.796: E/MPL-storeload(426): calData from inv_save_mpl_states, size=2
04-28 12:32:49.286: E/BluetoothMap(5496): Could not bind to Bluetooth MAP Service with Intent { act=android.bluetooth.IBluetoothMap }
04-28 12:32:50.321: E/NfcNciHal(625): StartupConfig::append: invalid length at newContent[0]

      

My unity settings are OpenGL 2.x compliant and the app name is customized with all restrictions. I even applied the Vuforia app key correctly.

I understand that you may need more information and I am ready to show you the query, but due to errors, could you tell me what the problem is first?

+3


source to share


1 answer


I stripped it down to the last scene and found there was no fix yet. And in the end, all objects were deleted, and only ARCamera and ImageTarget were left.

Ok, while learning to create ImageTarget, I accidentally created two databases with the same image. Likewise for license keys. And each database had its own keys.



Bottom line: I used the wrong key for the wrong purpose. Switching back helped the app to start again.

0


source







All Articles