Forum Discussion
opamp
11 years agoProtege
Fmod Plugin and Oculus Audio SDK
Has anybody managed to get this working yet?
I have the oculus plugin working within FmodStudio and the standard fmod plugin with standard events works fine within unreal.
But the UE4 Fmod plugin cant seem to find the ovrfmod dll.
I keep getting
"LogFMOD:Warning: c:\jk\workspace\Build__1.5__UE4Libs_Win\studio_api\src\fmod_effect.cpp(147) - Error. Missing DSP plugin 'OCULUS SPATIALIZER'"
Ive placed both the 32 and 64bit dll's in multiple location(project directory, engine binary directory,thirdparty/fmod ect..) and have tried adding it to the plugins file list within Project settings->Plugins->FMOD. but still no joy.
Edit*
If anybody wants to play around with this and Fmod I posted a dummys guide over at the unreal forum https://forums.unrealengine.com/showthread.php?61257-An-idiots-guide-to-using-the-Oculus-SDK-with-FMOD
I have the oculus plugin working within FmodStudio and the standard fmod plugin with standard events works fine within unreal.
But the UE4 Fmod plugin cant seem to find the ovrfmod dll.
I keep getting
"LogFMOD:Warning: c:\jk\workspace\Build__1.5__UE4Libs_Win\studio_api\src\fmod_effect.cpp(147) - Error. Missing DSP plugin 'OCULUS SPATIALIZER'"
Ive placed both the 32 and 64bit dll's in multiple location(project directory, engine binary directory,thirdparty/fmod ect..) and have tried adding it to the plugins file list within Project settings->Plugins->FMOD. but still no joy.
Edit*
If anybody wants to play around with this and Fmod I posted a dummys guide over at the unreal forum https://forums.unrealengine.com/showthread.php?61257-An-idiots-guide-to-using-the-Oculus-SDK-with-FMOD
10 Replies
Replies have been turned off for this discussion
- AnonymousOur FMOD plugin hasn't been tested in UE4 (but we use the Wwise plugin heavily), however our FMOD plugin HAS been used elsewhere with great success. I'll see what I can find out.
- opampProtege
"BrianHook" wrote:
Our FMOD plugin hasn't been tested in UE4 (but we use the Wwise plugin heavily), however our FMOD plugin HAS been used elsewhere with great success. I'll see what I can find out.
Thanks Brian. - opampProtegeIn the meantime I found this in regards to FMOD.
The plugin files should sit alongside the fmod dynamic librarys in the thirdparty directory
and this in the FMOD plugin source.// Don't bother loading plugins during editor, only during PIE or in game
if (Type == EFMODSystemContext::Runtime)
{
for (FString PluginName : Settings.PluginFiles)
{
FString PluginPath = GetDllRootPath() + PluginName + GetDllExtension();
UE_LOG(LogFMOD, Log, TEXT("Loading plugin '%s'"), *PluginPath);
unsigned int Handle = 0;
verifyfmod(lowLevelSystem->loadPlugin(TCHAR_TO_UTF8(*PluginPath), &Handle, 0));
}
So it looks like the fmod plugin just requires the the name of the additional plugin without a path or file extnsion.
So im assuming "ovrfmod64".
Im currently updating to 4.7.2 and will give this a go when its done. - PetrozaHeroic Explorer
So it looks like the fmod plugin just requires the the name of the additional plugin without a path or file extnsion.
So im assuming "ovrfmod64".
Yes that is correct, if you tell fmod plugin to load ovrfmod64 it should all work. - opampProtegeI've finally got this working with 4.7.2.
ovrfmod64.dll placed in Engine/Binaries/ThirdParty/FMODStudio/Win64/
and under Project settings->Plugins->FmodStudio/Advance/Plugin Files add "ovrfmod".
As it appears GetDllExtension(); returns "64.dll".
(an incorrect entry or if the dll is not present will crash the engine).
The only other issue I had is that FmodStudio 1.05.13 doesnt seem to play nice with fmod plugin 1.05.13 on UE4 4.7.2
as any banks created with it crashes UE4 but banks created with FModStudio 1.05.12 seem to work. - AnonymousGlad to hear you got it sorted! Please let us know how it works for you by posting in the audio forum when you have a chance. Thanks!
- jumbliMemberIs it possible to set up room size and enable reflections etc. via the Blueprint graph with FMOD?
- PetrozaHeroic Explorer
Is it possible to set up room size and enable reflections etc. via the Blueprint graph with FMOD?
Unfortunately there is no way to do this with blueprint currently. You would have to link to ovrfmod64.lib and interact with the DLL directly using the API in OculusFMODSpatializerSettings.h. - saviorntProtegeHow do you build the project with plugins?
Currently getting errors stating that the plugin could not be found. This also happens with the Allegotithmic stuff as well. Ehen game is launched, I get the errors, snd the window remains black, unresponsive. Have to end the process to close it. - opampProtege
"saviornt" wrote:
How do you build the project with plugins?
Currently getting errors stating that the plugin could not be found. This also happens with the Allegotithmic stuff as well. Ehen game is launched, I get the errors, snd the window remains black, unresponsive. Have to end the process to close it.
https://forums.oculus.com/viewtopic.php?f=60&t=21101
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 years ago
- 5 years ago
- 8 months ago