# Unable to create EventInstances with C# wrapper

**URL:** <https://qa.fmod.com/t/unable-to-create-eventinstances-with-c-wrapper/11597>\
**Category:** FMOD Studio\
**Created:** [August 7, 2014, 11:57am UTC](https://qa.fmod.com/t/unable-to-create-eventinstances-with-c-wrapper/11597 "2014-08-07T11:57:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![woutersf](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@woutersf](https://qa.fmod.com/u/woutersf)\
**Post date:** [August 7, 2014, 11:57am UTC](https://qa.fmod.com/t/unable-to-create-eventinstances-with-c-wrapper/11597/1 "2014-08-07T11:57:33Z")

</div>

I’m trying to get a simple C# program working using the C# wrapper and the sample FMOD Studio project.

The problems I’m running into are:

1. I’m unable to get the path of an EventDescription retrieved from FMOD.Studio.Bank using getPath. The error is ERR\_EVENT\_NOTFOUND.
2. I’m unable to create an instance from an EventDescriptor, this also causes the error ERR\_EVENT\_NOTFOUND

[https://gist.github.com/frogger3d/af40cd1aba180ca60359](https://gist.github.com/frogger3d/af40cd1aba180ca60359)

I also have a few comments about the SDK itself:

1. You should use the standard System.Guid class in the .Net framework.
2. The System classes should be renamed to FmodSystem and FmodStudioSystem to avoid namespace collision with the standard namespace System.
3. Dynamically load the correct dll (32 bit or 64 bit) - [http://stackoverflow.com/a/10398343/62857](http://stackoverflow.com/a/10398343/62857)

---

<div class="post-metadata">

**Author:** ![woutersf](https://avatars.discourse-cdn.com/v4/letter/w/e5b9ba/32.png) [@woutersf](https://qa.fmod.com/u/woutersf)\
**Post date:** [August 7, 2014, 1:01pm UTC](https://qa.fmod.com/t/unable-to-create-eventinstances-with-c-wrapper/11597/2 "2014-08-07T13:01:37Z")

</div>

The problem was that I did not load the master bank and the master bank.strings.
