Skip to main content

UE4/5 C++ Module Generator

User Guide (V1.0)

C++ Module Generator is a free UE4 editor tool which allows game or plugin modules to be generated from within the editor.


Key Features

  • Generate C++ modules within the editor.
  • Generate modules for games or plugins.
  • Predefined module templates.

Sidebar Image

Getting Started

After installing, navigate to "Edit/Plugins". Enable 'C++ Module Generator' and restart the editor.

Enabling the plugin Plugin

Generating a New Module

To generate a new module, simply select the icon from the ‘Window’ menu or toolbar, at the top of the screen.

Using tool

A window should then appear. Here you will select the desired settings and click ‘Generate New Module’. If successful, the window will prompt you to restart the editor.

Things to Note

  • Your project must already have a C++ project setup. E.g. source folder, build targets etc
  • If generating inside a plugin the combo box will automatically be populated with any project plugins. Engine and precompiled (In engine folder) plugins will not be included.
  • Ensure that your project compiles and is free of errors before generating a new module.
  • The editor must be restarted for generated modules to be compiled.
  • You can select from one of the two templates or select ‘Custom’ which will allow all options to be selected. The available options can be seen below.
  • You may need to right click on your .uproject and select ‘generate visual studio project files’ for the new module to appear in Visual Studio.
Loading PhasesType