When changing the variable type or return type of a function in code and hot reload in the editor, blueprints that use the variable/function do not have their pins updated until the editor is closed and reopened.
Found during 4.20 Bug Scrub that Output Pin's Variable type does correctly change now
4.20 Bug Scrub
Variable's get node type doesn't change after hot reload, the variable does change type in the MyBlueprint panel
Variable's get node type is changed both in the graph and the MyBlueprint panel
1. Open UE4 Editor (any project)
2. Go to File -> Add Code to Project
3. Add a class based on Actor
4. Open class to edit in Visual Studio
5. Add the following code to the .h file:
6. Add the following code to the .cpp file:
7. Compile and open the project in editor
8. Create a new blueprint based on the class created
9. Add the variable and function to the graph
10. In Visual Studios change variable type and return type in .h and .cpp from "float" to "int32"
11. Recompile in editor
Blueprint pins are still treated as floats after compiling
Head over to the existing AnswerHub thread and let us know what's up.