The May sale is here! Save 70% on select products now through May 23.

Procedural Environment Generator (WFC) Basic

Ivan Donchevskii - Code Plugins - Jan 7, 2021

Basic version of Wave Function Collapse algorithm for procedural environment generation

  • Supported Platforms
  • Supported Engine Versions
    4.24 - 4.27, 5.0 - 5.3
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Generate 3D environments (game levels, buildings, etc.) with Wave Function Collapse algorithm.

Set the rectangular nodes and connection rules for them inside the Blueprint preview window and press the Generate button to automatically form a level.

This plugin replaces Procedural Environment Generator Lite removing all restrictions from it.

There's also the Full version with many additional features.

Playlist with tutorials


Discord server

Technical Details


  • Optimized 3D WFC generator with backtracking
  • Draw WFC components and their connections inside Blueprint preview window
  • Replace components with your custom Blueprints (allows to use multiple meshes for one voxel)
  • Set basic generation borders (air, ground and floor)
  • Generation is asynchronous
  • Per frame spawning of actors with static meshes in play mode
  • Show the Seed and allow to enter the custom seed to reproduce the previous generation
  • Export and Import the plugins settings (allows to convert settings for Procedural Environment Generator (WFC) plugin and partially back)

Code Modules:

  •  WfcEnvironmentGeneratorBasic (Editor)

Number of Blueprints: 1

Number of C++ Classes: 2 UCLASS, 2 UENUM, 3 USTRUCT, >10 plain C++ classes/structs

Network Replicated: No

Supported Development Platforms: Android, Gear VR, iOS, Linux, MacOS, Nintendo Switch, Oculus, PlayStation 4, Steam VR, Windows, Xbox One

Supported Target Build Platforms: Same as above


Example Project: WfcActorWithBlueprint in Demo Content