Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Analytics Package not showing up in Package Manager

Discussion in 'Unity Analytics' started by BlakCake, Jul 28, 2022.

  1. BlakCake

    BlakCake

    Joined:
    Nov 25, 2017
    Posts:
    3
    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?

    Unity_2022-07-28_416.png
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I have noticed that it seems to depend on the Unity version, which are you using? I'll do some checking here too
     
  3. BlakCake

    BlakCake

    Joined:
    Nov 25, 2017
    Posts:
    3
    I'm using Unity 2021.3.0f1
     
  4. JoeySpringlab

    JoeySpringlab

    Joined:
    May 5, 2021
    Posts:
    25
    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
     
    wethings and JeffDUnity3D like this.
  5. wethings

    wethings

    Joined:
    Aug 26, 2018
    Posts:
    28
    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!
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    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.
     
    wethings likes this.
  7. ChartObserver

    ChartObserver

    Joined:
    Dec 24, 2020
    Posts:
    7
    @JeffDUnity3D Can you please explain the work-around in detail. You say it's mentioned in this thread, but I do not see it.
     
  8. JHSV

    JHSV

    Joined:
    Jul 11, 2013
    Posts:
    25
    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 (https://docs.unity.com/analytics/AnalyticsSDK.html), 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?
     

    Attached Files:

  9. TheSheyper

    TheSheyper

    Joined:
    Jul 3, 2013
    Posts:
    21
    @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 :)
     
  10. JHSV

    JHSV

    Joined:
    Jul 11, 2013
    Posts:
    25
    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".
     
    Last edited: Apr 13, 2023