Renaming a collapsed graph even renames a component function inside that collapsed graph.
How to reproduce:
Create a new ThirdPerson blueprint project.
Open the “ThirdPersonCharacter” blueprint.
Add a new Input event drag a branch with “Uncrouch” and “Crouch” function node.
Select the branch, the “Uncrouch” and “Crouch” node, right-click and “Collapse Nodes”.
Rename the collapsed composite node to “Crouch”
Compile → works (and if you would enable crouching in the CharacterMovementComponent it even crouches).
As you can see inside the collapsed node the Crouch function is owned by character and is commented with the CharacterMovementComponent.
Now go back to the EventGraph and rename the collapsed composite node from “Crouch” to “ToggleCrouch”.
Result: Composite Node and the character function node called “Crouch” inside are renamed both to “ToggleCrouch” (and the renamed function inside the collapsed composite node is not owned by Character class anymore) which causes compile to fail.
Expected: Only Composite Node should rename to the new name while the characters “Crouch” function node should remain same target as it was before.