Two serious errors with nativized blueprints

Unreal Engine’s new solution for converting blueprints into C++ is amazing and mostly seems to work fine. I have a massive blueprint project and have only found two real issues, so this is very impressive. However, the two errors I have encountered completely break my project, so I hope these can be resolved. I have [attached a small project][1] based on the third person template here where I have managed to replicate both bugs.

The first bug is that if you have a child animation blueprint in your project with different animations from the parent AnimBP set in Anim Graph Overrides causes an error when packaging which prevents the project from being packaged. The animation blueprint does not need to be used by any actors in a map. Having it in the content browser is enough. [Here is the Output log][2] after attempted packaging.

The child animation blueprint in question:

The second bug is that resizing an array of structs causes it to be populated by seemingly random values instead of the default values of the struct. It works fine before packaging or if packaging without nativizing blueprints. This only happens when using the Resize node and not when resizing the array by adding items one by one using a forloop or something similar. It also only seems to happen if the struct contains more than one variable.

The struct I’ve used for replicating the bug:

The nodes I’ve added to the Event Graph of ThirdPersonCharacter so that the bug can be easily observed at runtime (by pressing 1):

The result of pressing 1 after running a packaged project (Using PIE all values are 0):

A link to the project can be found [here][7]. If anyone wants to package the project they will need to delete ThirdPerson_Anim_BP_Child or change its overridden animation back to default.

I hope it will not be too difficult to resolve these issues in a later update. These issues make using Nativize Blueprints impossible in my marketplace asset The Advanced Turn Based Tile Tookit, so at the very least it affects hundreds of users. Otherwise I’ve found Nativize Blueprints to be amazing and the performance improvements I’m seeing are nothing short of incredible. I will add new comments to this thread if I discover more similar bugs.

Hello,

I have been able to reproduce your animation issue, and have entered a bug report, UE-32028. As far as the other issue goes, please create a new post in the Bug Reports section so that we can investigate it as a separate issue. Thank you.

Have a great day

Thank you Sean. I’ll make a separate bug report soon.