# Changing property value has no effect

**URL:** https://qa.fmod.com/t/changing-property-value-has-no-effect/18048
**Category:** Unity
**Tags:** unity
**Created:** [December 5, 2021, 4:04am UTC](https://qa.fmod.com/t/changing-property-value-has-no-effect/18048 "2021-12-05T04:04:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ntwiles](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/ntwiles/32/2927_2.png) [@ntwiles](https://qa.fmod.com/u/ntwiles)
#### Post date: [December 5, 2021, 4:04am UTC](https://qa.fmod.com/t/changing-property-value-has-no-effect/18048/1 "2021-12-05T04:04:06Z")

</div>

I’m having trouble getting `EventInstance.setPropertyByName()` to have any noticeable effect.

In our FMOD Studio project, changing the value of our continuous parameter results in changing the music as intended. Also, in Unity inside the Event Browser, changing the value using the provided slider updates the sound as expected. In code though, updating the value seems to have no effect.

Starting the event instance:

```auto
EventInstance = FMODUnity.RuntimeManager.CreateInstance("event:/Music/Level 01");
EventInstance.start();

```

Updating the value:

```auto
EventInstance.setParameterByName("PlayerLocation", 6.5f);
EventInstance.getParameterByName("PlayerLocation", out after);

```

The event is found and started without issue and the music plays. The value of `after` is `6.5` as expected. However, the sound doesn’t change.

If we set the parameter value and then call `EventInstance.start();` _again_, the expected new sound is played, but layered on top of the original sound as if two instances of the music are playing at the same time.

Any help would be very much appreciated, thanks in advance!

---

<div class="post-metadata">

### Author: ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)
#### Post date: [December 8, 2021, 10:04pm UTC](https://qa.fmod.com/t/changing-property-value-has-no-effect/18048/2 "2021-12-08T22:04:27Z")

</div>

I have not found any issues with `EventInstance.setParameterByName` on a playing event instance, and calling `EventInstance.start` should be stopping the existing playback before starting the new one. What version of FMOD are you using?
