GitHub downloads my files incorrectly #69127
Replies: 3 comments
-
Thanks for posting in the GitHub Community, @LordaxPL ! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Projects and Issues category is solely related to conversations around the GitHub products Issues and Projects. I've gone ahead and moved it for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
It still doesn’t fix my problem, but I’ve found a way around it. If anyone is having the same issue, it is indeed the download process which messes up the files, therefore avoid downloading the zip. What I did was to remove the entire project from my computer (moving it to the Recycle Bin or to any location which is different from the initial location is enough, no need to get rid of it entirely), then I opened GitHub Desktop, it threw an error saying that it can’t find the repository on my computer, then three buttons showed up, one reading “Clone repository”, one more reading “Remove” and another one for finding the new location of the repository. Go for the first one. Now GitHub Desktop will try to download the project for you and it will place it in the original location (the location where you moved your original copy from). The whole process is quite long, but it’s worth it, this way all the files are downloaded correctly, there are no errors nor missing files, Unreal doesn’t say my .umap is an asset anymore! |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Feature Area
Issues
Body
I’m pretty new to version control systems and I’ve been using GitHub for 3 months with the help of GitHub Desktop. Everything was working fine until now, I can’t figure out how to download my project.
While I was using GitHub, I didn’t need to download anything, I would just revert or discard changes, without any need to download the files. Recently I wanted to download my project and check if everything was working fine, but after I download it as a .zip file and unpack it, Unreal rebuilds some missing modules, it opens up correctly, but I get a few errors saying “Failed to find ”. Also the engine fails to find the .umap file of the main map I’ve been using, the error reads “Failed to load map! appears to be an asset file”.
I tried to fix it myself and I found out the files save correctly to GitHub, I compared every single file that was giving an error to what was saved on GitHub, I even compared the size of the individual files and everything matched (I compared files which were in my original project which I did not download, this copy was on my disk from the very beginning and it works fine). I also checked the size of the files I downloaded, it turned out that all the files that cause the error are just 1 KB…
I have LFS installed and in .gitattributes there's the following line: "Content/** filter=lfs diff=lfs merge=lfs -text". What am I missing?...
I've looked for people having similar problems but the only posts I've found were not solved
Here are some files that I've compared:
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions