r/GameAudio • u/Top-Number7609 • 8d ago
Git merge issues when working with FMOD and Unreal Engine
Hi everyone!
We're a team of sound designers working on a game using Unreal Engine, FMOD, and Git (Fork).
We've been running into the same issue frequently. Whenever someone makes changes to the project and pushes them, other team members get this error when trying to pull "Your local changes to the following files would be overwritten by merge. Please commit your changes or stash them before you merge."
It usually happens with .wav files inside our FMOD/Assets folder.
I'm wondering if we're doing something wrong with our Git workflow or if there's a better way to manage FMOD projects when multiple sound designers are working on them. We've worked with Unity and FMOD before without running into these issues :(
Any advice would be really appreciated! Thanks!

1
u/FlamboyantPirhanna 8d ago
Are those files being changed? If you overwrite them, are they incorrect versions? I haven’t dealt with this for audio files, but often when I push, I notice some other files that I didn’t touch get pushed along with everything else. Which I was told is just how it works sometimes.
1
u/niceguy321 7d ago
For your Git, do you have a locking system, for example Git LFS.
I think what is happening is that someone pushes their changes which includes a binary file such as an audio file, let's say Audio_A.wav, and when the other team members pull that change into their local machine and also happens to have modified Audio_A.wav modified, Git is then saying, "Hey, you're pulling in changes for Audio_A.wav, but your local Audio_A.wav was also modified by you and will be overwritten by the incoming merge. How do you want to handle this situation (commit or stash)?"
A locking system would encourage to "lock" the file, meaning you're announcing to your other team members, "I'm locking this file because I intend to change it. No one else touch it please," and let them know to avoid modifying until you commit it and unlock the file. Then, your other team members would pull in your changes and then the other person can lock the file and change it.
There are some tutorials online with setting up Git LFS and using file locks to prevent multiple team members modifying the same files. I think this blog I found gives you a good general idea of Git LFS & file locking, but do look around and read up on it.
1
u/Nagisa_Huckrick 4d ago
It seems to be a merge conflict or something similar. The best solution is to differentiate between different work units, with each person responsible for their respective tasks. In Wwise, different work units are set up to avoid merge conflicts. Fmod should have a similar function.