Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2019.4
2020.1
2020.2
Issue ID
1256330
Regression
No
Package Manager fails to download LFS files from Git repository when the Git URL contains a path extension
How to reproduce:
1. Make sure that Git and Git LFS are installed
2. Open the attached "1256330 repro" project
3. Open the Packages > lfs_test > Editor folder
Expected result: the "NewImage.png" Asset is downloaded
Actual result: the "NewImage.png" Asset isn't downloaded and it only contains the metadata about the file
Reproducible with: 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Could not test with: 2018.4.24f1 (no support for Git URLs)
Notes:
-Changing the Git URL ending from "My_LFS_Package2.git?path=/Case2" to "My_LFS_Package.git" solves the issue and the LFS files are downloaded successfully
-
thefallengamesstudio
Feb 13, 2023 21:45
"LITTEBUGHUNTER"
Thanks! You saved the day, sir!Confirmed on 2021.3.18f1
Hope this gets fixed soon
-
litteBugHunter
Jan 20, 2023 15:26
I encountered this issue today in Version 2021.3.16f1.
I fixed it by putting my .gitattributes file next to the package.json file. Apparently the package manager only pulls from lfs if the .gitattributes file is present -
guneyozsan
Nov 08, 2022 09:50
Still observed in 2021.3.7f1
-
yakandco
Aug 27, 2021 06:29
Yup I just hit this issue in 2020.3.14, hadn't tried 2020.3.16 yet ^ but saw that comment above, saves me from bothering to try.
-
unity_xquSE-bFhAdmCg
Aug 25, 2021 09:56
Not fixed in 2020.3.16f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual Studio debugger doesn't show full properties of animation variables on Android and IOS Platforms when using IL2CPP Scripting Backend
- [Linux][Plastic SCM] "Access Denied" error when downloading Plastic SCM Cloud Edition through the Editor
- UpdateRendererBonudingVolumes process takes more time when disabled Renderers are used
- "ArgumentNullException: Value cannot be null" error is thrown when selecting a Visual Element with a custom Render Texture set as a background
- Changes are not saved when changing Styles' orders in the UI Builder
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b8
Resolution Note (fix version 2020.1):
Fixed in 2020.1.10f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.13f1