# Sendbird Unity sample Error

**URL:** <https://community.sendbird.com/t/sendbird-unity-sample-error/2755>\
**Category:** Unity\
**Tags:** chatsdk\
**Created:** [July 28, 2021, 6:21am UTC](https://community.sendbird.com/t/sendbird-unity-sample-error/2755 "2021-07-28T06:21:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nxdev01](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nxdev01/32/1446_2.png) [@nxdev01](https://community.sendbird.com/u/nxdev01)\
**Post date:** [July 28, 2021, 6:21am UTC](https://community.sendbird.com/t/sendbird-unity-sample-error/2755/1 "2021-07-28T06:21:54Z")

</div>

downloaded unity sample from github - [GitHub - sendbird/SendBird-Unity: A guide of the installation and functions of Sendbird Chat for Unity sample.](https://github.com/sendbird/SendBird-Unity)  
faced runtime error like below (seems like this error is related to channel list UI)

```auto
NullReferenceException: Object reference not set to an instance of an object
SendBird.Query.MessagingChannelListQuery.<Next>b__14_0 (System.Object sender, SendBird.APIOnResultEventArgs e) (at <9b31c0bc832447968c7e875ff719361a>:0)
SendBird.SendBirdSDK+SDKClient+<>c __DisplayClass49_0.<MessagingList>b__ 0 (System.Object sender, SendBird.APIOnResultEventArgs e) (at <9b31c0bc832447968c7e875ff719361a>:0)
SendBird.SendBirdSDK+SDKClient+<>c __DisplayClass29_0.<Login>b__ 0 (System.Object sender, SendBird.APIOnResultEventArgs e) (at <9b31c0bc832447968c7e875ff719361a>:0)
SendBird.API.APIClient+<>c __DisplayClass13_0.<GuestLogin>b__ 0 (System.Object sender, SendBird.AsyncResponseEventArgs e) (at <9b31c0bc832447968c7e875ff719361a>:0)
SendBird.API.RESTClient+<>c __DisplayClass8_0.<APIRequest>b__ 1 (UnityEngine.WWW www) (at <9b31c0bc832447968c7e875ff719361a>:0)
SendBird.API.RESTClient+<>c __DisplayClass3_0.<WaitForHttpRequest>b__ 0 () (at <9b31c0bc832447968c7e875ff719361a>:0)
SendBird.Dispatcher+<CreateDispatcherCoroutine>d__17.MoveNext () (at <9b31c0bc832447968c7e875ff719361a>:0)
UnityEngine.Debug:LogException(Exception)
SendBird.<CreateDispatcherCoroutine>d__17:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

```

- using unity version 2020.3.13f1
- replaced appid with my own app id created in dashboard

how can i remove the error above?  
is this unity sample application still maintained?

---

<div class="post-metadata">

**Author:** ![Woo](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/woo/32/125_2.png) [@Woo](https://community.sendbird.com/u/Woo)\
**Post date:** [August 4, 2021, 12:26am UTC](https://community.sendbird.com/t/sendbird-unity-sample-error/2755/2 "2021-08-04T00:26:19Z")

</div>

Hi @nxdev01 Thanks for reaching out. I will check with team and see the issue can be resolved

---

<div class="post-metadata">

**Author:** ![ScottKim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/scottkim/32/3330_2.png) [@ScottKim](https://community.sendbird.com/u/ScottKim)\
**Post date:** [August 4, 2021, 3:12am UTC](https://community.sendbird.com/t/sendbird-unity-sample-error/2755/3 "2021-08-04T03:12:33Z")

</div>

Hi, @nxdev01  
Could you give me more details such as:

1. Did it happen when you log in and create a channel and enter the chat channel ?
2. If there are any modifications made to the source sample, please send a snippet of the code.

---

<div class="post-metadata">

**Author:** ![nxdev01](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/nxdev01/32/1446_2.png) [@nxdev01](https://community.sendbird.com/u/nxdev01)\
**Post date:** [August 9, 2021, 2:42am UTC](https://community.sendbird.com/t/sendbird-unity-sample-error/2755/5 "2021-08-09T02:42:49Z")

</div>

turned out that i downloaded old version ( from releases, V.2.3.0 )

latest version cloned from repository has no problem  
sorry for bothering you
