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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Blueprint can't be nativized with a function with delegate-type input variable

I have been having issues packaging a project with Nativization set to Inclusive. The issue seems to be in passing a delegate to a function.

Steps to reproduce (tested in 4.20.3, still present in 4.22.2):

  1. Create empty project (code or blueprint)

  2. Create an Actor

  3. In the Actor, create an event dispatcher and a function that calls "Bind Event to DispatcherName". Drag the event pin to the function input node to create a delegate-type input variable.

  4. In the Actor, call the function on BeginPlay. Connect a CustomEvent to the dispatcher pin.

  5. Place actor in map, add map to list of maps to package, set Nativization to Inclusive. Compile and package.

ComponentBP ActorBP

This results in the following log: https://pastebin.com/bZ34cy0U The relevant part of the log being lines 626 - 628. So, it boils down to

Reason: cannot convert from 'ATestActor_C__pf1010915279::FTestComponentDispatcher__pf__TestComponent_C__pf__SinglecastDelegate' to 'const UTestComponent_C__pf1010915279::FTestComponentDispatcher__pf__TestComponent_C__pf__SinglecastDelegate'

The generated CPP file cannot convert the SinglecastDelegate to const SinglecastDelegate. The project packages fine without nativization and functions as intended, so this is clearly a natvization bug. Please let me know if there is a fix.

Product Version: UE 4.20
component.png (128.2 kB)
actor.png (178.3 kB)
more ▼

asked Sep 27 '18 at 02:17 PM in Bug Reports

avatar image

95 7 8 11

avatar image Jeff A ♦♦ STAFF Sep 28 '18 at 02:00 PM


We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.



avatar image Kassym123 Oct 15 '18 at 01:05 PM

Just in case anyone else has this issue, you can now track it here: https://issues.unrealengine.com/issue/UE-64677

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

0 answers: sort voted first
Be the first one to answer this question
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