Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-release-unreal-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Get your Application Keys
Sign up for CometChat and then:- Create a new app
- Head over to the API & Auth Keys section and note the Auth Key, App ID, and Region
Prerequisites
Supported Platforms
| Engine Version | Platforms |
|---|---|
| UE 5.5.4 | Mac, Windows, iOS, Android |
| UE 5.7.2+ | Mac, Windows, iOS, Android |
Install the Plugin
Option 1: Use Precompiled Binaries (No Build Required)
Copy the plugin source
Copy
Plugins/CometChatSdk/ from the SDK repository into your project’s Plugins/CometChat/ directory.Download precompiled binaries
Download the precompiled binaries for your engine version:
- UE 5.5.4 (Mac + Windows)
- UE 5.7.2 (Mac)
Extract into your plugin directory
Extract the zip contents into your project’s
Plugins/CometChat/ directory (merging with existing files).Option 2: Build from Source
- Copy
Plugins/CometChatSdk/from the SDK repository into your project’sPlugins/CometChat/directory - Regenerate project files and build
Add Module Dependency
In your game module’s.Build.cs file, add the CometChat module as a dependency:
Verify the Plugin
After installation:- Open your project in the Unreal Editor
- Go to Edit → Plugins
- Search for CometChat — it should appear and be enabled
The plugin loads at the PreDefault phase, so it’s available before your game module initializes.
Initialize CometChat
TheCometChatSubsystem is a UGameInstanceSubsystem — it’s created automatically when your game starts. You need to call the Configure Async node with your App ID and Region before using any other SDK methods. This is a latent async node with On Success and On Failure pins.
- Blueprint
- C++
- In any Blueprint, search for the CometChat Configure Async node
- Pass your App ID and Region
- Wire the On Success and On Failure pins
| Parameter | Type | Description |
|---|---|---|
| App Id | FString | Your CometChat App ID |
| Region | FString | Your app region (us or eu) |
FCometChatUser:- If a saved session was restored, the user details are populated (auto-login)
- If no saved session exists,
Uidwill be empty — you need to call Login next
FCometChatError with error details.YOUR_APP_ID with your actual CometChat App ID.
Plugin Architecture
The plugin provides:UCometChatSubsystem— Game instance subsystem for CometChat operations- Async Blueprint actions — for login, logout, send/fetch messages, groups, conversations, moderation, and more
CometChatEventBridge— Real-time event callbacks (40+ delegates organized by listener type)UCometChatPanel— Ready-to-use tabbed chat panel widget (My Groups, Personal, Browse Groups)UCometChatButton— Floating button widget that toggles the chat panel- Native C++ chat SDK via
ThirdParty/chatsdk/(prebuilt static libraries)