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

Question Failed to resolve packages. Failed to add editor bundled package

Discussion in 'Package Manager' started by sevique, Jan 16, 2021.

  1. sevique

    sevique

    Joined:
    Jan 16, 2021
    Posts:
    2
    Hello. I've had this prolem for almost a month now and I don't know what to do. Every time I try to open any project I get this message:

    Безымянный.png

    If I click 'continue' I just get an empty unity window:

    Безымянный.png

    I tried reinstalling, changing some parameters in firewall and using another account, it didn't help.
    Please help if you know how to solve this problem, thank you.

    Unity version: 2019.4.18f1
     
  2. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    545
    Hi @sevique,

    It seems like the Unity Package Manager is unable to create a directory to store downloaded and extracted packages. You could try checking the permissions on the
    ...AppData\Local\Unity
    folder to make sure the current user account owns it and has Create/Write permissions.

    As for why the Editor is showing a big empty screen, it looks like your window layout is set to have a single large Inspector window, which is empty because no object is selected. You can try resetting the window layout using Window > Layouts > Default. That said, if the Package Manager was unable to load packages, you may find that will block you from using the Editor, so you will likely need to solve that issue first.

    If you are still stuck despite the steps above, I suggest you Report a Bug so you can get help more efficiently.
     
  3. sevique

    sevique

    Joined:
    Jan 16, 2021
    Posts:
    2

    THANK YOU! It works now, thank you! You're a lifesaver.
     
  4. HamDev3

    HamDev3

    Joined:
    Dec 17, 2020
    Posts:
    1
    How do I change the permissions? Im new.
     
    Lopheno likes this.
  5. nashineworks

    nashineworks

    Joined:
    May 2, 2022
    Posts:
    1

    can you walk us through this? I'm not sure I follow. ;/
     
  6. christiandaly92

    christiandaly92

    Joined:
    Apr 5, 2017
    Posts:
    1
    Could you please run us through this process?
    I cant quite figure it out and would appreciate some direction.
    thanks
     
  7. BossPROPHET

    BossPROPHET

    Joined:
    Aug 3, 2022
    Posts:
    1
    1. Right click the folder and go to properties


    2. Click the security tab


    3. Click whatever account you want to give permissions to


    4. Click edit and change the permissions you want


    5. Click apply and you're pretty much done.
     
  8. InertSongs

    InertSongs

    Joined:
    Nov 21, 2021
    Posts:
    4
    This didn't work for me. Are there any other workarounds?
     
    Red_Enforcer and Masteralan like this.
  9. Red_Enforcer

    Red_Enforcer

    Joined:
    Sep 1, 2022
    Posts:
    1
    So I've done all the following steps, I've checked every folder's permission and they all seem good to me. However I still get the error message, is there anything else I'm not putting in factor?
     
  10. maximeb_unity

    maximeb_unity

    Unity Technologies

    Joined:
    Mar 20, 2018
    Posts:
    545
    Hi @InertSongs and @Red_Enforcer,

    Without specifics about the error messages you are getting, if there are single quotes (apostrophes) in your OS account user name or in your project path (including its name), then you can run into a similar problem where the Package Manager would fail to resolve packages with error messages like
    ENOENT mkdir <path-to-.tmp-folder-without-quotes>
    .

    It's a bug that recently slipped by unnoticed in a few releases. The fix is currently being integrated in all release branches affected. Until the fix is released with a new version of Unity that you upgrade to, the simplest workaround is to revert to a version prior to when the issue was introduced, if this is possible for you. You can find the versions where the regression was introduced (to find the last version of the Editor you can downgrade to safely) and track the status of the fix for this issue here: https://issuetracker.unity3d.com/issues/package-manager-enoent-no-such-file-or-directory-mkdir
     
  11. VeloFX

    VeloFX

    Joined:
    Oct 9, 2022
    Posts:
    1
    @Red_Enforcer @InertSongs I had the same problem. My \AppData\Local\Unity folder was from an older version so I deinstalled Unity and deleted the Unity folder. Then I reinstalled unity and now it works.
     
  12. TakaCreatingGame

    TakaCreatingGame

    Joined:
    Dec 4, 2022
    Posts:
    1
    Thanks for help.I found that I have not create Unity folder.