Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Google play services problem (New update)?!

Discussion in 'Editor & General Support' started by CroHack97, Oct 23, 2015.

  1. CroHack97

    CroHack97

    Joined:
    Oct 26, 2014
    Posts:
    46
    Hey guys,
    So I experianced google play services problem, it was all alright before but now i tried to update to GooglePlayGamesPlugin-0.9.26 version, from 0.9.12. And I changed from unity 4.3v to 5.01v.


    Now when I test app I see leaderboards/achievements, but after same scene loads once more(restart) I cant see leaderboards/achievements.

    And i got this error with debug:
    Code (CSharp):
    1. 11-02 16:32:09.975: E/dalvikvm(11072): Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.a
    2. 11-02 16:32:09.975: W/dalvikvm(11072): VFY: unable to resolve check-cast 28 (Landroid/app/AppOpsManager;) in Lcom/google/android/gms/common/GooglePlayServicesUtil;
    And here is code for google play services (authaticate and login): https://gyazo.com/7f01b9badfe20ac5554a2a712c8762f2

    So it destroys other object with same name next time it restarts scene..
     
  2. CroHack97

    CroHack97

    Joined:
    Oct 26, 2014
    Posts:
    46
    Found out problem!
    It was with code problem that i use to destroy after restarting scene.
    Dont know why but before in unity 4.3 code didnt destroy, now when I saw in unity5 gameobject destroys..Realy strange, but i will fix it somehow now when I know real bug!
    :))))