Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[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

Log excerpt:

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).

Related nodes:

alt text

2) Nodes which invoke a function on the reference of a blueprint object instance

Log excerpt:

0]LogBlueprint:Error: [compiler] Error This blueprint (self) is not a BP_ReproSiteBase_C, therefore ' Target ' must have a connection.

Related nodes:

alt text

3) Nodes which invoke a function on the input parameter of a function (and reference of a blueprint object instance)

Log excerpt:

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.

Related nodes:

a) alt text b) alt text

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!

[1]: /storage/temp/29762-logs+and+crash+dump.zip

Product Version: Not Selected
more ▼

asked Feb 12 '15 at 11:43 AM in Bug Reports

avatar image

949 24 29 55

avatar image VSZ Feb 12 '15 at 01:16 PM

UPDATE: I just downloaded 4.7 Preview 6 and tested it there, the issue still persists and the logs display even more errors than the previous build. Quite worryingly the major 4.6 standalone bug for dispatchers that I alluded to earlier appears to have regressed again in this build! (see first section of log excerpt below)

I've attached the logs for Preview 6 for comparison. link text

Here's a quick excerpt of the new errors that weren't present in Preview 5:

[2015.02.12-13.08.04:829][ 0]LogBlueprint:Error: [compiler] Error No delegate function '' PollinateEvent [2015.02.12-13.08.04:829][ 0]LogBlueprint:Error: [compiler] Error Event Dispatcher has no property Bind Event to Interaction Key 2 Held (Timed)

[2015.02.12-13.08.04:779][ 0]LogBlueprint:Warning: [BP_PolliPlant] CreatePinForVariable: 'PolliPlantInRange' variable not found. Base class was probably changed.[2015.02.12-13.08.04:779][ 0]LogBlueprint:Warning: [BP_PolliPlant] RecreatePinForVariable: 'Output_Get' pin not found

[2015.02.12-13.08.04:813][ 0]LogBlueprint:Warning: [compiler] Warning Type mismatch between pins Pollinator and Pollinator [2015.02.12-13.08.04:814][ 0]LogBlueprint:Warning: [compiler] Warning Type mismatch between pins Target and Pollinator

[2015.02.12-13.08.04:820][ 0]LogBlueprint:Warning: [compiler] Warning Could not find a variable named "Pollination In Progress" in 'BP_PolliPlant'. Make sure 'BP_PolliPlant' has been compiled for Set Pollination In Progress

[2015.02.12-13.08.04:820][ 0]LogBlueprint:Warning: [compiler] Warning Could not find a variable named "Pollination In Progress" in 'BP_PolliPlant'. Make sure 'BP_PolliPlant' has been compiled for Set Pollination In Progress

avatar image VSZ Feb 12 '15 at 03:00 PM

One more piece of information - In Preivew 6 I also get a huge number of map check errors (1419) pertaining to 'externally referenced' map components. These weren't present in earlier builds. While I'm not sure whether there is some relationship between these errors and the target link of nodes being broken in standalone mode, in preview 6 I do get an explicit error while launching standalone mode that alerts me about these map check errors.

avatar image TJ V ♦♦ STAFF Feb 13 '15 at 08:11 PM


Was this setup was working correctly in 4.6?

Also, 4.7 Preview 7 is out now. Could you try to see if the error is still present there?

avatar image VSZ Feb 14 '15 at 11:38 AM

Yes the setup was working perfectly in 4.6, with the exception of the widely reported 4.6 standalone bug for dispatchers, which required a local fix/rollback of certain scripts (listed in that link) to fix the issue. Post 4.6. subsequent builds of Unreal had resolved the standalone event dispatcher issue until 4.7 Preview 6, where it appears to have regressed back. The other issues in this report (viz items i. ii. iii. in my original bug report) have been reproducible for quite a while (as early as Preview 5).

I just tested Preview 7, it yields the same results as Preview 6. I'm attaching an image of the map check errors in case it provides a clue. These map check errors only started showing up after Preview 6 (Preview 5 did not throw a map check error although items i) ii) iii) in my report were still reproducible there ).

alt text

avatar image sanford87 Feb 17 '15 at 05:02 AM

I have the same exact problem

avatar image VSZ Feb 17 '15 at 08:13 AM

Hi TJ Ballard, just checking whether you had a chance to investigate this issue.

@sanford87, thanks for reporting, I was worried I was the only one with this bug :P. Just to be sure are you facing both the standalone game issue and map check errors (possibly related) or just the standalone game issue?

