Game Engine Plugins

Connect your Unity, Unreal or Godot game to Twitch with the Twitch game engine plugins

View as markdown
Provide feedback for this page

Download Unity, Unreal, Godot or GameMaker Plugin

What are the Twitch Game Engine Plugins?

The Twitch Game Engine Plugins are built for Unity, Unreal and Godot, and are adapted to each engine’s unique quirks. We designed them to make integrating your game with Twitch functionality simple, leaving your team more time to create unique experiences.

Twitch has also worked closely with the GameMaker team to provide a version of the plugins for GameMaker. Documentation for the GameMaker version of the plugins can be found here. Please note that the GameMaker version is designed by the GameMaker team and as such has a different feature set than the Unity, Unreal and Godot versions. Please consult the GameMaker documentation linked above for more information.

Please check the change log for information about the currently released versions.

How do they work?

The plugins use our Device Code Flow (DCF) authentication in conjunction with EventSub and Helix endpoints to provide access to commonly used functionality on Twitch. The device code flow only needs your application’s Client ID, so no client secret is ever stored in your game.

On Unity, we support C#.

On Unreal, we support both the visual Blueprint system and C++.

On Godot, we support both GDScript and C#.

On GameMaker, the plugin uses standard GML.

The base C++ source code for the plugins is also available upon request. If you have such a need, fill out this form. The source code for the GameMaker version can be found here.

Refer to the Unity, Unreal and Godot references to learn more.

What can you do with the plugins?

Allow the Twitch community to interact with your game via our various unique features.

  • Polls
  • Predictions
  • Unique Channel Point Rewards
  • Followers, subscribers, cheers, raids and Hype Trains
  • Drops
  • and more

Streamers will be able to utilize your titles to directly interact with their community; creativity is your only limitation!

Prerequisites

Before you can move on and start building your first game with Twitch features, you must first register an application on Twitch itself. Navigate to your Developer Console, register a new application with the OAuth Redirect URL http://localhost and the Client Type Public, and select an appropriate category, such as Game Integration. After you have created the application, click on Manage and you will be presented with a Client ID. This ID will be used by the plugin to interact with Twitch.

Building your first game

Great, now you’re ready to build your first game with Twitch! Head over to our Unity Guide, Unreal Blueprint Guide, Unreal C++ Guide, Godot GDScript Guide or Godot C# Guide to get started.

Feedback

Got feedback for the plugins? Want something changed? Found a breaking bug? Please submit your info over at our UserVoice.