Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

package manager hangs and does not load packages

Discussion in 'Package Manager' started by alexrau, Jan 5, 2019.

  1. alexrau

    alexrau

    Joined:
    Mar 1, 2015
    Posts:
    48
    On 2018.3f02 when I attempt to bring up the package manager it hangs and does not present any options either installed in my project or available to add. Any suggestions on workround to get the Lightweight render pipeline?
     
  2. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    163
    Hello @alexrau,

    That's not at all a good behaviour, please accept my apologies for that poor experience.

    Just to make sure that I understand correctly what the problem might be, would you kindly answer a few questions?
    • You are able to start Unity.
    • When you click on the "Window" tab and select "Package Manager" what happens exactly?
      • What freezes? Unity? Package Manager? What do you see?
      • What are the logs saying? Can you attach them?
    • Is this a new project or an existing one?
    • If it is a new project, does clicking "Reset Packages to defaults" (under the Help tab) work?
    As for this part, you can try adding the following directly to the project manifest:
    • "com.unity.render-pipeline.lightweight":"3.0.0-preview". This is JSON so don't forget a comma before and after if there are preceding or following items in that list. It should look vaguely like this:
    Code (JavaScript):
    1. {
    2. "dependencies": {
    3. "com.unity.ads": "2.0.8",
    4. "com.unity.analytics": "2.0.16",
    5. "com.unity.package-manager-ui": "1.9.11",
    6. "com.unity.purchasing": "2.0.3",
    7. "com.unity.render-pipelines.lightweight": "3.0.0-preview",
    8. "com.unity.textmeshpro": "1.2.4",
    9. "com.unity.modules.ai": "1.0.0",
    10. "com.unity.modules.animation": "1.0.0",
    11. "com.unity.modules.assetbundle": "1.0.0",
    12. "com.unity.modules.audio": "1.0.0",
    13. "com.unity.modules.cloth": "1.0.0",
    14. "com.unity.modules.director": "1.0.0",
    15. "com.unity.modules.imageconversion": "1.0.0",
    16. "com.unity.modules.imgui": "1.0.0",
    17. "com.unity.modules.jsonserialize": "1.0.0",
    18. "com.unity.modules.particlesystem": "1.0.0",
    19. "com.unity.modules.physics": "1.0.0",
    20. "com.unity.modules.physics2d": "1.0.0",
    21. "com.unity.modules.screencapture": "1.0.0",
    22. "com.unity.modules.terrain": "1.0.0",
    23. "com.unity.modules.terrainphysics": "1.0.0",
    24. "com.unity.modules.tilemap": "1.0.0",
    25. "com.unity.modules.ui": "1.0.0",
    26. "com.unity.modules.uielements": "1.0.0",
    27. "com.unity.modules.umbra": "1.0.0",
    28. "com.unity.modules.unityanalytics": "1.0.0",
    29. "com.unity.modules.unitywebrequest": "1.0.0",
    30. "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    31. "com.unity.modules.unitywebrequestaudio": "1.0.0",
    32. "com.unity.modules.unitywebrequesttexture": "1.0.0",
    33. "com.unity.modules.unitywebrequestwww": "1.0.0",
    34. "com.unity.modules.vehicles": "1.0.0",
    35. "com.unity.modules.video": "1.0.0",
    36. "com.unity.modules.vr": "1.0.0",
    37. "com.unity.modules.wind": "1.0.0",
    38. "com.unity.modules.xr": "1.0.0"
    39. }
    40. }
    Thanks for your time, let me know if you have questions.

    Cheers,
    Pedro
    Unity STE
     
  3. alexrau

    alexrau

    Joined:
    Mar 1, 2015
    Posts:
    48
    I rebuilt the project from scratch so I no long have the project where I was having this.
    Really the issue was that the package manager would not load and since I needed to add the lightweight render pipeline package it was a non-starter. Good to know how to directly edit if I need it again.
     
  4. jake46116

    jake46116

    Joined:
    Jun 27, 2018
    Posts:
    4
    hi i have a similar problem with unity 2018 .2 my project loads up perfectly and when i access Package Manager doesnt load any other packages, their is a circle bar rotating says Loading Packages, then an error shows up "connect to local server"
     
  5. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    144
    Hi @jake46116,

    Just to be sure I understand clearly, you can open your project successfully and you're able to use packages, but when you open the Package Manager window, you see the circle bar rotating and eventually see the 'cannot connect to local server' error? Or do you get that error when opening Unity, while loading the project?

    What specific version of Unity are you using? (The full version number, e.g. 2018.2.21f1)
     
    jake46116 likes this.
  6. jake46116

    jake46116

    Joined:
    Jun 27, 2018
    Posts:
    4
    i open a project successfully and when i go to the package tab the circle bar says "can not connect to local server "
    i am using the version 2018.2.0f2
     
  7. ShiroMont

    ShiroMont

    Joined:
    Nov 14, 2017
    Posts:
    1
    I may have find a "solution" for this particular or similar issue like this. Before attempting to access package manager, make sure you have properly exited play mode.

    If you happen to be still in play mode, it will just simply not load and you can look at the empty package manager window.
    On a side note: It might be a nice feature to have package manager disabled if the play mode is activated or at least to have a warning about it.