I’m not exactly sure when it happened, but I now get this error when running my project saying that my player blueprint is corrupted. I use Github and GitLFS but I am pretty sure it is a problem with GitLFS. I saw a similar post thats solution was to use git lfs fetch and then it should be good. I have recloned my project, deleted files and regenerated them, and used git lfs fetch. None of these have fixed the problem thus far. Wondering if anyone else has gone through this and knows a solution? Otherwise I may just take lfs off the project altogether.
Open uasset with notepad.
Does it look like this ?
version https://git-lfs.github.com/spec/v1
oid sha256:ba192c0b3318e71f2c03e30bd86f45f12a2ae2fce9f8e1f13caa64435860fa60
size 123456
If so, then the file is not a real uasset but a reference to a GitLFS object. GitLFS objects should be automatically downloaded when running git lfs fetch
, and reference files should be automatically replaced by corresponding object when running git lfs checkout
. If it doesn’t work, you should be getting an error message when running either of those two commands.
If the file looks like binary, then it was most likely pushed corrupt into the repository. In that case you have to navigate history and try previous versions until you find one that works.
Hi Chatouille. I did in fact look like that, I am aware that it is a GitLFS object but git lfs fetch and git lfs checkout worked just fine when I tried them. I believe it was something to do with the version control of someone putting in a different LFS pointer so mine corrupted. Either way the team has decided to scrap LFS to dodge this problem. I fixed it by copying the BP_Player from the stable branch into mine. It reverted any changes I made to it but fixed the project in the end.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.