# Get Instantiated Event Name in Unity

**URL:** <https://qa.fmod.com/t/get-instantiated-event-name-in-unity/13682>\
**Category:** Unity\
**Created:** [February 1, 2018, 12:53am UTC](https://qa.fmod.com/t/get-instantiated-event-name-in-unity/13682 "2018-02-01T00:53:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreasimeone](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@andreasimeone](https://qa.fmod.com/u/andreasimeone)\
**Post date:** [February 1, 2018, 12:53am UTC](https://qa.fmod.com/t/get-instantiated-event-name-in-unity/13682/1 "2018-02-01T00:53:43Z")

</div>

Hello Support,

As the title suggest, I’m trying to get the name of the instantiated event (FMOD.Studio.EventInstance) I receive from another method.

It is possible to have it?

I so some very old posts on how to do that in C++ but it looks like it’s not working on Unity’s integration.

Thanks,

Andrea

---

<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 4, 2018, 11:49pm UTC](https://qa.fmod.com/t/get-instantiated-event-name-in-unity/13682/2 "2018-02-04T23:49:50Z")

</div>

You can access the event path from the EventDescription.  
[https://fmod.com/resources/documentation-api?page=content/generated/FMOD\_Studio\_EventDescription\_GetPath.html#/](https://fmod.com/resources/documentation-api?page=content/generated/FMOD_Studio_EventDescription_GetPath.html#/)

---

<div class="post-metadata">

**Author:** ![andreasimeone](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@andreasimeone](https://qa.fmod.com/u/andreasimeone)\
**Post date:** [February 5, 2018, 6:06pm UTC](https://qa.fmod.com/t/get-instantiated-event-name-in-unity/13682/3 "2018-02-05T18:06:07Z")

</div>

Thank you Cameron,

Worked without problems!

Here’s a snippet of C# for who wants to do the same:

```
public string GetInstantiatedEventName(FMOD.Studio.EventInstance instance)
{
    string result;
    FMOD.Studio.EventDescription description;

    instance.getDescription(out description);
    description.getPath(out result);

    // expect the result in the form event:/folder/sub-folder/eventName
    return result; 

}
```
