question

radiangames avatar image
radiangames asked

Crash on startup with Unity games

I've successfully released my Unity game through Amazon, and now I'm trying to update it so it's eligible for Amazon Developer Select, which meant associating it with a Security Profile. However, once I did this, I am no longer able to start my game on my Kindle. Here's the adb logcat dump. I have no idea where it's crashing based on this: I/LAB126 ( 1451): don't set softkey config for 'Starting...' window D/dalvikvm( 3933): Trying to load lib /mnt/asec/com.radiangames.sideswype-2/lib/ libmain.so 0x40513d90 D/dalvikvm( 3933): Added shared lib /mnt/asec/com.radiangames.sideswype-2/lib/li bmain.so 0x40513d90 I/ActivityManager( 1389): Displayed com.radiangames.sideswype/com.unity3d.player .UnityPlayerNativeActivity: +1s678ms I/LAB126 ( 1451): StatusBarService hears intent. action: com.lab126.intent.TOP_ WINDOW_CHANGED I/LAB126 ( 1451): window changed D/libEGL ( 3933): loaded /system/lib/egl/ libGLES_android.so D/libEGL ( 3933): loaded /vendor/lib/egl/ libEGL_POWERVR_SGX540_120.so D/libEGL ( 3933): loaded /vendor/lib/egl/ libGLESv1_CM_POWERVR_SGX540_120.so D/libEGL ( 3933): loaded /vendor/lib/egl/ libGLESv2_POWERVR_SGX540_120.so D/Unity ( 3933): GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_vertex_half_float GL_ OES_texture_float GL_OES_texture_half_float GL_OES_element_index_uint GL_OES_map buffer GL_OES_fragment_precision_high GL_OES_compressed_ETC1_RGB8_texture GL_OES _EGL_image GL_OES_required_internalformat GL_OES_depth_texture GL_OES_get_progra m_binary GL_OES_packed_depth_stencil GL_OES_standard_derivatives GL_OES_vertex_a rray_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8 888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod GL_IMG_shader_binary GL _IMG_texture_compression_pvrtc GL_IMG_texture_stream2 GL_IMG_texture_npot GL_IMG _texture_format_BGRA8888 GL_IMG_read_format GL_IMG_program_binary GL_IMG_multisa mpled_render_to_texture D/dalvikvm( 3933): GetMethodID: method not found: Landroid/view/Display;.getRawW idth:()I D/AudioResampler( 1293): forcing AudioResampler quality to 2 D/Omap4ALSA( 1293): open called for devices 00000002 in mode 0 channels 00000000 ... I/Omap4ALSA( 1293): Using ping-pong! I/Omap4ALSA( 1293): Buffer size: 4096 I/Omap4ALSA( 1293): Latency: 92879 I/Omap4ALSA( 1293): Initialized ALSA PLAYBACK device 'plughw:0,0' E/AudioHardwareALSA( 1293): RE-OPEN AFTER STANDBY:: took 67 msecs I/Unity ( 3933): RATIO: 0.5976096 W / H: 600 / 1004 I/Unity ( 3933): I/Unity ( 3933): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 3933): I/Unity ( 3933): MEMORY: 446 WI / HI - DPI: 3.633392 / 6.079876 - 165.1349 TAB LET: True I/Unity ( 3933): I/Unity ( 3933): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 3933): I/Unity ( 3933): SWIPE DIST: 36.50019 / 2.46574 I/Unity ( 3933): I/Unity ( 3933): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 3933): I/Unity ( 3933): Loading from Device I/Unity ( 3933): I/Unity ( 3933): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 3933): I/Unity ( 3933): AndroidJavaException: java.lang.ClassNotFoundException: com.a mazon.ags.api.unity.AmazonGamesClientProxyImpl I/Unity ( 3933): at UnityEngine.AndroidJNISafe.CheckException () [0x00000] i n :0 I/Unity ( 3933): at UnityEngine.AndroidJNISafe.CallStaticObjectMethod (IntPt r clazz, IntPtr methodID, UnityEngine.jvalue[] args) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaObject._CallStatic[AndroidJavaObj ect] (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaObject.CallStatic[AndroidJavaObje ct] (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaObject.FindClass (System.String n ame) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaClass._AndroidJavaClass (System.S tring className) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaClass..ctor (System.String classN ame) [0x00000] in :0 I/Unity ( 3933): at AGSClient..cctor () [0x00000] in :0 I/Unity ( 3933): Rethrow I/Unity ( 3933): AndroidJavaException: java.lang.ClassNotFoundException: com.a mazon.ags.api.unity.AmazonGamesClientProxyImpl I/Unity ( 3933): at UnityEngine.AndroidJNISafe.CheckException () [0x00000] i n :0 I/Unity ( 3933): at UnityEngine.AndroidJNISafe.CallStaticObjectMethod (IntPt r clazz, IntPtr methodID, UnityEngine.jvalue[] args) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaObject._CallStatic[AndroidJavaObj ect] (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaObject.CallStatic[AndroidJavaObje ct] (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaObject.FindClass (System.String n ame) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaClass._AndroidJavaClass (System.S tring className) [0x00000] in :0 I/Unity ( 3933): at UnityEngine.AndroidJavaClass..ctor (System.String classN ame) [0x00000] in :0 I/Unity ( 3933): at AGSClient..cctor () [0x00000] in :0 I/Unity ( 3933): Rethrow I/Unity ( 3933): Screen sizes: 600x1004 I/Unity ( 3933): I/Unity ( 3933): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) Here's a second game (CRUSH) that appears to have a similar crash. It also has GameCircle enabled, and also starts fine if I never initialize GameCircle. Here's the logcat dump for that (again, it's not clear to me where it's crashing): I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): Begin decoding API Key for packageName=com.radiangames.crush D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): APIKey: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): num sigs = 1 D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Signature chec king.: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Fingerpirint c hecking: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): scopes has no mapp ing in json, returning null array I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): perm has no mappin g in json, returning null array I/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager( 4036): com.radiangames.crush calling getAppId I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): getAppInfo : packageName=com.radiangames.crush I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): Finding AP I Key for com.radiangames.crush I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser( 4036): Attempt ing to parse API Key from assets directory I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): Begin decoding API Key for packageName=com.radiangames.crush D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): APIKey: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): num sigs = 1 D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Signature chec king.: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Fingerpirint c hecking: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): scopes has no mapp ing in json, returning null array I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): perm has no mappin g in json, returning null array V/AmazonInsightsSDK( 4036): Firing Session Event: _session.start I/AmazonInsightsSDK( 4036): Amazon Insights SDK(2.1.16.0) initialization success fully completed I/dalvikvm( 4036): Total arena pages for JIT: 11 D/GameCircleClient( 4036): initialize_internal() executing on thread:pool-1-thre ad-1 I/AmazonInsightsSDK( 4036): Event: '_sess...' recorded to local filestore D/GC_Whispersync( 4036): Initial load from disk started W/GC_Whispersync( 4036): Retrieved an empty document from disk W/GC_Whispersync( 4036): GameDataMap - Unable to merge from an invalid/unset Gam eDataMap null D/GC_Whispersync( 4036): Initial load from disk completed in 1 msec. W/dalvikvm( 4036): threadid=15: thread exiting with uncaught exception (group=0x 40015560) D/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.P II( 4036): AmazonAuthorizationManager:sdkVer=1.0.0 libVer=3.3.0: I/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager( 4036): Options bundle is null I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): getAppInfo : packageName=com.radiangames.crush I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): Finding AP I Key for com.radiangames.crush I/AmazonInsightsSDK( 4036): Attempting to retrieve variation(s) for project(s):' Universal Experiment List' I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser( 4036): Attempt ing to parse API Key from assets directory I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): Begin decoding API Key for packageName=com.radiangames.crush E/AndroidRuntime( 4036): FATAL EXCEPTION: pool-5-thread-1 E/AndroidRuntime( 4036): java.lang.Error: FATAL EXCEPTION [pool-5-thread-1] E/AndroidRuntime( 4036): Unity version : 4.3.4f1 E/AndroidRuntime( 4036): Device model : Amazon Kindle Fire E/AndroidRuntime( 4036): Device fingerprint: generic/blaze/blaze:2.3.4/GINGERBRE AD/6.3.2_user_4110520:user/release-keys E/AndroidRuntime( 4036): E/AndroidRuntime( 4036): Caused by: java.lang.SecurityException: ConnectivitySer vice: Neither user 10027 nor current process has android.permission.ACCESS_NETWO RK_STATE. E/AndroidRuntime( 4036): at android.os.Parcel.readException(Parcel.java:1 322) E/AndroidRuntime( 4036): at android.os.Parcel.readException(Parcel.java:1 276) E/AndroidRuntime( 4036): at android.net.IConnectivityManager$Stub$Proxy.g etActiveNetworkInfo(IConnectivityManager.java:345) E/AndroidRuntime( 4036): at android.net.ConnectivityManager.getActiveNetw orkInfo(ConnectivityManager.java:251) E/AndroidRuntime( 4036): at com.amazon.insights.core.system.AndroidConnec tivity.determineAvailability(AndroidConnectivity.java:58) E/AndroidRuntime( 4036): at com.amazon.insights.core.system.AndroidConnec tivity.isConnected(AndroidConnectivity.java:40) E/AndroidRuntime( 4036): at com.amazon.insights.delivery.policy.Connectiv ityPolicy.isAllowed(ConnectivityPolicy.java:32) E/AndroidRuntime( 4036): at com.amazon.insights.delivery.DefaultDeliveryC lient$3.run(DefaultDeliveryClient.java:167) E/AndroidRuntime( 4036): at java.util.concurrent.ThreadPoolExecutor.runWo rker(ThreadPoolExecutor.java:1088) E/AndroidRuntime( 4036): at java.util.concurrent.ThreadPoolExecutor$Worke r.run(ThreadPoolExecutor.java:581) E/AndroidRuntime( 4036): at java.lang.Thread.run(Thread.java:1019) D/dalvikvm( 4036): GC_CONCURRENT freed 441K, 50% free 3009K/5959K, external 849K /1181K, paused 2ms+2ms E/AmazonInsightsSDK( 4036): An unexpected error occurred. Retrieval of variation s could not be completed I/AmazonInsightsSDK( 4036): Event: 'WHISP...' recorded to local filestore D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): APIKey: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): num sigs = 1 D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Signature chec king.: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Fingerpirint c hecking: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): scopes has no mapp ing in json, returning null array I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): perm has no mappin g in json, returning null array I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): isAPIKeyVa lid : packageName=com.radiangames.crush I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): getAppInfo : packageName=com.radiangames.crush I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): Finding AP I Key for com.radiangames.crush I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser( 4036): Attempt ing to parse API Key from assets directory I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): Begin decoding API Key for packageName=com.radiangames.crush W/ActivityManager( 1389): Force finishing activity com.radiangames.crush/com.u nity3d.player.UnityPlayerNativeActivity D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): APIKey: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): num sigs = 1 D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Signature chec king.: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Fingerpirint c hecking: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): scopes has no mapp ing in json, returning null array I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): perm has no mappin g in json, returning null array I/com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager( 4036): com.radiangames.crush calling getAppId I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): getAppInfo : packageName=com.radiangames.crush I/com.amazon.identity.auth.device.appid.AbstractAppIdentifier( 4036): Finding AP I Key for com.radiangames.crush I/com.amazon.identity.auth.device.utils.ThirdPartyResourceParser( 4036): Attempt ing to parse API Key from assets directory I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): Begin decoding API Key for packageName=com.radiangames.crush D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): APIKey: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): num sigs = 1 D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Signature chec king.: D/com.amazon.identity.auth.device.appid.APIKeyDecoder.PII( 4036): Fingerpirint c hecking: I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): scopes has no mapp ing in json, returning null array I/com.amazon.identity.auth.device.appid.APIKeyDecoder( 4036): perm has no mappin g in json, returning null array I/GameCircleClient( 4036): AmazonGamesClient.initialize() has already been calle d. Reinitializing. W/Whispersync( 4036): WhispersyncClient has already been initialized W/dalvikvm( 4036): threadid=17: thread exiting with uncaught exception (group=0x 40015560) I/Unity ( 4036): MoreGames - Games: 7 I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): I/Unity ( 4036): Game list: SideSwype - Link: [amzn://apps/android?p=com.radia ngames.sideswype] I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): I/Unity ( 4036): Game list: Slydris - Link: [amzn://apps/android?p=com.radiang ames.slydris] I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): I/Unity ( 4036): Game list: Bombcats SE - Link: [amzn://apps/android?p=com.rad iangames.bombcats] I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): I/Unity ( 4036): Retrieved News file I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): D/dalvikvm( 1389): GC_CONCURRENT freed 1301K, 53% free 5647K/11783K, external 40 83K/5545K, paused 3ms+14ms I/Unity ( 4036): News -- Platform: AMAZON / amzn://apps/android?p=com.radianga mes.sideswype I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): I/Unity ( 4036): Beginning download of News Image I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): I/Unity ( 4036): PLAY MUSIC TRACK MENU I/Unity ( 4036): I/Unity ( 4036): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb ug.cpp Line: 53) I/Unity ( 4036): W/ActivityManager( 1389): Activity pause timeout for HistoryRecord{40772720 com. radiangames.crush/com.unity3d.player.UnityPlayerNativeActivity} W/ActivityManager( 1389): Unable to start service Intent { act=appStartup }: not found D/dalvikvm( 1389): GC_FOR_MALLOC freed 1110K, 51% free 5797K/11783K, external 40 79K/5094K, paused 70ms I/LAB126 ( 1451): StatusBarService hears intent. action: com.lab126.intent.TOP_ WINDOW_CHANGED I/LAB126 ( 1451): window changed I/ActivityManager( 1389): No longer want com.android.defcontainer (pid 2495): hi dden #16 D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveVideoFrameCallback:VILII D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSoftInputClosed:V D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetTouchDeltaY:VF D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetInputString:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetInputCanceled:VZ D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetExtras:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetDefaultDisplay:VI D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveResume:V D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveResize:VIIII D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveRequestedAA:I D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveRequested32bitDisplayBuffer:Z D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveRender:Z D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveRecreateGfxState:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat ivePause:Z D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveKeysPressed:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveInjectEvent:ZL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveInitWWW:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveFocusChanged:VZ D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveFile:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveDone:V D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveActivityIndicatorStyle:I D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.ini tJni:VL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.Uni tySendMessage:VLLL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetLocationStatus:VI D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveSetLocation:VFFFFDF D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveForwardEventsToDalvik:VZ D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nat iveDeviceOrientation:VI D/dalvikvm( 4036): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodUnblo ckStreaming:I D/dalvikvm( 4036): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodProce ss:IL D/dalvikvm( 4036): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodInitJ ni:I D/dalvikvm( 4036): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodGetIn fo:II D/dalvikvm( 4036): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodBlock Streaming:I D/dalvikvm( 4036): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodProce ssMicData:ILI D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/ReflectionHelper ;.nativeProxyInvoke:LILL D/dalvikvm( 4036): Unregistering JNI method Lcom/unity3d/player/ReflectionHelper ;.nativeProxyFinalize:VI I/Process ( 4036): Sending signal. PID: 4036 SIG: 9 E/InputDispatcher( 1389): channel '40777e18 com.radiangames.crush/com.unity3d.pl ayer.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an e rror occurred. events=0x8 E/InputDispatcher( 1389): channel '40777e18 com.radiangames.crush/com.unity3d.pl ayer.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and w ill be disposed! I/WindowManager( 1389): WINDOW DIED Window{40777e18 com.radiangames.crush/com.un ity3d.player.UnityPlayerNativeActivity paused=false} I/ActivityManager( 1389): Process com.radiangames.crush (pid 4036) has died. I'm tempted to just remove GameCircle from my games rather than continue with a system that is so difficult to get working correctly.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

DougM@Amazon avatar image
DougM@Amazon answered
Looking at the ADB logs that you have provided it looks like there are two fairly different issues for your games. For the sideswype: java.lang.ClassNotFoundException was thrown trying to find our proxy library. Please make sure that unity project under Plugins->Android has the "gcunity.jar" file and this would resolve itself as a part of the build process. This file needs to be in this specific location because otherwise Unity will not include it as a dependency for your game, and it will exhibit the same behaviors as you described. For CRUSH, below is the most relevant portion of the log information to show you what is causing the crash Caused by: java.lang.SecurityException: ConnectivityService: Neither user 10027 nor current process has android.permission.ACCESS_NETWORK_STATE. This means that your game is not setup with a correct AndroidManifest.xml file under Assets->Plugins->Android Please follow our guidelines for configuring your game for GameCircle in Unity at : https://developer.amazon.com/public/apis/engage/gamecircle/docs/unity-setup Also, the manifest file will need to be called AndroidManifest.xml, otherwise the manifest you setup will not be included in the build process.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

radiangames avatar image
radiangames answered
Thanks for the reply. I ended up removing everything GameCircle from my project and re-integrating the plug-in. Normally I'd been removing the iOS components, but I left them in, and I did the steps in the exact order shown. I'm pretty sure it was the AndroidManifest that I was messing up before, like you said (had other plug-ins that were messing with it as well), and I also finally figured out the API key thing so it wasn't a pain (could just copy my keystore's MD5 from one game to another). Long story short: Both games work fine now with GameCircle. Luke
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.