# Cannot provide a name when creating a new match with CreateMatchAsync

**URL:** https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621
**Category:** Client Libraries
**Tags:** sdk-unity
**Created:** [May 12, 2022, 7:53pm UTC](https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621 "2022-05-12T19:53:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bodin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/bodin/32/1260_2.png) [@bodin](https://forum.heroiclabs.com/u/bodin)
#### Post date: [May 12, 2022, 7:53pm UTC](https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621/1 "2022-05-12T19:53:39Z")

</div>

Hi,

I read a document that we can optionally provide a name when creating a new match.  
but when I run the same code as shown in document, I got error that method “CreateMatchAsync” didn’t take string argument. (please check image below)

 ![nakama](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/5/5ffb3e02718a1128bedda606d9376c5c83213bf8.png)

Could someone help me solve this error?  
Thanks in advance & Best regards,  
Bodin

---

<div class="post-metadata">

### Author: ![tom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/tom/32/676_2.png) [@tom](https://forum.heroiclabs.com/u/tom)
#### Post date: [May 13, 2022, 8:00am UTC](https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621/2 "2022-05-13T08:00:44Z")

</div>

Hi @bodin welcome to the forum.

The `CreateMatchAsync(matchName)` overload is available in the [v3.4.0 release](https://github.com/heroiclabs/nakama-unity/releases/tag/v3.4.0) of the Nakama Unity SDK. Please update to the latest and this should resolve the issue.

As a side it’s always a good idea to check the [Nakama Unity SDK Release Notes](https://github.com/heroiclabs/nakama-unity/releases) as well as the [Nakama .NET SDK Release Notes](https://github.com/heroiclabs/nakama-dotnet/releases/) (which the Unity SDK depends on) to see what’s new in each version.

Kind regards,  
Tom

---

<div class="post-metadata">

### Author: ![bodin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/bodin/32/1260_2.png) [@bodin](https://forum.heroiclabs.com/u/bodin)
#### Post date: [May 13, 2022, 9:14am UTC](https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621/3 "2022-05-13T09:14:26Z")

</div>

Hi Tom, thank you very much for your reply.  
but I’m already using v3.4.0 downloaded from Unity Asset Store.

 ![nakama](https://us1.discourse-cdn.com/flex020/uploads/heroiclabs/original/2X/f/f4c19740a2d5ec87bcf4ee47494d86eb6a70aca7.png)  
I also did double check on CHANGELOG text file in Nakama folder to confirm that it’s v3.4.0

Have a nice day!

---

<div class="post-metadata">

### Author: ![tom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/tom/32/676_2.png) [@tom](https://forum.heroiclabs.com/u/tom)
#### Post date: [May 13, 2022, 2:08pm UTC](https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621/4 "2022-05-13T14:08:33Z")

</div>

Hi @bodin,

It looks like there was an issue with the latest Unity package, apologies for that. We have now created a new [v3.4.1 release](https://github.com/heroiclabs/nakama-unity/releases/tag/v3.4.1) which should resolve the issue. It may take several days for it to be approved on the Asset Store, however if you visit the link above you can directly download the `Nakama.unitypackage` file and import it into your project that way.

Please let me know if this resolves the issue for you.

Kind regards,  
Tom

---

<div class="post-metadata">

### Author: ![bodin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/bodin/32/1260_2.png) [@bodin](https://forum.heroiclabs.com/u/bodin)
#### Post date: [May 14, 2022, 4:48am UTC](https://forum.heroiclabs.com/t/cannot-provide-a-name-when-creating-a-new-match-with-creatematchasync/2621/5 "2022-05-14T04:48:12Z")

</div>

Hi @tom

Importing Nakama new package file solved this issue.  
Thank you very much for your help.

Best regards,  
Bodin
