Is there a tool to convert Blueprint data structures to C++ automatically?

It does feel like a lot of work when thinking about it, but it’s no more than a couple of hours, even for a big project. One of those things where just as little bit of persistence will deliver just fine!

Re-type in the properties and types of each blueprint class. Re-parent the blueprint to inherit from the C++ class. Repeat.

In general, it’s a good idea to build most of your base classes in C++, with properties and event dispatchers. Perhaps also blueprint overridable virtual functions for the most crucial pieces. Then parent your blueprint classes to those C++ classes, and use them in the game. This makes overriding/changing/trying things easy, while the C++ is already there once you know you need a particular feature/behavior.

2 Likes