The Nakama Godot SDK unfortunately is not compatible with the Godot 4.0 Stable release. There are multiple pull requests pending on GitHub that fix a lot of these isssues (such as this one, which seems to fix most of the issues), however they all seem to have been ignored so far.
I actually found another bug in the NakamaHTTPAdapter.gd
that I’m not sure if I should make an issue about, which is this line in AsyncRequest.parse_result()
:
if json_error != OK:
logger.debug("Unable to parse request %d response. JSON error: %d, response code: %d" % [
id, json.error, response_code
])
where json.error
should actually be json_error
, otherwise Godot throws an error.
Versions: Nakama (latest godot-4 branch), Godot v4.0.stable.official [92bee43ad]