When trying to use google play services plugin nothing happens

I have searched almost everything I could to try to get a solution, but nothing has helped so now I finally ask the question.

I am using the google play services plugin. Before anyone asks:

  • I am listed as a tester

  • My SHA1 matches in google and on my app

  • My manifest file looks right as in this line is there with my correct client id

  • I am testing on my device not in editor.

  • I may have forgotten some other things as well.

Here is my very simple code to login it is just on a guitexture. When I click it nothing happens

using UnityEngine;
using System.Collections;
using GooglePlayGames;
using UnityEngine.SocialPlatforms;

public class Login : MonoBehaviour {

	public GUITexture IN, IN2;

	void Awake ()
	{
		PlayGamesPlatform.Activate();
	}

	// Use this for initialization
	void Start () {
		PlayGamesPlatform.DebugLogEnabled = true;
	}

	void OnMouseDown ()
	{
		print ("Clicked login");
		IN2.enabled = true;
		Social.localUser.Authenticate((bool success) => {
			// handle success or failure
			if (success)
			{
			print ("login success");
			IN.enabled = true;
			}
		});
	}

	// Update is called once per frame
	void Update () {
	
	}
}

I have also now checked what is happening with logcat and I get the following:

I/Unity   (31342): Clicked login
I/Unity   (31342):
I/Unity   (31342): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb
ug.cpp Line: 49)
I/Unity   (31342):
I/Unity   (31342): [Play Games Plugin DLL] Making sure PlayGamesHelperObject is
ready.
I/Unity   (31342):
I/Unity   (31342): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb
ug.cpp Line: 49)
I/Unity   (31342):
I/Unity   (31342): [Play Games Plugin DLL] PlayGamesHelperObject created.
I/Unity   (31342):
I/Unity   (31342): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb
ug.cpp Line: 49)
I/Unity   (31342):
I/Unity   (31342): [Play Games Plugin DLL] AUTH: starting auth process, silent=F
alse
I/Unity   (31342):
I/Unity   (31342): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDeb
ug.cpp Line: 49)
I/Unity   (31342):
I/Unity   (31342): NullReferenceException: Object reference not set to an instan
ce of an object
I/Unity   (31342):   at GooglePlayGames.Android.AndroidClient+<Authenticate>c__A
nonStorey8.<>m__1 () [0x00000] in <filename unknown>:0
I/Unity   (31342):   at UnityEngine.AndroidJavaRunnableProxy.run () [0x00000] in
 <filename unknown>:0
I/Unity   (31342):   at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parame
ters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:
0
I/Unity   (31342): Rethrow as TargetInvocationException: UnityEngine.AndroidJava
RunnableProxy.run()
I/Unity   (31342):   at UnityEngine.AndroidJavaProxy.Invoke (System.String metho
dName, System.Object[] args) [0x00000] in <filename unknown>:0
I/Unity   (31342):   at UnityEngine.AndroidJavaProxy.Invoke (System.String metho
dName, UnityEngine.AndroidJavaObject[] javaArgs) [0x00000] in <filename unknown>
:0
I/Unity   (31342):   at UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (Uni
tyEngine.AndroidJavaProxy proxy, IntPtr jmethodName, IntPtr jargs) [0x00000] in
<filename unknown>:0
I/Unity   (31342):
I/Unity   (31342): (File

This one line in particular caught my eye, does anyone know what exactly it’s looking for

I/Unity   (31342): NullReferenceException: Object reference not set to an instan
ce of an object

Any help is appreciated, thank you.

Figured it out, this probably isn’t an issue anymore with newer versions of unity and the plugin… well hopefully not but I am using unity 4.5 (best unity) and it’s all sorted now