Library\PackageCache\com.google.signin@65c9f132ca\GoogleSignIn\GoogleSignIn.cs(97,38): error CS0117: 'GoogleSignInStatusCode' does not contain a definition for 'DeveloperError'
In this code section
public static GoogleSignIn DefaultInstance {
get {
if (theInstance == null) {
#if UNITY_EDITOR || UNITY_STANDALONE
theInstance = new GoogleSignIn(new GoogleSignInImplEditor(Configuration));
#elif UNITY_ANDROID || UNITY_IOS
theInstance = new GoogleSignIn(new GoogleSignInImpl(Configuration));
#else
theInstance = new GoogleSignIn(null);
throw new SignInException(
GoogleSignInStatusCode.DeveloperError,
"This platform is not supported by GoogleSignIn");
#endif
}
return theInstance;
}
}
But it should be
public static GoogleSignIn DefaultInstance {
get {
if (theInstance == null) {
#if UNITY_EDITOR || UNITY_STANDALONE
theInstance = new GoogleSignIn(new GoogleSignInImplEditor(Configuration));
#elif UNITY_ANDROID || UNITY_IOS
theInstance = new GoogleSignIn(new GoogleSignInImpl(Configuration));
#else
theInstance = new GoogleSignIn(null);
throw new SignInException(
GoogleSignInStatusCode.DEVELOPER_ERROR,
"This platform is not supported by GoogleSignIn");
#endif
}
return theInstance;
}
}
In this code section
But it should be
Enum member