Users can enter blueprint function names without spaces, for example PascalCase (MyFunctionName) or snake_case (my_function_name). The "My Blueprint" tab functionality for naming functions allow all these types of names in blueprint.
A problem appears when opening the function graph and focusing the function entry node (K2Node_FunctionEntry). Its details panel displays the node's Name property in text display format, so MyFunctionName, my_function_name all display as "My Function Name". When you focus this field and unfocus it, the function name gets changed to "My Function Name" even though the user did not intend any edits or pressed enter to commit a change.
This is a problem when the user is calling a function by name, for example using SetTimerByFunctionName and did not intentionally change the function name. Furthermore, it marks the blueprint asset as modified even though there should be no modifications when just focusing/unfocusing the field.
This request is to only rename the function when unfocusing a K2Node_FunctionEntry's name property if the user changed the text field's value. Alternatively, we should just display the underlying value for the node's Name property rather than a prettified value.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-200253 in the post.
1 |
Component | UE - Gameplay - Blueprint Editor |
---|---|
Affects Versions | 5.2, 5.3 |
Target Fix | 5.6 |
Created | Nov 13, 2023 |
---|---|
Updated | Sep 30, 2024 |