Hosted real-time chat for Unity. Drop in one component. Players talk in isolated rooms. You do not run the chat server.Unity 2022.3 or newer. Tested on 6000.5. Editor and standalone Windows, macOS, and Linux. WebGL is not supported.SERVICE API AND COSTThis package is a Unity client for the BDG Chat hosted service operated by XStreamIO. The download does not include a chat server.APIs usedLive chat WebSocket: wss://aponteplace.io/wsMint a player token, from your game server only: POST https://aponteplace.io/apps/{app_id}/player-tokensPublic demo credentials, used only by the PlayDemo scene: GET https://aponteplace.io/demo/player-tokenStudio account and HTTP reference: https://bgdchat.com/docsCompany site: https://xstreamio.comThe client uses UnityWebRequest for the demo and token calls, and System.Net.WebSockets.ClientWebSocket for live chat. No other third-party network API is used.How credentials are storedNo API key, studio secret, or player token is saved in this package, in a script, in a prefab, or in a scene. Do not put an sk_live_ secret in any file that ships in a player build. Your game server keeps the secret and sends the Unity client a short-lived player JWT at runtime. PlayDemo requests a public demo JWT when you press Play. That token is not part of the imported asset.Service cost (charged by XStreamIO for the hosted service, not by the Asset Store)Free: $0 per month. Community and testing. Limited rooms on shared infrastructure.Starter: 60 days free, then $29 per month. 3 apps, 200 connections, 50 rooms. A card on file is required. The plan cancels if you stop before day 60.Pro: $99 per month. 10 apps, 1,000 connections, unlimited rooms.Self-host: $299 once, to run the server on your own machines. That server is not included in this package.The Asset Store package is free. The included PlayDemo scene uses a shared public lobby and does not need your own account. Your own rooms need a studio account.WHAT YOU GETBDG Chat is hosted real-time multiplayer chat for Unity games.You create a studio account, add one component, and players talk in isolated rooms. Rooms and history are separated by app_id, so different games never see each other. Players connect with short-lived JWTs that you mint on your own game server.No chat infrastructure to maintain.Demo: open Assets/BDGChat/Scenes/PlayDemo and press Play. It loads a public demo app_id and player JWT. Click Connect, then Join, then Send. That lobby is shared. Setup for your own rooms is in Assets/BDGChat/Documentation/BDG-Chat-User-Manual.pdf.Limits: Unity 2022.3 or newer. Editor and standalone players (Windows, macOS, Linux). WebGL is not supported, because the client uses System.Net.WebSockets.ClientWebSocket. This package does not include a chat server executable.• Service API: live chat uses wss://aponteplace.io/ws. Your game server mints player tokens with POST https://aponteplace.io/apps/{app_id}/player-tokens. PlayDemo uses GET https://aponteplace.io/demo/player-token. Account docs: https://bgdchat.com/docs• No API key or studio secret is stored in this package. The client accepts a short-lived player JWT and rejects sk_live_ secrets• Service cost is charged by XStreamIO for the hosted service, not by the Asset Store. Free: $0 per month. Starter: 60 days free, then $29 per month. Pro: $99 per month. Self-host: $299 once. The server is not included in this package• BDGChatClient component: connect, join a room, send chat, leave, and close• Automatic WebSocket ping (default 25 seconds) to keep the connection alive• Events: Connected, Disconnected, Joined, ChatReceived, UserJoined, UserLeft, ErrorReceived• Rooms and history are isolated by app_id, so different games never see each other• BDGPlayerTokens.Mint is for your game server only. Do not ship the secret in a player build• PlayDemo scene with an on-screen UI. It uses a shared public lobby• User manual with a table of contents and numbered pages• Unity 2022.3 or newer. Editor and standalone (Windows, macOS, Linux). WebGL is not supportedGenerative AI was used as a development aid. C# client scripts, the PlayDemo UI, the offline PDF user guide, and listing copy were drafted with assistance from xAI Grok, then reviewed and edited by the publisher (XStreamIO / Misael Aponte). Store key images (icon, card, cover, screenshots) were produced with Python and Pillow, not an image-generation model. This package does not include an AI or ML model and does not generate content at runtime. The runtime client is a WebSocket chat component. Do not put sk_live_ secrets in a shipped game.


