Resolve duplicate sound assets
Due to bad handling of cross platform git repository, our project features duplicate sound assets. I would like to merge two folders (let's say folder A has 1.wav while B contains 2.wav AND a duplicate 1.wav. A/1.wav is used in some old prefabs while B/1.wav is used in other more recent prefabs). If I do move A's content into B, I'm afraid I will lose whatever link there might be between the prefabs and the sounds whose meta files will be overwritten…
I'm afraid I will need to find all references to A's content before I can merge content (solution A). The only glimpse of hope I have is that unity has a failsafe mechanism that if a .meta file is recreated it will recognize the file from based on its full path. In which case all I have to do is move whatever asset from folder A to folder B along with their meta files (solution B). This way prefabs linked with A's content would keep their association thanks to the meta files and prefabs linked with B's content would keep their association thanks to the unchanged file path.
Can solution B work out ? If I need to perform solution A, is there a functionality or package that can make that task less tedious and error prone?
Your answer