Since updating to FMOD Studio 2.03.07, I have noticed some unexpected behaviour with bank building.
After making some edits to the project and saving, I rebuilt the banks for Desktop. As expected, Perforce indicated that several banks had been updated.
I had reason to revert the banks and come back to it later. So later I loaded up the project and built the banks again. It was suspiciously quick, just some brief messages saying “checking dependencies for…” and then done. When I checked Perforce it indicated that no banks had changed at all.
I tried deleting the .cache folder and building the banks again. This time the banks updated the same as the first time I built them. Reverting the banks and building again… nothing.
I did not see this issue with FMOD 2.02.07. Has something changed with the dependency checking? It seems like it is not accounting for bank files being reverted or changed outside of FMOD.
We have set a custom built banks output directory, in case that is relevant.
I ran into this issue yesterday when using F7 to build banks. The workaround I could find is going to the Banks tab in the Event Editor, select Banks I want to build, and then right-click on them and select Build.
Only building banks that contain modified events was added as a feature in 2.02.13; some interaction between this and Perforce may explain the behavior you’re observing. Unfortunately, I haven’t been able to reproduce the issue on my end. A few questions:
What specifically are you using to trigger bank building? For example:
File → Build, or F7
File → Build All Platforms, or Ctrl+F7
Right click → Build or Build for all platforms in the Banks tab
via the Studio Scripting API
Are you using the Studio perforce integration, or solely using Perforce externally?
Does the workaround provided by @dquartz also work in your case?
For clarity’s sake, could I also get the exact series of steps that reproduce the issue for you, specifically including the changes you’re making to events/banks?
Thanks for the repro steps! I’ve been able to reproduce the issue on my end, which seems to be 2.03-specific. Unfortunately i don’t have any workarounds to offer besides the one that dquartz has mentioned, but I’ve passed the issue along to the development team for further investigation.
Thanks for highlighting the issue, the root cause was a subtle difference between Qt5 and Qt6 causing our .bank modification check to get skipped. I’ve got a fix prepared for 2.03.08, I highly recommend you take the update when it comes out.