# 3d listener position only updates once

**URL:** <https://qa.fmod.com/t/3d-listener-position-only-updates-once/14116>\
**Category:** Unity\
**Created:** [September 26, 2018, 1:13am UTC](https://qa.fmod.com/t/3d-listener-position-only-updates-once/14116 "2018-09-26T01:13:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kog](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kog](https://qa.fmod.com/u/kog)\
**Post date:** [September 26, 2018, 1:13am UTC](https://qa.fmod.com/t/3d-listener-position-only-updates-once/14116/1 "2018-09-26T01:13:56Z")

</div>

Hello, So currently I am adding in voice lines into my game and I’m running into an issue that when the voice line starts it gets the listeners original position in 3d and starts the voice line, but during the sentence, the voice line does not update while he is talking. now I’m using coroutines in unity and I’m quite new to fmod. so any help you have for me would be greatly appreciated!

```
IEnumerator LateStart(float waitTime, string voicepath)
{
    float Timer = 0;
    Timer = Time.fixedDeltaTime;
    RobotVoice = FMODUnity.RuntimeManager.CreateInstance(voicepath);
   RobotVoice.set3DAttributes(FMODUnity.RuntimeUtils.To3DAttributes(Robot.position));
    RobotVoice.start();

    while (Timer < waitTime)
    { 

        FMODUnity.RuntimeManager.SetListenerLocation(player);
        yield return 0;
    }
    RobotVoice.stop(FMOD.Studio.STOP_MODE.ALLOWFADEOUT);
    RobotVoice.release();
    Timer = 0;

   }
```

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [October 1, 2018, 6:26am UTC](https://qa.fmod.com/t/3d-listener-position-only-updates-once/14116/2 "2018-10-01T06:26:51Z")

</div>

Hi Keil,

Could you post some more context around your code? I’m not quite clear on what you’re trying to achieve based on your description. Your co-routine is only updating the listening position with the player, maybe it needs to be calling RobotVoice.set3DAttributes every frame?

Thanks,  
Richard
