Random Errors in Unity

Hey guys

My game has been building fine for weeks , today when I booted it up , I kept getting this error.

NullReferenceException: Object reference not set to an instance of an object
GooglePlayServices.PlayServicesResolver.AutoResolve ()
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:197)

1 Like

Anyone? I’m still getting this error.

Obviously an object associated with Google Play Services is not assigned.

Everything in my scene is assigned. Once again , my project was working perfectly fine before. This is some kind of internal error with Unity.

I don’t think it’s your project… looks like the error is being thrown by an editor extension… whatever extension it is that’s using Google Play Services.

1 Like

Huh. I figured it wasn’t something I did. Is there anyway to fix it? Other than deleting Google Play?

I’m just guessing. Try deleting Google Play and re-importing it. Maybe something just got unlinked / corrupted within the asset.

1 Like

I re-imported , and the error dissapeared for a while but eventually came back. I think I may just end up releasing this game , ad-free. (or Unity ads)

1 Like

There’s probably something wrong with the asset.

1 Like

Yeah , Admob + Google Ads is notoriously bad when it comes to Unity integration , it’s such a pain. I appreciate the help though!

1 Like

i also have this problem. How can i solve this.
plz help me for this problem