Search Unity

Failed to start Unity PackageManager

Discussion in 'Package Manager' started by CoolMan1999, Jul 23, 2018.

  1. CoolMan1999

    CoolMan1999

    Joined:
    Jul 13, 2017
    Posts:
    1
    Apologies if this is the wrong place to post this problem.

    I get the error "Failed to start Unity PackageManager: operation timed out" with the (latest?) build of unity 2018.2.0f2 when opening or starting a new project. Antivirus is turned off, firewall turned off, host file has the entry
    127.0.0.1 localhost
    and I tried using
    setx UNITY_NOPROXY localhost,127.0.0.1

    Log file says:
    [Package Manager] Server::Kill -- Server was shutdown
    and
    [Package Manager] Cannot connect to Unity Package Manager local server

    Can someone please help me with this? Unity was working fine before I installed the latest build
     
  2. _karl

    _karl

    Joined:
    Feb 6, 2017
    Posts:
    13
    Unity starts a local npm server, can you check if it is running?
    On Windows it's the upm-win.exe.
     
  3. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    630
    Hi @CoolMan1999,

    Could you share the content of
    upm.log
    log file?

    Regards,

    Pascal
     
  4. Skyfly

    Skyfly

    Joined:
    Jan 25, 2014
    Posts:
    101
    I get an
    {"level":"error","message":"[Unity Package Manager (Upm)]\nParent process [14420] was terminated","timestamp":"2018-08-29T14:26:10.384Z"}
    having the same problem as the guy above.
     
  5. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    630
    HI @Skyfly ,

    This error message is usually thrown by the Package Manager when the parent process (Unity editor) has crashed. Which version of Unity are you using? This log was formatted like this for a few releases in the 2017.x range.

    Regards,

    Pascal
     
  6. Skyfly

    Skyfly

    Joined:
    Jan 25, 2014
    Posts:
    101
    LTS 2017.4.10f1
    I already added upm-win.exe, node.exe and unity.exe to the Norton whitelist.
    Win10
     
  7. Skyfly

    Skyfly

    Joined:
    Jan 25, 2014
    Posts:
    101
    (but it still doesn't work, the error came up with all these things whitelisted)
     
  8. Skyfly

    Skyfly

    Joined:
    Jan 25, 2014
    Posts:
    101
    tried with 2018.2.6f1 and package manager is still not able to start the server. Please, any help? I need to have unity up and running. Right now not a single unity version works. I suspect something blocking net traffic, but I don't know how to find it. I run norton and win10 with latest updates on everything,
     
    d1-favero likes this.
  9. BraindeadGamesLLC

    BraindeadGamesLLC

    Joined:
    Mar 26, 2017
    Posts:
    14
    I have the same issue since toda. My package manager does not wonts to load. Followed all tutorials and it does not work.

    Running on a Windows 10 pc, no recent updates but all my Unity Editors starting at 5.6 are broken.
     
    d1-favero likes this.
  10. GenOli

    GenOli

    Joined:
    Apr 21, 2013
    Posts:
    138
    Windows 10 update and restarted PC and now got this, damn.
     
  11. Skyfly

    Skyfly

    Joined:
    Jan 25, 2014
    Posts:
    101
    Please support, don't write it off as 'has nothing to do with unity'
     
    d1-favero likes this.
  12. GenOli

    GenOli

    Joined:
    Apr 21, 2013
    Posts:
    138
    In my case it was solved by turning off Windows Firewall.
     
    literakl likes this.
  13. literakl

    literakl

    Joined:
    Mar 18, 2018
    Posts:
    7
    My case was Avast firewall blocking the server

    [Package Manager] Cannot connect to Unity Package Manager local server
    [Package Manager] Server::EnsureServerProcessIsRunning -- ReadyRequest exceeded maximum alloted time, ran for [10] seconds
     
  14. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    630
    Thanks for sharing!

    Pascal
     
  15. Gandarufu

    Gandarufu

    Joined:
    Nov 10, 2014
    Posts:
    9
    [2019-12-01T12:27:03.677Z][INFO] Starting Server
    [2019-12-01T12:27:03.682Z][INFO] Server started on port [53704]
    [2019-12-01T12:27:03.959Z][INFO] Health Request received
    [2019-12-01T12:27:14.749Z][ERROR] [Unity Package Manager (Upm)]
    Parent process [15256] was terminated


    I'm starting to become very upset with this, since I'm having the same issues with 2019.3.0b11. One project works fine, the other one won't open until I open it in 2019.2 and then reopen it with 2019.3.

    Does anybody know a fix for this? Why is Unity having problems with one project while another works perfectly fine?
     
  16. CoreyHUN

    CoreyHUN

    Joined:
    Dec 11, 2014
    Posts:
    5
    Same for me, makes me angry
     
  17. V_endeta

    V_endeta

    Joined:
    Mar 31, 2017
    Posts:
    27
    I have the same issue since today.
    Unity 2019.3.0f1 && Unity 2019.2.17f1
    Windiws 10 64bit
    Firewall: off && Defender: off
    No antivirus

    Code (CSharp):
    1. [2020-01-09T20:19:44.447Z][INFO] Opened report file 'C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_Thu_01_09_2020_211943_70.txt'
    2. [2020-01-09T20:19:44.448Z][INFO] Starting diagnostics
    3. [2020-01-09T20:19:44.450Z][INFO][UpmRegistryReachable] Sending HEAD request to https://packages.unity.com
    4. [2020-01-09T20:19:45.026Z][INFO][PingUpmRegistry] Starting ping test on 'http://packages.unity.com/com.unity.package-manager.metadata'
    5. [2020-01-09T20:19:50.570Z][INFO][PingUpmDownload] Starting ping test on 'http://download.packages.unity.com/com.unity.package-manager.metadata/-/com.unity.package-manager.metadata-0.0.1.tgz'
    6. [2020-01-09T20:19:57.320Z][INFO][UpmRegistryDownloadSpeed] Starting speed test with UPM registry
    7. [2020-01-09T20:20:08.327Z][INFO][UpmRegistryDownloadSpeed] Download: 31.78 Megabits per second
    8. [2020-01-09T20:20:08.329Z][INFO][Speedtest.Net] Starting speed test with Speedtest.net
    9. [2020-01-09T20:20:20.287Z][INFO][Speedtest.Net] Download: 57.39 Megabits per second
    10. [2020-01-09T20:20:20.287Z][INFO][Speedtest.Net] Upload: 8.26 Megabits per second
    11. [2020-01-09T20:20:20.289Z][INFO] Finished diagnostics
    12. [2020-01-09T20:20:20.297Z][INFO] Created report at 'C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_Thu_01_09_2020_211943_70.txt'
    13.  
     
  18. V_endeta

    V_endeta

    Joined:
    Mar 31, 2017
    Posts:
    27
    After 2 days of trying to start unity I still failed.
    I tried all the ways firewall, windows defender, disabled antivirus, changed unity version, restarted pc, reinstalled unity and hub ...).
    This is incredibly stupid that the user has to do all this in order to use unity, and may not be able to work after all that.
    I do not understand why it happened when everything worked fine until 3 days ago.
    I have reported this bug several times but have not received an answer.
    Is it possible that the unity team doesn't care about this?

    Code (CSharp):
    1. 6 out of 6 checks passed:
    2. [
    3.   {
    4.     "name": "UPM registry reachable",
    5.     "description": "Make an HTTP request to the UPM package registry",
    6.     "result": "PASS",
    7.     "detail": "HTTP/1.1 200 OK\nX-Powered-By: Express\nProvider: Genesis\nDate: Sat, 11 Jan 2020 12:22:45 GMT\nConnection: close"
    8.   },
    9.   {
    10.     "name": "Ping UPM registry",
    11.     "description": "Measure the latency of the UPM package registry API",
    12.     "result": "PASS",
    13.     "detail": "7 pings made in 5.395 seconds\nAverage latency: 133.12 ms\nMinimum latency: 132.06 ms\nMaximum latency: 135.06 ms\nStandard deviation: 1.36"
    14.   },
    15.   {
    16.     "name": "Ping UPM download",
    17.     "description": "Measure the latency of the UPM package download endpoint",
    18.     "result": "PASS",
    19.     "detail": "6 pings made in 5.228 seconds\nAverage latency: 30.39 ms\nMinimum latency: 29.77 ms\nMaximum latency: 31.08 ms\nStandard deviation: 0.66"
    20.   },
    21.   {
    22.     "name": "UPM registry download speed",
    23.     "description": "Test the Internet connection using the UPM package registry",
    24.     "result": "PASS",
    25.     "detail": "Measured speed to the UPM registry: 49.46 Megabits per second"
    26.   },
    27.   {
    28.     "name": "Speedtest.net",
    29.     "description": "Test the Internet connection using Speedtest.net",
    30.     "result": "PASS",
    31.     "detail": "Measured speed to the Speedtest.net server: 58.59 Megabits per second"
    32.   },
    33.   {
    34.     "name": "HTTP proxy environment variables",
    35.     "description": "Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY)",
    36.     "result": "PASS",
    37.     "detail": "Proxy support has been configured through the following environment variables:\nUNITY_NOPROXY = localhost,127.0.0.1"
    38.   }
    39. ]
     
  19. V_endeta

    V_endeta

    Joined:
    Mar 31, 2017
    Posts:
    27
    I managed to find a solution to this problem (In my case).
    Basically log out from the unity hub and restart it.
    after that unity will work as normal as before.
     
  20. soumyaandpintu

    soumyaandpintu

    Joined:
    Jul 8, 2018
    Posts:
    3
    Same for me
     
  21. soumyaandpintu

    soumyaandpintu

    Joined:
    Jul 8, 2018
    Posts:
    3


    Are you able to solve the problem?
     
  22. soumyaandpintu

    soumyaandpintu

    Joined:
    Jul 8, 2018
    Posts:
    3

    Are you able to solve the problem @Gandarufu
     
unityunity