avatar image TJ V ♦♦ STAFF Feb 19 '15 at 04:45 PM

I've been trying to get a repro of the issue but so far I haven't had any luck. Could you try this in Preview 8? If the issue is still present (which I suspect it will be), could you post a test project that has this error?

avatar image VSZ Feb 19 '15 at 05:10 PM

I'm afraid I'll have to give you my actual project. I tried pulling just the problematic assets into a test project but there's many interdependencies that end up creating false flag issues.

What's the approved way to share my project with you? As this is my actual dev project that I've been working on for ages just want to be extra sure of the recommended process :)

avatar image TJ V ♦♦ STAFF Feb 19 '15 at 06:20 PM

The preferred way is to upload your project to Google Drive, Dropbox, or other (as long as it's reputable) and send me a private message directly over the Forums with the download link.


avatar image VSZ Feb 19 '15 at 08:32 PM

Thanks, I have sent you a PM with the project.

With preview 8 the project at least doesn't crash in standalone game any longer, although the compilation issues still persist (so objects of affected blueprints are not spawned in standalone game).

To reproduce run my project in both 'Play In Viewport' and 'Play In Standalone Game' and compare the results. For the latter many game objects disappear and the logs contain the snippets I've posted in this thread. The logs also contain a large number of deprecation, accessibility warnings which I haven't fixed yet (these were not present early 4.7 builds but I don't think they're causing the issue in any case)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


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.



more ▼

answered Feb 20 '15 at 02:49 PM

avatar image

41k 1009 183 494

avatar image VSZ Feb 20 '15 at 03:48 PM

Hurray! Thanks so much for finding the repro.

avatar image Kalabrix Jun 29 '15 at 06:53 AM

Hello! Are there any updates on this? It seems that all the errors from above happen in 4.8.0-source built release as well.

Although I am struggling with incomprehensible circular dependencies within my UMG Blueprints, yesterday the Blueprints went fine! Today I started the engine and many node connections were disconnected.

All following pins are of class BP_SectionContainer used in different Blueprints.

In Macro Library used in BP_PlayerController: alt text In BP_SectionContainer: alt text In BP_SectionContainer: alt text

All following pins are of class BP_Section inheriting from BP_SectionContainer.

In BP_PlayerController: alt text

Right now that I made the screenshots I realized that the error must lay in BP_SectionContainer, because it compiled fined yesterday. Is it possible that you cannot use a variable of your own type from within another class (here from GetHUD->SectionContainerReceivingInput (is a BP_SectionContainer)) somehow?

avatar image Rudy Q ♦♦ STAFF Jun 30 '15 at 02:04 PM

Hello Kalabrix,

The issue that is listed on this thread that was reported by TJ Ballard has been resolved. As for the issue that you are experiencing, I have a few questions that will help narrow things down.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide steps to reproduce this issue on our end?

  3. Was the project that is experiencing the issues upgraded from an older version of the engine?

avatar image Kalabrix Jul 04 '15 at 10:48 AM

Hello Rudy,

After implementing all the functions and variables I needed, the issue described above is gone (for now?). I think its gone partially and came from a not completely working Blueprint with re-parenting work to do and the following issue (which may help to understand).

I still have the structure: alt text

The widgets theirselves are arranged in UMG like this (Sections can be encapsulated differently): alt text

BP_SectionContainer contains a function called "RegisterSections" which is overridden in widgets like "MainMenu_Container" or "MainMenu_Frontpage". And anytime I compile BP_SectionContainer or BP_Section, I also have to re-compile all widgets manually which override that function. Widgets which do not override are left alone.

BP_SectionContainer has a variable array "Ref" to reference *BP_Section*s. In the overridden function I fill it with the Sections which are encapsulated in UMG.

alt text

Then the parent of "MainMenu_Container" - BP_SectionContainer - uses "Ref" to do some minor things.

I tried to reproduce it with a really small Blueprint setup but could not get the issue. And yes the project was upgraded from 4.7.2 to 4.8.0 but the Blueprint functions have been implemented after upgrade.

avatar image Rudy Q ♦♦ STAFF Jul 08 '15 at 01:31 PM

Hello Kalabrix,

I am happy to hear that you have your project working and that the issue is no longer occurring. I will be sure to apply any pertinent information from the information that you have provided above and apply it to the report. If the issue happens again please feel free to reopen this issue with additional information on how to reproduce it on our end. Thank you for your time and information..

Make it a great day

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question