Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X



Found in





Issue ID




Package Manager fails to download LFS files from Git repository when the Git URL contains a path and a branch query



How to reproduce:
1. Make sure that Git and Git LFS are installed
2. Open the attached "1307682 repro" project
3. Open the Packages > lfs_test > Editor folder

Expected result: the "NewImage2.png" Asset is downloaded
Actual result: the "NewImage2.png" Asset isn't downloaded and it only contains the metadata about the file

Reproducible with: 2019.4.18f1, 2020.2.1f1, 2021.1.0b2, 2021.2.0a1
Could not test with: 2018.4.30f1 (the Package Manager fails to resolve any git URLs with a path query parameter)

-The package contains two .png Assets: "NewImage.png" and "NewImage2.png". The first image is downloaded successfully and it is from the Master branch of the package. The second image is never downloaded and it is specific to the "TestBranch" branch.
-Changing the Git URL ending from
"" to
"" solves the issue and both LFS files are downloaded successfully

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a7

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.2f1

  3. Response avatar

    Resolution Note (fix version 2020.3):

    Fixed in 2020.3.2f1

  4. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in 2019.4.24f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.