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.
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
Result:
After changing the param list and doing a hot reload the BP node does not register the new input pin.
LS-0019-IS-PQR23 on the start of running UE4
Request a info about UE-127172 bug tracker
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Delay nodes occasionally don't fire the "Completed" output in a nativized build
How to achieve HLSL Multiple Render Target in Material blueprints?
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.7.5, 4.8 |
Target Fix | 4.8 |
Fix Commit | 2525773 |
---|
Created | Apr 17, 2015 |
---|---|
Resolved | May 11, 2015 |
Updated | Apr 27, 2018 |