The summary for the package x is invalid

Hello!

Today I seemed to have corrupted my project I was working on for a few weeks now.
58 very important files like main blueprints but also other random stuff like some sprites or meshes just can’t load anymore, giving an error looking like this:

“The summary for the package ‘/Game/Blueprints/BP_ThirdPersonGameMode’ is invalid. Check that the file is of the expected type and not corrupted.”

I tried to search for fixes on google but only stuff I heard is “use source control”.

The thing is I use source control since day 1 but I somehow feel like I have corrupted the whole project as no version I clone from source control is working anymore. I don’t understand how that is possible and what to do about it. I have spent so much time on this project and it drives me crazy not being able to recover it.

Did I miss anything obvious? How can a project be corrupted backwards if I have only done some local changes to the newest version? Is there any cached stuff (other than DerivedDataCache) I can clear? Anything else I can do?

I just don’t know what to do anymore and will be forever thankful to anyone trying to help me.

EDIT1: So as I continue to research about this topic, I am pretty sure that Git-LFS messed up the files as all files that are corrupted are tracked by Git-LFS.

3 Likes

So today I tried to better understand Git-LFS and managed to manually redownload the files from LFS. This fixed the issue although I still do not understand why it was so ■■■■ complicated to restore LFS files.

The issues was that me discarding changes in Git did replace the files with pointer files and thus made them look “corrupt”.

I guess this is the result of a bad git lfs config.

Can you please share the steps of redownloading the LFS files? I am facing the same problem, after me and my teammates made changes to the same blueprint our branches cannot merge.

If I recall correctly it was just done with “git lfs fetch” although the files need ofcourse to be marked as tracked in lfs.

1 Like

Maybe there is another solution?I have the same problem, but I have no idea what is Git-LFS at all, and I don`t think I have it installed on my computer

1 Like

Saved my life, thanks for the info!