Cook failure (BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenModule.cpp)

We’re having custom plugin in our project ( Blueprint/C++ Advanced Templates , Tools & Plugins - Released Projects - Unreal Engine Forums )
After fixing some errors with code, we’re still getting “Unknown cook failure” but this time only with this line:
Assertion failed: bSuccess [File:D:\Build++UE4+Release-4.12+Compile\Sync\Engine\Source\Developer\BlueprintNativeCodeGen\Private\BlueprintNativeCodeGenModule.cpp] [Line: 390]

I’ll upload the whole log. Anyone got any tips on how to proceed from this point? Already tried to just erase this line, still won’t work.

I know there’s plenty of warning in log, but this project were packaging successfully before implementing this plugin.

link text

Hello Ysseret,

There seem to be a couple problems here. First, there’s this message:

LogBlueprint:Error: Compiler Error The type of Object is undetermined. Connect something to Cast To CH_spiders to imply a specific type. from Source: /Game/Blueprints/walls.walls

This is indicating a blueprint issue where there is an object whose type isn’t being defined when it needs to be.

The other is the assertion message you mentioned. Seeing as it’s mentioning BlueprintNativeCodeGenModule.cpp, I believe this means that you have Nativize Blueprint Assets enabled. There is currently a bug report in, which you can find here, about packaging failing if this option is enabled while the project contains 3rd party plugins, so you’ll need to disable this option.

Thanks, I’ll try that.