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:
    573
    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:
    573
    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:
    133
    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:
    133
    In my case it was solved by turning off Windows Firewall.
     
    literakl likes this.
  13. literakl

    literakl

    Joined:
    Mar 18, 2018
    Posts:
    1
    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:
    573
    Thanks for sharing!

    Pascal