Ninja Bear Studio Plugins Help

Installation

This page will walk you through any pre-requisites and steps necessary to enable Ninja Tokens.

Pre-Requisites

Ninja Tokens is compatible with Behavior Trees or State Trees. Make sure that the AI Support plugin is enabled in your project and, if you are using State Trees, also make sure that the State Trees plugin is enabled as well.

Installing the Plugin

To get started, install the plugin to a supported engine version using to your engine Epic Games Launcher, and then enable it in your project.

Installing via the Epic Launcher

  1. Open the Epic Games Launcher and locate the Ninja Tokens plugin.

  2. Click Install to Engine and select the desired version from the version list.

  3. Once installed, create or open your project, and navigate to Edit and Plugins.

  4. Find Ninja Tokens from the list and enable it.

  5. When prompted, restart the engine to fully activate the plugin.

Working with Sources

If you plan to work with the source code, you can copy the plugin to your local engine or install it from GitHub.

Enable C++ in your Project

  1. Make sure to perform all necessary steps to enable C++ in your environment and project.

  2. To work with the source code, you will need an editor installed, such as Visual Studio or Rider. Make sure to install your editor of choice.

  3. If your project was originally Blueprint-only, create at least one C++ class, such as a base Character or Game Mode, via ToolsNew C++ Class.

GitHub Repository

  1. Ensure that you have access to the Ninja Tokens repository on GitHub.

  2. In your project, create a Plugins folder if you don't have one. If you're using multiple Ninja Bear Studio plugins, we recommend organizing them under a NinjaBearStudio folder.

  3. Clone the Ninja Interaction repository into your desired Plugins Folder.

  4. Right-click the .uproject file and select Generate Visual Studio project files (or your IDE equivalent).

  5. Launch the project. The plugin should now be available in your project's Plugins list.

Enable C++ Modules

  1. Close your Unreal Engine project if it is currently open.

  2. In your IDE of choice, open the Build.cs file, named after your project (e.g., MyGame.Build.cs in the Source/MyGame folder), and add the following contents.

    PublicDependencyModuleNames.AddRange(new string[] { "AIModule", "GameplayStateTreeModule", "GameplayTasks", "StateTreeModule", "NinjaTokens", "NinjaTokensBehaviorTree", // If you are using Behavior Trees. "NinjaTokensStateTree", // If you are using State Trees. });
  3. Remove the version installed in the engine, if there is one.

  4. Recompile the project. If this is the first time doing that, it might take a while.

Last modified: 10 October 2025