Hey guys, been gone for a while but just coming back and very happy to try out Nakama…
the only issue is I’m getting this error when implementing the test code on the GitHub
ERROR:SCRIPT: /nakama/util/async.lua:9: assertion failed!
Does anyone know?
I couldn’t find much online about this error message online unfortunately /:
I would contact Britzl/uncleNight (since they are the contributors to the github project) or Heroic Labs directly. If you haven’t yet solved it, I recommend asking one of them.
I believe that error is thrown when the function that is called is expected to be in a couroutine, but isn’t.
Check out line 9 here: https://github.com/heroiclabs/nakama-defold/blob/master/nakama/util/async.lua
I’d read up on this section and compare it to what you’re doing: https://github.com/heroiclabs/nakama-defold/#requests