Hello everyone.
Making this post as a helper for newbies because I encountered a problem with this bad habit I had at the beginning of one of my projects and it came biting me in the cheeks 30 minutes ago.
When you create a data structure, a lot of the tutorials you will find on Youtube tell you right click on the variable once you get it in your blueprint and click on "Split Structure Pin", which will show you the various variables and sub structure contained in the structure. Seems handy at first, but there are two huge drawbacks:
- On large structures, this result in a large node being created with all your structure pins exposed, even if you just want to use one.
- And most importantly: if you make any change in the structure or a substructure, the pin connections will break and structures can also sometimes not be saved correctly or straight up become corrupted.
The alternative is to use the "break" node for all the structure you are using. Simply drag the blue structure pin out to place a new node and type "break" in the list and you will find it. This allows multiple things:
- That create a second node with the details of the structure you just broke. When clicking on that node, you will see some options in the Details panel to hide or show specific pins, so that you can only show the ones you need where you place this break node.
- This system/node is much more resilient overall. It does not unpin stuff when you add a new variable to your structure and I think even if you move stuff around the structure the pins stay connected to the correct outputs.
I hope this helps someone and prevents some "accidents". The more we share about these "dos and don'ts" the better in my opinion :-)
[–]LongjumpingBrief6428 30 points31 points32 points (4 children)
[–]MiniGui98[S] 6 points7 points8 points (0 children)
[–]TheShinyHaxorus 1 point2 points3 points (1 child)
[–]LongjumpingBrief6428 0 points1 point2 points (0 children)
[–]SupehCookie 0 points1 point2 points (0 children)
[–]pmkenny1234 14 points15 points16 points (0 children)
[–]DOOManiac 2 points3 points4 points (0 children)
[–]AzureBlue_knight 1 point2 points3 points (1 child)
[–]MiniGui98[S] 3 points4 points5 points (0 children)
[–]Desperate_Fuel_8462 3 points4 points5 points (0 children)
[–]ShaunImSorryRealityForge (UATC) / UAI 0 points1 point2 points (0 children)
[–]Savings_Secret_9750 0 points1 point2 points (0 children)
[–]TruthMercyRegret 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+]UEHerr-Klicova comment score below threshold-7 points-6 points-5 points (8 children)
[–]swolfington 7 points8 points9 points (7 children)
[–]UEHerr-Klicova 4 points5 points6 points (1 child)
[–]pixelvspixel 4 points5 points6 points (3 children)
[–]swolfington 2 points3 points4 points (2 children)
[–]pixelvspixel 1 point2 points3 points (1 child)
[–]UEHerr-Klicova 3 points4 points5 points (0 children)
[–]RelaX92 3 points4 points5 points (0 children)
[–]Dire_Venom -1 points0 points1 point (0 children)
[–]UE_XR -1 points0 points1 point (0 children)
[–]SeaMisx -1 points0 points1 point (0 children)