Bug? Do not stop the project from loading when the META file contains a file that is now missing.

JakeBullet70

Well-Known Member
Licensed User
Longtime User
When using GIT we do not push the META file to the repository as it personal to the programmer.

So when switching branches you might have a branch that does not contain a previous displayed file or other information that is no longer valid.
This will cause the: 'Key was not present in the dictionary' error and the project looks corrupt and fails to load.

Deleting the META file fixes this and the project now loads fine.

So...
Can we just not error out if the META file is invalid and continue to load the project?
Or...
Open to other ideas




1707297644216.png
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
but if have gitignore... at .meta - why upoading this file ?

Its not uploading the file.
So when you do a pull from GIT on another branch the META file that is left on your machine is from the previous branch and really is invalid.
 

Magma

Expert
Licensed User
Longtime User
Its not uploading the file.
So when you do a pull from GIT on another branch the META file that is left on your machine is from the previous branch and really is invalid.
I see... then we may be need a batch there (to delete the Meta everytime?) :
' ide://run
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
If there are no file changes (adding new files / deleteing new files) you are probibly OK and see no error.
A batch file is not a bad idea.
That is why I asked above for ideas! :)

But I wonder how VS and VSC and other IDE's handle this issue?
 
Top