Morning all,
We’re working on getting the Google Play lic plugin integrated into our build that was released on the asset store (Thanks Unity for this btw) and we’re running into an issue.
When we build and run the demo, it works just fine. Everything is great.
But when i add the plugin to our application, place the level example as the first thing to load and run it it works until i click the button to check the license. Its just crapping out and i don’t quite get whats happening in the log (which follows)…
04-20 17:15:54.806: I/WindowManager(1644): Setting rotation to 1, animFlags=1
04-20 17:15:54.905: I/ActivityManager(1644): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=2 layout=268435490 uiMode=17 seq=78}
04-20 17:15:54.925: I/AutoSignInService(1914): onConfigurationChanged
04-20 17:15:54.925: I/ApnEntitlementService(1914): onConfigurationChanged
04-20 17:15:54.925: I/PortalService(1914): onConfigurationChanged
04-20 17:15:55.215: I/Unity(26785): private string m_PublicKey_Modulus_Base64 = "KEY REMOVED BEFORE I PUT THIS UP";
04-20 17:15:55.215: I/Unity(26785):
04-20 17:15:55.215: I/Unity(26785): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)
04-20 17:15:55.215: I/Unity(26785): private string m_PublicKey_Exponent_Base64 = "AQAB";
04-20 17:15:55.215: I/Unity(26785):
04-20 17:15:55.215: I/Unity(26785): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)
04-20 17:15:55.965: D/dalvikvm(26785): DexOpt: --- BEGIN 'classes.jar' (bootstrap=0) ---
04-20 17:15:56.005: D/dalvikvm(26818): creating instr width table
04-20 17:15:56.005: D/dalvikvm(26818): DexOpt: load 0ms, verify+opt 2ms
04-20 17:15:56.065: D/dalvikvm(26785): DexOpt: --- END 'classes.jar' (success) ---
04-20 17:15:56.065: D/dalvikvm(26785): DEX prep '/mnt/sdcard/Android/data/com.ae.google.heafreetester/cache/classes.jar': unzip in 0ms, rewrite 100ms
04-20 17:15:56.125: I/Unity(26785): com.ae.google.heafreetester
04-20 17:15:56.125: I/Unity(26785):
04-20 17:15:56.125: I/Unity(26785): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)
04-20 17:15:58.185: I/(1534): odm_disp_esd_thread is running(141) state=1
04-20 17:15:58.617: D/dalvikvm(1644): GC_EXPLICIT freed 640K, 40% free 8133K/13383K, external 4723K/5898K, paused 115ms
04-20 17:16:00.015: I/SYS_MPP(1957): WebtopStatusHandler Time change action: android.intent.action.TIME_TICK
04-20 17:16:00.015: I/SYS_MPP(1957): WebtopStatusHandler xxxxxxx Date long format=Friday, April 20, 2012
04-20 17:16:00.115: E/NetlinkEvent(1454): NetlinkEvent::FindParam(): Parameter 'UDEV_LOG' not found
04-20 17:16:00.125: E/NetlinkListener(1456): ignoring non-kernel netlink multicast message
04-20 17:16:00.125: E/NetlinkListener(1454): ignoring non-kernel netlink multicast message
04-20 17:16:02.195: I/ElegantRequestDirector(3601): I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
04-20 17:16:02.195: I/ElegantRequestDirector(3601): Retrying request
04-20 17:16:02.515: D/dalvikvm(3601): GC_CONCURRENT freed 1707K, 54% free 3590K/7687K, external 2357K/2773K, paused 2ms+7ms
04-20 17:16:03.255: E/mono(26785): Unhandled Exception: System.FormatException: Input string was not in the correct format
04-20 17:16:03.255: E/mono(26785): at System.Int64.Parse (System.String s) [0x00000] in <filename unknown>:0
04-20 17:16:03.255: E/mono(26785): at System.Convert.ToInt64 (System.String value) [0x00000] in <filename unknown>:0
04-20 17:16:03.255: E/mono(26785): at CheckLVLButton.Process () [0x00000] in <filename unknown>:0
04-20 17:16:03.255: D/dalvikvm(26785): threadid=15: thread exiting, not yet detached (count=0)
04-20 17:16:03.255: D/dalvikvm(26785): threadid=15: thread exiting, not yet detached (count=1)
04-20 17:16:03.255: E/dalvikvm(26785): threadid=15: native thread exited without detaching
04-20 17:16:03.255: E/dalvikvm(26785): VM aborting
04-20 17:16:03.356: I/DEBUG(26830): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-20 17:16:03.356: I/DEBUG(26830): Build fingerprint: 'MOTO/olyatt/olympus:2.3.4/4.5.91/110625:user/release-keys'
04-20 17:16:03.356: I/DEBUG(26830): pid: 26785, tid: 26815 >>> com.bigfishgames.google.heafreetester <<<
04-20 17:16:03.356: I/DEBUG(26830): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00d
04-20 17:16:03.356: I/DEBUG(26830): r0 00000026 r1 aca855ae r2 00000005 r3 deadd00d
04-20 17:16:03.356: I/DEBUG(26830): r4 aca855ae r5 fffffe8c r6 aca9f600 r7 afd4638c
04-20 17:16:03.356: I/DEBUG(26830): r8 aca4c651 r9 00000001 10 005fe398 fp 00000000
04-20 17:16:03.356: I/DEBUG(26830): ip aca9f730 sp 470fd270 lr aca4005f pc aca40070 cpsr 00000030
04-20 17:16:03.356: I/DEBUG(26830): d0 3f80000000000004 d1 000000333f800000
04-20 17:16:03.356: I/DEBUG(26830): d2 4011fffff8000000 d3 3fecccccc0000000
04-20 17:16:03.356: I/DEBUG(26830): d4 3fbc71c7002b7748 d5 3fe999999999999a
04-20 17:16:03.356: I/DEBUG(26830): d6 4036000000000000 d7 401e000000000000
04-20 17:16:03.356: I/DEBUG(26830): d8 0000000000000000 d9 0000000000000000
04-20 17:16:03.356: I/DEBUG(26830): d10 0000000000000000 d11 0000000000000000
04-20 17:16:03.356: I/DEBUG(26830): d12 0000000000000000 d13 0000000000000000
04-20 17:16:03.356: I/DEBUG(26830): d14 0000000000000000 d15 0000000000000000
04-20 17:16:03.356: I/DEBUG(26830): scr 80000012
04-20 17:16:03.435: I/DEBUG(26830): #00 pc 00040070 /system/lib/libdvm.so
04-20 17:16:03.435: I/DEBUG(26830): #01 pc 0004c6be /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): #02 pc 00011a10 /system/lib/libc.so
04-20 17:16:03.445: I/DEBUG(26830): code around pc:
04-20 17:16:03.445: I/DEBUG(26830): aca40050 f7d14622 4668eb96 f7d14621 b128ebce
04-20 17:16:03.445: I/DEBUG(26830): aca40060 fdcaf00c 2100b110 fe7af00d 4b022026
04-20 17:16:03.445: I/DEBUG(26830): aca40070 f7d17018 bf00ec0a deadd00d 0005f5da
04-20 17:16:03.445: I/DEBUG(26830): aca40080 fffffe8c 00045563 0004399f fffffe84
04-20 17:16:03.445: I/DEBUG(26830): aca40090 00045550 0004555c 4b09b40e 447bb517
04-20 17:16:03.445: I/DEBUG(26830): code around lr:
04-20 17:16:03.445: I/DEBUG(26830): aca4003c 58234813 b1036bdb 46694798 4c124811
04-20 17:16:03.445: I/DEBUG(26830): aca4004c 447c4478 f7d14622 4668eb96 f7d14621
04-20 17:16:03.445: I/DEBUG(26830): aca4005c b128ebce fdcaf00c 2100b110 fe7af00d
04-20 17:16:03.445: I/DEBUG(26830): aca4006c 4b022026 f7d17018 bf00ec0a deadd00d
04-20 17:16:03.445: I/DEBUG(26830): aca4007c 0005f5da fffffe8c 00045563 0004399f
04-20 17:16:03.445: I/DEBUG(26830): stack:
04-20 17:16:03.445: I/DEBUG(26830): 470fd230 40001000
04-20 17:16:03.445: I/DEBUG(26830): 470fd234 afd29189 /system/lib/libc.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd238 470fd270
04-20 17:16:03.445: I/DEBUG(26830): 470fd23c 470fd270
04-20 17:16:03.445: I/DEBUG(26830): 470fd240 aca855ae /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd244 afd4638c
04-20 17:16:03.445: I/DEBUG(26830): 470fd248 aca4c651 /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd24c 00000001
04-20 17:16:03.445: I/DEBUG(26830): 470fd250 005fe398
04-20 17:16:03.445: I/DEBUG(26830): 470fd254 afd29207 /system/lib/libc.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd258 aca855ae /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd25c af906107 /system/lib/libcutils.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd260 aca855ae /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd264 fffffe8c
04-20 17:16:03.445: I/DEBUG(26830): 470fd268 e3a070ad
04-20 17:16:03.445: I/DEBUG(26830): 470fd26c ef9000ad
04-20 17:16:03.445: I/DEBUG(26830): #00 470fd270 72657375
04-20 17:16:03.445: I/DEBUG(26830): 470fd274 470fd200
04-20 17:16:03.445: I/DEBUG(26830): 470fd278 470fd2ac
04-20 17:16:03.445: I/DEBUG(26830): 470fd27c a8114d5d /system/lib/libutils.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd280 04291fec
04-20 17:16:03.445: I/DEBUG(26830): 470fd284 0000080e
04-20 17:16:03.445: I/DEBUG(26830): 470fd288 006cad10
04-20 17:16:03.445: I/DEBUG(26830): 470fd28c 0000080e
04-20 17:16:03.445: I/DEBUG(26830): 470fd290 a821611d /system/lib/libbinder.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd294 470fd2b4
04-20 17:16:03.445: I/DEBUG(26830): 470fd298 005fe770
04-20 17:16:03.445: I/DEBUG(26830): 470fd29c 0000080e
04-20 17:16:03.445: I/DEBUG(26830): 470fd2a0 00000000
04-20 17:16:03.445: I/DEBUG(26830): 470fd2a4 0000080e
04-20 17:16:03.445: I/DEBUG(26830): 470fd2a8 04291fec
04-20 17:16:03.445: I/DEBUG(26830): 470fd2ac 0000001e
04-20 17:16:03.445: I/DEBUG(26830): 470fd2b0 00000000
04-20 17:16:03.445: I/DEBUG(26830): 470fd2b4 afd4638c
04-20 17:16:03.445: I/DEBUG(26830): 470fd2b8 005fe398
04-20 17:16:03.445: I/DEBUG(26830): 470fd2bc e63d3702
04-20 17:16:03.445: I/DEBUG(26830): 470fd2c0 aca4c651 /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): 470fd2c4 005fe398
04-20 17:16:03.445: I/DEBUG(26830): 470fd2c8 470fdf08
04-20 17:16:03.445: I/DEBUG(26830): 470fd2cc e63d3702
04-20 17:16:03.445: I/DEBUG(26830): 470fd2d0 afd4638c
04-20 17:16:03.445: I/DEBUG(26830): 470fd2d4 005fe398
04-20 17:16:03.445: I/DEBUG(26830): 470fd2d8 470fdf08
04-20 17:16:03.445: I/DEBUG(26830): 470fd2dc aca4c6c3 /system/lib/libdvm.so
04-20 17:16:03.445: I/DEBUG(26830): #01 470fd2e0 005fe398
04-20 17:16:03.445: I/DEBUG(26830): 470fd2e4 afd46390
04-20 17:16:03.445: I/DEBUG(26830): 470fd2e8 00000006
04-20 17:16:03.445: I/DEBUG(26830): 470fd2ec 470fdf08
04-20 17:16:03.445: I/DEBUG(26830): 470fd2f0 afd4639c
04-20 17:16:03.445: I/DEBUG(26830): 470fd2f4 afd11a14 /system/lib/libc.so
04-20 17:16:04.825: E/NetlinkEvent(1454): NetlinkEvent::FindParam(): Parameter 'UDEV_LOG' not found
04-20 17:16:04.825: E/NetlinkListener(1456): ignoring non-kernel netlink multicast message
04-20 17:16:04.825: E/NetlinkListener(1454): ignoring non-kernel netlink multicast message
04-20 17:16:04.975: I/BootReceiver(1644): Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)
04-20 17:16:04.995: E/InputDispatcher(1644): channel '40634898 com.ae.google.heafreetester/com.annosoftentertainment.unityactivity.BFGActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
04-20 17:16:04.995: E/InputDispatcher(1644): channel '40634898 com.ae.google.heafreetester/com.annosoftentertainment.unityactivity.BFGActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
04-20 17:16:04.995: D/Zygote(1471): Process 26785 terminated by signal (11)
04-20 17:16:05.035: D/dalvikvm(1644): GC_FOR_MALLOC freed 731K, 37% free 8470K/13383K, external 4723K/5898K, paused 61ms
04-20 17:16:05.035: I/ActivityManager(1644): Process com.bigfishgames.google.heafreetester (pid 26785) has died.
04-20 17:16:05.035: I/WindowManager(1644): WIN DEATH: Window{40919c30 SurfaceView paused=false}
04-20 17:16:05.045: I/WindowManager(1644): WIN DEATH: Window{40634898 com.ae.google.heafreetester/com.annosoftentertainment.unityactivity.BFGActivity paused=false}
So with that i’m a little lost… any help would be greatly appreciated!
Cheers
Bryan