Developer Path

Four Steps to Build a Real-Time Chat in Unity



Unity is a powerful, cross-platform engine used to create 2D and 3D environments and is used in more than 50% of the world's video games.

Cartoon rocket icon with red flames on a dark background.

PubNub Unity SDK Live Demos

Interact with a Unity Racing Game with In-game chat and live leaderboard updates, all in realtime.

Magnifying glass over a document icon representing document analysis or review.

Customer Use Cases

Panzerdog's fast-paced shooter Tacticool depends on PubNub's scalability and reliability to power its in-game chat for over 100,000 daily players.

Keep game developers focused on the game, without the difficulty of building a custom platform.

PubNub for Gaming Review

The benefits of using PubNub for gaming use cases.


Game developers depend on PubNub’s secure, low latency, and reliable communication network to power their online features.

Here are five standard chat features PubNub offers to make in-game chat your players will love to use.

Social features, like in-game chat, offer a solution to driving player retention by fueling engagement, attracting community-minded players, and allowing players to form bonds through your game.

Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of each.

How-To Guides

Learn how to add PubNub to your Unity game and use the available features to enhance your game.

Understand topics such as scoring mechanics to help players track their progress in-game using PubNub.

Are you looking to create a real-time leaderboard for your game or app? Our comprehensive guide will provide the steps needed to make an effective, multi-purpose leaderboard.

Learn how to create interactive, social and engaging Role Playing Games (RPGs) using PubNub. Understand the tools available that allow you to bring your RPG ideas alive with real-time communication capabilities for a unique gaming experience.


Follow how to build a Unity game in this tutorial with step-by-step instructions to add in-game chat and live leaderboard updates.

Docs / Tools

Overview page for our PubNub Unity SDK documentation.

PubNub Unity API reference for using the PubNub API with Unity.

Dictionary of PubNub status events for understanding the messages you receive from the PubNub API.

GitHub Links

Source code for the PubNub Unity SDK.

Source code for the Real-time Unity racing game that includes in-game chat and a live leaderboard that updates in real time.

Resources by PubNub

Overview of PubNub usage in the gaming industry.

Find a solution to common PubNub Unity SDK problems.

Ali El Rhermoul, Co-Founder and CTO at Beamable, joins PubNub to discuss how developers can create a space where players can forge deep, genuine relationships through gaming.

More Unity Learning Resources

A fantastic place to discover Unity in depth.

Our favorite blog post that links to the best Unity resources.

Unity's guided journey in exploring the pathways and resources to help develop skills to create your first project.

Ready To Get Started?