Unreal Engine 4 has the ability to convert Blueprints into C++ code when packaging the game through Blueprint Nativization. It is disabled by default and unnecessary in most cases, but if you're trying to squeeze every bit of performance out of your project, you may consider doing this, if converting your code into C++ yourself isn't an option.
To enable Blueprint Nativization, go to Edit | Project Settings. In the Project | Packaging section, there will be a Blueprints section near the bottom. There are two options that we'll need to look at, as follows:
At the top, we have the Blueprint Nativization Method. By default this is disabled, but there are two other options:
- Inclusive: This will nativize all Blueprint assets
- Exclusive: This will only nativize Blueprint assets that are specified in the List of Blueprint assets to nativize option...