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 bbaarrr2015 · Dec 26, 2015 at 01:23 AM · crashgoogle play gameslogcat

Crashed Scene after build

Well somehow after i tried to get into my game Google play game services, All of the levels get crashed except from the Endless level, i have 2 modes on my app right now,Rush mode(Endless Level),StoryMode(Levels), and before i started to add Google play games it all works fine, i even have a backup before i add the GPG i backup every time so i am luvky but i dont want to go back , i want to fix it, it got to be fixed i got a logcat for the crash:

 12-26 03:05:15.702: E/AndroidRuntime(10996): Process: com.BTech.RollingOver, PID: 10996
 12-26 03:05:15.702: W/ActivityManager(1072):   Force finishing activity com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity
 12-26 03:05:15.712: V/ActivityManager(1072): Moving to PAUSING: ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f}
 12-26 03:05:15.902: V/WindowStateAnimator(1072): performShowLocked: mDrawState=HAS_DRAWN in WindowStateAnimator{45dd6710 Application Error: com.BTech.RollingOver}
 12-26 03:05:16.242: W/ActivityManager(1072): Activity pause timeout for ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f}
 12-26 03:05:16.242: V/ActivityManager(1072): Moving to PAUSED: ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f} (due to timeout)
 12-26 03:05:16.242: V/ActivityManager(1072): Moving to FINISHING: ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f}
 12-26 03:05:16.252: D/ActivityManager(1072): allPausedActivitiesComplete: r=ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f} state=FINISHING
 12-26 03:05:16.732: V/ActivityManager(1072): Moving to DESTROYING: ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f} (destroy requested)
 12-26 03:05:17.772: W/WindowManager(1072): Force clearing orientation change: Window{44993118 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity}
 12-26 03:05:17.792: I/WindowManager(1072): Screen frozen for +2s22ms due to Window{44993118 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity}
 12-26 03:05:26.742: W/ActivityManager(1072): Activity destroy timeout for ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f}
 12-26 03:05:26.742: V/ActivityManager(1072): Moving to DESTROYED: ActivityRecord{448bc0c0 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity t369 f} (removed from history)
 12-26 03:05:51.272: I/ActivityManager(1072): Process com.BTech.RollingOver (pid 10996) has died.
 12-26 03:05:51.272: I/WindowState(1072): WIN DEATH: Window{44993118 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity}
 12-26 03:05:51.272: W/WindowManager(1072): Force-removing child win Window{4484fbe0 u0 SurfaceView} from container Window{44993118 u0 com.BTech.RollingOver/com.unity3d.player.UnityPlayerActivity}

And this is the code for activating GPG which never work for me it should pop a login for Google play games:

 using UnityEngine;
 using System.Collections;
 using GooglePlayGames;
 using UnityEngine.SocialPlatforms;
 using GooglePlayGames.BasicApi;
 
 public class GPG : MonoBehaviour {
     //-LeaderBoard-
     public string leaderboardgpg = "CgkIls2S1dkZEAIQBg";
     // Use this for initialization
     void Awake () {
         Social.localUser.Authenticate((bool success) => {
             if (success) {
                 Debug.Log("You've successfully logged in");
             } else {
                 Debug.Log("Login failed for some reason");
             }
         });
 
         PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder()
             
             .Build();
         PlayGamesPlatform.InitializeInstance(config);
         // recommended for debugging:
         PlayGamesPlatform.DebugLogEnabled = true;
         // Activate the Google Play Games platform
         PlayGamesPlatform.Activate();
     }
     
     // Update is called once per frame
     void Update () {
     
     }
 
     public void CallForLeaderBoard(){
         PlayGamesPlatform.Instance.ShowLeaderboardUI(leaderboardgpg);
     }
 }

Thanks for the Helpers!

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

33 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

Related Questions

App crashes since AdMob is added 0 Answers

I am making a mobile game with unity and the app crashes with the message " keeps stopping" 0 Answers

How to fix (Gamename) has stopped error? Here is the logcat file. 1 Answer

signal 5 (SIGTRAP), code 1 (TRAP_BRKPT) 0 Answers

Android loading crash 4 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