what does "No Cloud ProjectID Found for Analytics" error mean?

I have this error in my project and I don’t know what it means or how to remove it.
when i double click on it they send me to AnalyticsServiceInstance.cs on those lines of code:

if (string.IsNullOrEmpty(Application.cloudProjectId)){
                Debug.LogError("No Cloud ProjectID Found for Analytics");
                return;
}

what does this error means and how to fix it?

From the Package Manager, I had to remove:

  • Analytics
  • Advertising
  • In-App Purchases

(Names may be a bit incorrect, but those are the general topics of the packages.)

@anthonygh2002 I found the answer and I got rid of the error. I’m a newbie so I don’t really know if this fixes everything.

but after following these and linking my project to an ID I got rid of the error. I hope I helped.

https://docs.unity3d.com/Manual/SettingUpProjectServices.html,I found the answer and I got rid of the error. I’m a newbie so I don’t really know if this fixes everything.

but after following these and linking my project to an ID I got rid of the error. I hope I helped.

I had the same issue. I solved it like this: opened the Package Manager, found in the list of installed packages the “Analytics Library” and removed it.

  1. Edit => Project Settings => Services => Create Project Id
  2. Profit!

creating project ID didn’t do it for me,

doing this, did. Thanks @ExNinja

From the Package Manager, I had to remove:

* Analytics
* Advertising
* In-App Purchases

Happening to my project also after upgrading to latest Unity. You manage to figure out what this is yet?

Have you found a solution for this, I have exactly the same.
MyCCPay Login

,Yes same I am following a tutorial then suddenly that error shows up

For me it was problem with passing wrong argument when calling UnityServices.InitializeAsync method.

My previous code was something like:

UnityServices.InitializeAsync(new InitializationOptions()); 

Corrected it to:

UnityServices.InitializeAsync(); 

This uses default “production” environment. For more information see: https://docs.unity.com/ugs-overview/ServiceEnvironments.html#Accessing_environments_within_Unity_projects

I fixed it by reseting packages to defaults from the package manager from the setting icon