Hello, as the title suggests, the ‘Hide Unconnected Pins’ button in the Details panel of certain blueprint nodes can cause connected pins to be disconnected. Specifically, this seems to happen with any connected SubPin generated by the ‘Split Struct Pin’ pin operation (I used the ‘Break Neural Profile Struct’ node in my repro as an example). This repro is extremely easy so I don’t think it’s necessary to provide a repro project, but I can if needed.
I did a bit of debugging on the issue in FSkeletalControlNodeDetails::HideAllUnconnectedPins in SkeletalControlNodeDetails.cpp. The ArrayProperty used to track propertyhandles to struct members is not updated with SubPin properties generated from the ‘Split Struct Pin’ operation. When a Pin’s SubPin has a connection, it still satisfies LinkedTo.Num() <= 0, because it does not have any connections (it’s SubPins have the connection). As a result, FSkeletalControlNodeDetails::HideAllUnconnectedPins will hide the Pin with the connected SubPins and break those SubPin connections.
I’m reporting this bug in case it is unknown, and if there’s any fixes available, that would be great! Thanks for the help.
HideUnconnectedPinsBugSetup.png(433 KB)
HideUnconnectedPinsBugResult.jpg(336 KB)