I’ve run into a strange fmod-related audio bug with Unity Editor.
Upon opening Unity, the console emits this long set of errors(1) many, many times. This slows down opening the Editor significantly – but further, the repetitive errors are also emitted every time I Build a Player, making the process many minutes slower than usual.
This error briefly occurred last week, but simply sync’ing to an old changeset and then sync’ing back to the head revision caused it to go away.
However, the error’s back now, and isn’t consistently found at the same changeset – while head revision always seems to display the problem, sync’ing around to different changesets has (several times) shown that one changeset will on one sync display the problem, and on another sync won’t.
My teammates have not seen this bug; it’s only on my machine.
Here’s some possibly-relevant specs:
- Unity 4.2.0f4
- Fabric 2.1.7c
- Windows 7
- Echo Gina3G soundcard with driver revision 8.5
Other than iTunes (which I always have open), no other sound software is open. Restarting my PC doesn’t seem to make any difference.
Any ideas?
(1) Editor.log:
Validating Project structure … 0.106595 seconds.
Platform assembly: C:\Program Files (x86)\Unity\Editor\Data\Managed
unit.framework.dll (this message is harmless)
result == FMOD_OK
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 275)
An error occured that wasn’t supposed to. Contact support.
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 275)
result == FMOD_OK
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 281)
An error occured that wasn’t supposed to. Contact support.
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 281)
m_wetGroup
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 284)
m_dryGroup
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 285)
result == FMOD_OK
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 312)
An invalid object handle was used.
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 312)
result == FMOD_OK
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 315)
An invalid object handle was used.
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 315)
result == FMOD_OK
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 318)
An invalid parameter was passed to this function.
(Filename: C:/BuildAgent/work/cac08d8a5e25d4cb/Runtime/Audio/AudioSource.cpp Line: 318)
result == FMOD_OK