Can you please share your Creator's workspace of projects here
All paths in project dependencies are relative to the project workspace folder.
When renaming, copying, or changing project path, only those dependencies stay, which relative path structure didn't change.
Sorry, I can't do that.
The paths of my files don't change when I'm switching branches, it's only the code, and sometimes the .cysch and .cydwr.
I lose dependencies even when the only difference between two branches is the active project in the workspace.
I've also just found out that this only happens when I'm switching branches when PSoC Creator is open. If I close Creator, switch branch, and reopen Creator, the project dependencies are fine.
The workaround for this issue is to close and re-open workspace or PSoC Creator. Re-opening the workspace is a faster means of accomplishing this. We will fix this issue in later release.