[4.7 Preview 5] Standalone game BP compile issues
Launching a standalone game in 4.7 Preview 5 crashes my project (crash dump, logs attached). This is the binary version installed from the Unreal Launcher, the project was converted from 4.6.1.
Inspecting project log reveals that several blueprints failed to compile because the target input node was found to be invalid. Three types of invalid target nodes are observed:
1) Nodes with Array operations
LogBlueprint:Error: [compiler] Error The current value of the ' TargetArray ' pin is invalid: Array inputs (like 'TargetArray') must have an input wired into them (try connecting a MakeArray node).
2) Nodes which invoke a function on the reference of a blueprint object instance
0]LogBlueprint:Error: [compiler] Error This blueprint (self) is not a BP_ReproSiteBase_C, therefore ' Target ' must have a connection.
3) Nodes which invoke a function on the input parameter of a function (and reference of a blueprint object instance)
0]LogBlueprint:Error: [compiler] Error Variable node Get Faction Name uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.
These blueprints compile without any issues in the editor and in previous versions of the engine these also worked perfectly in standalone game mode.
I consider this a somewhat serious bug as it is becoming a pattern for projects to not work in standalone or shipped modes due to some quirk or catch. To elaborate on this comment, standalone game did not work in 4.6 either because of this bug which affected many projects and required one to build the engine from source and apply a local fix to event dispatcher code. Just to want add that I really appreciate the hard work Epic puts into each release, just want to point out that standalone/shipped builds often tend to have these quirks that are often very difficult to reproduce.
I'm not able to reproduce this bug in the standard templates or Epic's samples. Let me know if you need any further information to investigate this bug!
Thanks for sending me the project, I was easily able to reproduce the issue. I've entered this as JIRA UE-10283 in our system and the developers will be investigating it further.
We'll post back here as soon as we have an update.
answered Feb 20 '15 at 02:49 PM
TJ V ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here