Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Package Manager stucks at "Loading packages ..."

Discussion in 'Package Manager' started by martinamat, May 21, 2020.

  1. martinamat

    martinamat

    Joined:
    Jul 11, 2016
    Posts:
    5
    My package manager works fine when the dependencies only contain local packages, but when I my custom package, which the package manager has to download it from my repo, the package manager gets stuck at "Loading packages..."
    Screen Shot 2020-05-21 at 15.13.12.png

    I added my custom package to the manifest json file like this:

    "com.mycustom.package": "https://bitbucket.org/{my-repo-url}.git#{upm-branch}"

    It worked before, but now I don't know why it stops working.

    I also run Unity Package Manager Diagnostics and I got this log

    Unity Package Manager Diagnostics (v0.1.5)
    ============
    Ran 7 checks
    ============
    4 succeeded
    2 returned a warning
    1 did not run
    ============
    ✅ UPM registry reachable (PASS)
    Make an HTTP request to the UPM package registry
    >> HTTP/1.1 200 OK
    >> X-Powered-By: Express
    >> Provider: Genesis
    >> Date: Thu, 21 May 2020 17:47:49 GMT
    >> Connection: close

    ⚠️ Ping UPM registry (WARNING)
    Measure the latency of the UPM package registry API
    >> 3 pings made in 6.764 seconds
    >> Average latency: 196.23 ms
    >> Minimum latency: 191.50 ms
    >> Maximum latency: 199.17 ms
    >> Standard deviation: 4.13

    ⚠️ Ping UPM download (WARNING)
    Measure the latency of the UPM package download endpoint
    >> 1 ping made in 9.261 seconds
    >> Average latency: 1415.81 ms
    >> Minimum latency: 1415.81 ms
    >> Maximum latency: 1415.81 ms
    >> Standard deviation: 0.00

    ✅ UPM registry download speed (PASS)
    Test the Internet connection using the UPM package registry
    >> Measured speed to the UPM registry: 351.09 Kilobits per second

    ✅ Speedtest.net (PASS)
    Test the Internet connection using Speedtest.net
    >> Measured speed to the Speedtest.net server: 308.70 Kilobits per second

    ✅ HTTP proxy environment variables (PASS)
    Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY)
    >> No proxy support has been configured through environment variables.

    ❓ UPM health check (UNKNOWN)
    Start the UPM process and call its health endpoint
    >> No UPM executable path provided
     

    Attached Files:

  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hi there,

    Apologies for the delay in reply. Could you please provide your Editor.log file and upm.log file (which you can do by Reporting a Bug; those files will be attached), as we can see if there are any other errors being reported that we can't see?

    It may be worthwhile setting up a scoped registry too. More details can be found here: https://docs.unity3d.com/Manual/upm-scoped.html