Sockets names are usually FName, not FText; if this code works, maybe FText can be implicitly converted to FName. You can try FName(“ToolSocket”), but I don’t think that’s the issue, because if socket is not found, it will normally get attached to the component origin instead.