Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by OT_Tiramisu · May 26, 2016 at 08:04 AM · androidcrashgoogle playservicein-app purchase

Unity in-app purchasing service occurs crash on Android

I am using Unity 5.3.4 and my project contains;

  • Google play services v9.33 (latest)

  • Admob (latest version)

When I enable the unity in-app purchasing from services, app dies right after opening the app. From the log, you can see it falls in to "onPause" state. I didn't even used Unity in-app purchasing in any of my scripts. Probably it has a conflict with something.


Edit 1 : I am seeing that failure at the beginning of the process and after the end of the process which may be related to this problem.

Failure retrieving resources for com.xxxxx.xxxxx: Resource ID #0x0


Thx for help.

Here is my log ;


 (Filename: /Users/xxxxx/Documents/Android Race/Assets/_GameRoot/Scripts/Class/GooglePlayServices.cs Line: 28)
 I/Unity   : ******** Play game Activated
 I/Unity : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
 I/Unity  : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
 I/Unity  : UnityEngine.Logger:Log(LogType, Object)
 I/Unity   : UnityEngine.Debug:Log(Object)
 I/Unity   : GooglePlayServices:Start() (at /Users/xxxxx/Documents/Android Race/Assets/_GameRoot/Scripts/Class/GooglePlayServices.cs:35)
 I/Unity   :  
 I/Unity   : (Filename: /Users/xxxxx/Documents/Android Race/Assets/_GameRoot/Scripts/Class/GooglePlayServices.cs Line: 35)
 I/Unity  : 
 I/Unity   : onPause
 D/Unity  : Setting up 1 worker threads for Enlighten.
 D/Unity   :   Thread -> id: 8ee08b00 -> priority: 1 
 W/ActivityManager: getRecentTasks: caller 10085 does not hold GET_TASKS; limiting output
 W/ActivityManager: Activity pause timeout for ActivityRecord{38cc9fac u0 com.xxxxx.xxxxx/com.unity3d.player.UnityPlayerActivity t430 f}
 W/ActivityManager: getRecentTasks: caller 10085 does not hold GET_TASKS; limiting output
 W/Unity   : Timeout while trying to pause the Unity Engine.
 I/ActivityManager: Displayed com.xxxxx.xxxxx/com.unity3d.player.UnityPlayerProxyActivity: +21s934ms
 W/ActivityManager: getRecentTasks: caller 10085 does not hold GET_TASKS; limiting output
 I/Unity   (28267): windowFocusChanged: false
 D/Unity   (28267): [EGL] Attaching window :0x0
 W/ActivityManager(  737): getRecentTasks: caller 10085 does not hold GET_TASKS; limiting output
 I/ActivityManager(  737): Config changes=480 {1.0 ?mcc?mnc en_US ?layoutDir sw360dp w360dp h567dp 480dpi nrml port finger -keyb/v/h -nav/h s.104}
 V/ActivityManager(  737): Display changed displayId=0
 V/ActivityManager(  737): Display changed displayId=0
 W/ActivityManager(  737): Activity pause timeout for ActivityRecord{19e9f003 u0 com.xxxxx.xxxxx/com.unity3d.player.UnityPlayerProxyActivity t430}
 W/ActivityManager(  737): getRecentTasks: caller 10085 does not hold GET_TASKS; limiting output
 I/Unity   (28267): onDestroy
 I/ActivityManager(  737): Process com.xxxxx.xxxxx (pid 28267) has died
 W/ActivityManager(  737): Force removing ActivityRecord{19e9f003 u0 com.xxxxx.xxxxx/com.unity3d.player.UnityPlayerProxyActivity t430}: app died, no saved state
 W/PackageManager(  888): Failure retrieving resources for com.xxxxx.xxxxx: Resource ID #0x0
 W/ActivityManager(  737): Sleep timeout!  Sleeping now.
 






Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

81 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error setting up Google Play Services - Invalid classname extension has been thrown by the target of an invocation 0 Answers

Unity in-app purchase: Disable auto consume product in Android 1 Answer

android crash at Failed to open file: /system/lib/librs_jni.so 0 Answers

FMODAudioDevice Crashing in Android 4.4 3 Answers

What is "good" Install/Uninstall rate for growing-good apps? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges