If a code defined function that takes in a parameter is called from blueprints, the BP node will show the input pin for the parameter. If the parameter list is changed after the node is created and a hot reload is performed the pins on the BP node are not updated to match the new param list.

Removing the function node and replacing it will show the updated param list.

Steps to Reproduce

1. Open UE4Editor (any project)
2. Add code to project based on Actor (MyActor)
3. In the header file add the following:

UFUNCTION(BlueprintCallable, Category = Test)
void TestFunction(float value1);

4. In the source file add the following:

void AMyActor::TestFunction(float value1)

5. Compile
6. In the editor create a blueprint based on MyActor (MyActorBP)
7. In Event Graph add a call to TestFunction (note the pin for Value1)
8. Back in VS, change the param list in header and source file to

(float value1, float value2)

9. Compile

After changing the param list and doing a hot reload the BP node does not register the new input pin.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.7.54.8
Target Fix4.8
Fix Commit2525773
CreatedApr 17, 2015
ResolvedMay 11, 2015
UpdatedApr 27, 2018