4.12 Blueprints fail to compile (GenericShooter)

Hi,
i’d like to report an issue with blueprints not compiling and loosing their node connections in 4.12 - I tested this with the GenericShooter Example from Michael Allar.

Issue 1:
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.06.02-08.57.32:698][ 0]LogBlueprint:Error: Compiler Error The current value of the ’ Target Array ’ pin is invalid: Array inputs (like ‘Target Array’) must have an input wired into them (try connecting a MakeArray node). from Source: /Game/GenericShooter/UI/MainMenu/Widgets/Menus/WB_HostGame

When opening the blueprint it does not show any errors inside the editor and compiles fine. When you open the blueprint and try to add a variable the engine will crash. It is not possible to alter the blueprints, it appears that the changes are not saved.

Hello,

  • Can you reproduce this issue in a clean project?
  • Could you please provide the logs from your project’s Saved->Logs folder after the crash occurs?
  • Also, after the crash occurs, please provide your Machine ID from the Crash Reporter window and ensure to hit send on the report.

Hi Sean,
the issue comes up when trying to cook the stock GenericShooter Template you have on the marketplace. I gave you this information so you have a project to reproduce the issue. Load up the template in 4.12, open blueprint WB_HostGame and add a variable to it. The editor will crash, you also cannot package a client, it will generate errors even when the BP will be compiling fine in the editor window.

I’m assuming with “Clean Project” you mean creating a 4.12 project from scratch - that doesn’t make sense in this case because the issue comes up from migrating 4.11 blueprints.

Hello,

If this is an issue with an unofficial marketplace asset, you’ll need to get in contact with the creator of that asset. It looks like this particular template is only supported through 4.11, so you’ll likely need to wait until the creator updates it for 4.12 for it to work properly in the new version.

If you are able to reproduce this same crash/issue in a clean project, feel free to post that information here and we can continue to investigate.

Have a great day

Sean, when opening the blueprint and trying to alter it the editor crashs and it shows no errors, yet doesn’t compile when packaging. I think this is a serious bug inside the editor that should not happen - some sort of hard to find race condition. I do not see how the creator can address the issue without using the editor. Are you sure you want to pass on this issue ? I believe you have a critical bug here that is hard to reproduce when reported - if it would have happened in one of my blueprints there would be no way to report it - and in this case we are lucky to have the reproducable project on the marketplace. So could you please consider to install the project, open the BP in the editor and try to add a variable to it.

I mentioned this asset because the bug i am experiencing with my project migration from 4.11 to 4.12 appears to be happening in his project as well.

After speaking to our marketplace team, it appears that there is nothing we can do until the creator updates the content for 4.12. At this time, they will be able to report issues with their content.

Have a great day

https://github.com/EpicGames/UnrealEngine/commit/379dc42af86ad8320d383ce1fb76781ec8236b9b

There we go… found someone who is willing to investigate this further…