# NullReference in RpcAsync intermittently

**URL:** <https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757>\
**Category:** Game Design\
**Tags:** server-framework\
**Created:** [May 22, 2020, 8:39pm UTC](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757 "2020-05-22T20:39:15Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [May 27, 2020, 8:33am UTC](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757/21 "2020-05-27T08:33:29Z")

</div>

@newatlanta19006 I’ve not had the chance to try and reproduce the use case. Are you able to reproduce the issue in local development or does it only happen on your cloud server setup?

Is it possible you can upgrade to the latest Nakama release (2.12.0) and see if it resolves your issue?

---

<div class="post-metadata">

**Author:** ![newatlanta19006](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/newatlanta19006/32/132_2.png) [@newatlanta19006](https://forum.heroiclabs.com/u/newatlanta19006)\
**Post date:** [May 27, 2020, 3:43pm UTC](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757/22 "2020-05-27T15:43:48Z")

</div>

I haven’t been able to reproduce it on our development environment yet. It has the same set up as our production environment but far less load of course.

We can try upgrading Nakama but I am not confident in that solution because I dont think the rpc call is ever executing or reaching Nakama from the .NET server.

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [May 27, 2020, 5:30pm UTC](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757/23 "2020-05-27T17:30:36Z")

</div>

> We can try upgrading Nakama but I am not confident in that solution because I dont think the rpc call is ever executing or reaching Nakama from the .NET server.

If the request doesn’t reach the server I’m not sure how I can help any further. What do you suggest?

---

<div class="post-metadata">

**Author:** ![newatlanta19006](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/newatlanta19006/32/132_2.png) [@newatlanta19006](https://forum.heroiclabs.com/u/newatlanta19006)\
**Post date:** [May 27, 2020, 5:45pm UTC](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757/24 "2020-05-27T17:45:06Z")

</div>

The request doesn’t reach the Nakama server because the .NET client is nullReferencing in RpcAsync.

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [August 24, 2020, 4:28pm UTC](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757/25 "2020-08-24T16:28:07Z")

</div>

Unlisted on August 24, 2020, 4:28pm UTC



[Previous page](https://forum.heroiclabs.com/t/nullreference-in-rpcasync-intermittently/757.md?page=1)
