Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Failed to resolve project template: Failed to decompress

Discussion in 'Unity Hub' started by RoughDiamond, Jan 28, 2020.

  1. RoughDiamond

    RoughDiamond

    Joined:
    Dec 14, 2019
    Posts:
    12
    I recently added 2019.3.0f6 to my installs, but today I can't seem to start a new Unity project. I keep getting an error:
    Failed to resolve project template: Failed to decompress [C:\Program Files\Unity\Hub\Editor\2019.3.0f6\Editor\Data\Resources\PackageManager\ProjectTemplates\com.unity.template.2d-3.2.5.tgz].

    I get the same error if I try to open a new project in 2019.2.19f1 (except a slightly different file path).

    What's going on?
     
    charlesw6203 likes this.
  2. RoughDiamond

    RoughDiamond

    Joined:
    Dec 14, 2019
    Posts:
    12
    For those that find this thread later, the problem seems to be file path length. I tried editing the registry to permit long path names AND reinstalled both the Unity Hub and Unity 2019.3, but still got the same error. I removed ~20 characters from the path to the project folder, and it loaded just fine.
     
    CheyenneEphemere likes this.
  3. CheyenneEphemere

    CheyenneEphemere

    Joined:
    Jan 19, 2017
    Posts:
    4
    @RoughDiamond, I had the same issue with 2019.2.17f1, and I have removed all blank spaces characters <x20>, and replace them by underscores _, but the path was still to long (147 characters including project name). So, I tried it with a shorter path for my project, removing blank spaces, and it worked. (eg : c:\Users\Cheyenne\Domuments\MyProject).
    Many thanks to the Unity community and to @RoughDiamond .
    ~Cheyenne
     
    bambamharry likes this.
  4. ComputerNoobGuy

    ComputerNoobGuy

    Joined:
    Sep 5, 2020
    Posts:
    1
    Uh it does not work with 2020 either so the servers may be down of some S***?
     
  5. mcalisir

    mcalisir

    Joined:
    Sep 10, 2020
    Posts:
    3
    may antivirus program causes.
    I had same issue on Win10 and unityHub 2.4.0
    after defining exception or disable/uninstall related antivirus it works.
     
  6. paulchristianmasayon

    paulchristianmasayon

    Joined:
    Jan 27, 2021
    Posts:
    1
    Same situation. Got resolved by choosing a SHORTER name.
     
    BarbecuedSalmon likes this.
  7. Lightfoot408

    Lightfoot408

    Joined:
    Aug 8, 2019
    Posts:
    1
    Uninstalling onedrive did it for me
     
  8. bambamharry

    bambamharry

    Joined:
    Jul 27, 2021
    Posts:
    4
    doesnt need to uninstall nothing just like they said the path shoud be shorter ! THANKS!!
     
  9. kelkhal

    kelkhal

    Joined:
    Jul 21, 2023
    Posts:
    1
    ive tried everything and still nothing works
     
  10. TiggyFairy

    TiggyFairy

    Joined:
    Dec 22, 2019
    Posts:
    418
    I've got this too. I can open previous projects, but can't make any new ones. It's really frustrating as I need a new test project to build a new inventory.