Skip to content

Update Nakama SDK to 3.21.1 to fix CS0738 WebGL build error#32

Open
Mad1San wants to merge 1 commit into
heroiclabs:mainfrom
Mad1San:fix/update-nakama-package-webgl-cs0738
Open

Update Nakama SDK to 3.21.1 to fix CS0738 WebGL build error#32
Mad1San wants to merge 1 commit into
heroiclabs:mainfrom
Mad1San:fix/update-nakama-package-webgl-cs0738

Conversation

@Mad1San
Copy link
Copy Markdown

@Mad1San Mad1San commented Apr 2, 2026

Summary

  • Updates bundled Nakama Unity SDK from 3.19.0 → 3.21.1 in 5 sample projects
  • Fixes CS0738 compiler error on WebGL: JsWebSocketAdapter.Closed return type mismatch with ISocketAdapter.Closed (now Action<string>)
  • Affected samples: UnityNakamaCloudSave, UnityNakamaFriends, UnityNakamaGroups, UnityNakamaLeaderboards, UnityNakamaTournaments

Bumps bundled Nakama Unity SDK from 3.19.0 to 3.21.1 in all five
Nakama sample projects. The older version caused a CS0738 compiler error
on WebGL builds because JsWebSocketAdapter.Closed did not match the
updated ISocketAdapter.Closed signature (Action<string>).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 27, 2026

CLA assistant check
All committers have signed the CLA.

@trandromeda
Copy link
Copy Markdown
Contributor

Hey @Mad1San! Thanks so much for creating this PR to update the Nakama sample projects. Sorry to have missed this for the past few weeks, we'll review it soon 🙏

@trandromeda trandromeda requested review from Calm0 and DapperDino April 27, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants