Blueprints To C++ (BP2CPP) is an Unreal Engine plugin that takes your Blueprints logic and generates equivalent C++ source code to improve the performance and reliability of your game projects. While human effort around optimizing Blueprints logic is both costly and time-consuming, BP2CPP delivers a native-like experience without the hassle. Given the diverse set of performance constrained platform targets and the interconnected nature of Blueprints, having an efficient way to execute them opens completely new doors for game development.
BP2CPP is a general plugin that is designed to work with all Unreal Engine 4 & 5 games, it does not require you to change anything about your existing Blueprints or workflow.
Over time as your project grows, the number and complexity of Blueprints steadily grows with it. Messy Blueprints are tech debt. In order to maintain an acceptable level of performance, you might consider rewriting some of your Blueprints to C++ manually, but that can be very tedious when the problem is already noticeable.
Without any manual optimization effort involved, here are some benchmarks that showcase BP2CPP's performance improvement when optimizations are applied as part of the compilation process, producing highly efficient machine code.
Fluid Ninja LIVE is a highly advanced Blueprints only fluid simulation project from the Fab marketplace, showcasing mesmerizing visuals, detailed physics interactions with the environment, and complex shaders. Even in a challenging topic like fluid simulation, BP2CPP delivers a substantial improvement on the fluid solution update logic, doubling the average performance.
This benchmark is also revealing, as it has arithmetic semantics designed to be hard for a compiler to optimize and a CPU to execute. We observe an average speed increase of 15x compared to the original Blueprints VM. This result also translates to a wide range of typical arithmetic functions that games can have.
Without any limitations on how complex Blueprints logic might be, BP2CPP is designed to convert any function a Blueprints designer can create into the most efficient implementation that a CPU can execute.
BP2CPP is both available as a button in the editor toolbar and from the command-line. You don't have to modify the engine source to install it, edit the generated code or design your Blueprints in a specific way for it to work. After an effortless integration, BP2CPP is going to be ready to ship your game with efficient, nativized code right away.
All you have to do is click a single button (or use the command-line) and the magic will happen within minutes – or even seconds, for some projects.