# using Google VR plugin with FMOD Studio 1.09 integration

**URL:** <https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997>\
**Category:** Unity\
**Created:** [February 21, 2017, 9:55pm UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997 "2017-02-21T21:55:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdx1](https://avatars.discourse-cdn.com/v4/letter/p/bb73d2/32.png) [@pdx1](https://qa.fmod.com/u/pdx1)\
**Post date:** [February 21, 2017, 9:55pm UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/1 "2017-02-21T21:55:05Z")

</div>

to test the Google VR plugin (GVR) that now ships with v1.09, I did the following:

in FMOD Studio 1.09:

- created an event, containing a single looping “ping”
- on the Master track, deleted the default 3D Panner, and replaced it with a GVR Source
- in the mixer, deleted the Reverb return, and added a GVR Listener to the Pre effects on the Master bus
- played the event (seems to be working as expected) and built Desktop

in Unity 5.4 (and Unity 5.6 beta):

- imported fmodstudio10901\_v2.unitypackage
- added a StudioListener to the Main Camera
- In FMODStudioSettings/Project, set StudioProjectPath to the .fspro file
- added a sphere object to the scene and attached a StudioEventEmitter to it
- in the StudioEventEmitter, set the Event to “event:/ping” (from search) and set PlayEvent to ObjectStart
- play the Unity scene

Expected Result:  
Looping “ping” sound that I can move around to test the GVR plugin

Actual Result:  
Continuous error messages:

BusNotFoundException: FMOD Studio bus not found ‘bus:/’  
FMODUnity.RuntimeManager.GetBus (System.String path) (at Assets/Plugins/FMOD/RuntimeManager.cs:863)  
FMODUnity.RuntimeManager.MuteAllEvents (Boolean muted) (at Assets/Plugins/FMOD/RuntimeManager.cs:887)  
FMODUnity.RuntimeManager.Update () (at Assets/Plugins/FMOD/RuntimeManager.cs:391)

Note: if I remove the GVR Listener from the Master bus, the event plays as expected (looping, but not spatialized).

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [February 21, 2017, 10:23pm UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/2 "2017-02-21T22:23:59Z")

</div>

There should also be an error line with “ERR\_PLUGIN\_MISSING”.  
Make sure you add “gvraudio” to the list of plugins in FMOD-\>Settings.

[http://imgur.com/GVMK1pP](http://imgur.com/GVMK1pP)

We don’t include it automatically as not every project will need it.  
Google have all the steps documented [here](https://developers.google.com/vr/audio/fmod-getting-started).

---

<div class="post-metadata">

**Author:** ![pdx1](https://avatars.discourse-cdn.com/v4/letter/p/bb73d2/32.png) [@pdx1](https://qa.fmod.com/u/pdx1)\
**Post date:** [February 21, 2017, 10:40pm UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/3 "2017-02-21T22:40:08Z")

</div>

yup, that did it! (and i’d looked at that developers page, but obviously missed that line, d’oh!) thanks!!

---

<div class="post-metadata">

**Author:** ![vancymoon](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vancymoon](https://qa.fmod.com/u/vancymoon)\
**Post date:** [July 28, 2017, 7:16am UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/4 "2017-07-28T07:16:43Z")

</div>

I just want to apply the Google VR in the fmod VS2013 project, and got “ERR\_PLUGIN\_MISSING”. How to fix this?  
I have already include the “Google VR/inc” and “Google VR/lib” in the VS project.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 31, 2017, 12:23am UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/5 "2017-07-31T00:23:56Z")

</div>

> [@](#):
>
> I just want to apply the Google VR in the fmod VS2013 project, and got “ERR\_PLUGIN\_MISSING”. How to fix this?  
> I have already include the “Google VR/inc” and “Google VR/lib” in the VS project.

If you aren’t using Unity or having the same issue as the initial question, it would be best to start a new thread of your own. Please try to include as much information as possible to make it easier for us to help.

---

<div class="post-metadata">

**Author:** ![vancymoon](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vancymoon](https://qa.fmod.com/u/vancymoon)\
**Post date:** [July 31, 2017, 12:28am UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/6 "2017-07-31T00:28:33Z")

</div>

I’ve already fixed this, thank you very much. I’ll add my solution below.

---

<div class="post-metadata">

**Author:** ![vancymoon](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vancymoon](https://qa.fmod.com/u/vancymoon)\
**Post date:** [July 31, 2017, 12:31am UTC](https://qa.fmod.com/t/using-google-vr-plugin-with-fmod-studio-1-09-integration/12997/7 "2017-07-31T00:31:20Z")

</div>

I don’t use unity, I just use the Google VR plugin in my C++ code in VS2015, because I need to use fmod in my own software.

I refer to the examples as well as FMOD Studio Programmers API for Windows, and then add the following code:

```
FMOD::System* lowLevelSystem = NULL;
unsigned int i = 0; //which I don't really know what it is used for
system->getLowLevelSystem(&lowLevelSystem);
std::cout<<lowLevelSystem->loadPlugin("gvraudio.dll", &i, 0)<<std::endl;

```

and then put the ‘gvraudio.dll’ file together with the main executable file (.exe), which works fine for my demand.
