Watcher warnings and weird path issues in 6.2.3f1

These issues weren’t happing on 6.2.2f1. Now I get a lot of spam:

Error watching /home/brandon/deadmoney/hommlet/Library/PackageCache/com.unity.inputsystem@be6c4fd0abf5/InputSystem/Editor/FMod/AOR/Build/Desktop: The directory name ‘/home/brandon/deadmoney/hommlet/Library/PackageCache/com.unity.inputsystem@be6c4fd0abf5/InputSystem/Editor/FMod/AOR/Build/Desktop’ does not exist.
Parameter name: Path
UnityEngine.Debug:LogWarningFormat (string,object)
FMODUnity.RuntimeUtils:DebugLogWarningFormat (string,object) (at Assets/Plugins/FMOD/src/RuntimeUtils.cs:588)
FMODUnity.BankRefresher:UpdateFileWatcherPath () (at Assets/Plugins/FMOD/src/Editor/BankRefresher.cs:81)
FMODUnity.BankRefresher:Update () (at Assets/Plugins/FMOD/src/Editor/BankRefresher.cs:44)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:384)

In addition, I sometimes get very catastrophic build errors saying my project working directory has changed to some random directory inside FMOD.

This looks to me like relative paths aren’t being handled correctly in EditorUtils.cs and if Unity internally changed how the CWD is set, this seems like risky code? (lines 90-115).

Hi,

Thank you for sharing the information.

I was not able to reproduce the warnings on my end in 6.2.3f1.

Could I please grab more info:

  • What version of FMOD Unity integration you’re using?
  • Could you please elaborate more on the reproduction steps?