# Cannot set a valid Global Parameter from an EventInstance

**URL:** <https://qa.fmod.com/t/cannot-set-a-valid-global-parameter-from-an-eventinstance/22415>\
**Category:** Unreal Engine\
**Tags:** ue5\
**Created:** [December 16, 2024, 12:08pm UTC](https://qa.fmod.com/t/cannot-set-a-valid-global-parameter-from-an-eventinstance/22415 "2024-12-16T12:08:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miliv](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@miliv](https://qa.fmod.com/u/miliv)\
**Post date:** [December 16, 2024, 12:08pm UTC](https://qa.fmod.com/t/cannot-set-a-valid-global-parameter-from-an-eventinstance/22415/1 "2024-12-16T12:08:02Z")

</div>

- Issue: We have a footsteps event that is bind to an anim notify. Each time it triggers we call a custom notify BP class that plays the `F_Movement` event instance and sets two global params: `Mvmnt_State` and `Surface`. While the first one works fine the second returns an error stating that the parameter is invalid.  
We have double checked everything, the param is valid (shows up in UE too), the instance is valid and the other param fires so the BP works fine as well.

```auto
LogFMOD: Warning: C:\buildagent2\work\570ad728b1678096\studio_api\src\fmod_asynccommand_impl.cpp(1965) - Cannot set Global Parameter 'Surface' from an EventInstance
LogFMOD: Warning: Failed to set event instance parameter Surface

```

- System: UE 5.4, FMOD Studio 2.02.24

Any help is appreciated, kinda stuck with this. If required, what logs can I provide and at what location can they be accessed?

---

<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:** [December 19, 2024, 4:46am UTC](https://qa.fmod.com/t/cannot-set-a-valid-global-parameter-from-an-eventinstance/22415/2 "2024-12-19T04:46:30Z")

</div>

Global parameters need to be set through the `FMOD::System` API ([global parameters](https://www.fmod.com/docs/2.03/api/welcome-whats-new-200.html#global-parameters)), as they are owned by the System rather than Events, even if they are used inside said event.

EG.

```auto
StudioSystem->setParameterByName(Surface, value);

```
