Hi all! We are trying to use the new Analytics but the Package Manager only seem to show the old ones? I’ve seen screenshots of other users and even the documentation itself says it’s only named “Analytics”, is there a reason why it’s only showing “Analytics Library” instead?
I have noticed that it seems to depend on the Unity version, which are you using? I’ll do some checking here too
I’m using Unity 2021.3.0f1
Had the same with 2021.3.0f1, I had to manually add the package by name (+ sign in the top left corner) and add com.unity.services.analytics
Same problem but using Unity 2022.1.0f1. The “Analytics” package actually shows up as “Legacy Analytics” super confusing.
But manually adding the package by name helps to find the correct Analytics package. Thanks for that!
Yes, this can happen for those versions of Unity that have not received a specific Package Manager backport. I believe this issue was mentioned in the release notes. The work-arounds mentioned in this thread should work in the meantime, apologies on the inconvenience.
@JeffDUnity3D Can you please explain the work-around in detail. You say it’s mentioned in this thread, but I do not see it.
I’m not sure which versions of Unity support the new Game Services Analytics. The FAQ says that version 2019.4 is the minimum. But I think that some versions higher than 2019.4 are also incompatible. In my project, I am currently using Unity 2021.1.24f1, and when I added the Analytics package manually through adding com.unity.services.analytics, I was not able to compile my code with the headers referenced in the analytics documentation (Unity SDK tutorials), which are Unity.Services.Core and Unity.Services.Analytics.
The best place I could find for information about compatibility is the Unity documentation page for the new analytics package. Version 2021.1.24f1 unfortunately falls outside of the box of supported versions for this package. In order to successfully migrate to the new Unity Game Services Analytics, is it necessary for me to upgrade my project to one of those supported versions in the box above, or is there a way for me to use the service with my current version, possibly with the Analytics Library package (com.unity.analytics) available in that version?
@ChartObserver
Maybe I’m a bit late but if it can help anyone else, the solution is :
- Click the “+” sign button in the top left corner of the Package Manager window
- Click “Add Package by name…”
- Paste this: com.unity.services.analytics
- Wait a bit and it should work
It worked for me
I’m using 2021.1.24f1. I did the + button and typed in “com.unity.services.analytics”, but “Analytics” did not appear. When I did that for 2022.2.14, it did show up. According to the documentation (https://docs.unity3d.com/Manual/com.unity.services.analytics.html), no version of 2020, 2021.1, or 2021.2 supports “Analytics”.