# \[4.7.2\] Incorrect behavior in Blueprint when renaming input pins after collapsing a Gate node

**URL:** <https://forums.unrealengine.com/t/4-7-2-incorrect-behavior-in-blueprint-when-renaming-input-pins-after-collapsing-a-gate-node/310999>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, Blueprint, question\
**Created:** [March 15, 2015, 12:35am UTC](https://forums.unrealengine.com/t/4-7-2-incorrect-behavior-in-blueprint-when-renaming-input-pins-after-collapsing-a-gate-node/310999 "2015-03-15T00:35:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lee\_Berger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lee\_Berger](https://forums.unrealengine.com/u/Lee_Berger)\
**Post date:** [March 15, 2015, 12:35am UTC](https://forums.unrealengine.com/t/4-7-2-incorrect-behavior-in-blueprint-when-renaming-input-pins-after-collapsing-a-gate-node/310999/1 "2015-03-15T00:35:39Z")

</div>

I was cleaning up some of my Blueprints by using Collapse Nodes feature. I discovered that after collapsing a Gate node, renaming input pins to collapsed graph node also incorrectly updates input pins on Gate node.

I’m using version 4.7.2 from launcher.

Repo:

_Step 1:_ Create following blueprint graph:

![34215-image1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/7/e57fc60d84f89efd35a655b1cdec281c8f81981d.png)

_Step 2:_ Select Gate node and use Collapse Nodes. This makes following graph:

![34216-image2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/6/2166cfb8da430f1bbb0ac169edfdfa256a522c9f.png)

With contents of collapsed graph as follows:

![34217-image3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/5/4e597d9a1b5d26ea2a04992201f20cd4fb984cf2.png)

_Step 3:_ Open collapse graph, select Inputs node, and rename any of input pins. This will incorrectly update input pins on Gate node as follows:

![34218-image4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/8/5/085ee4f21dc7cae1fdccf4760f637f21b926cec1.png)

This Blueprint will no longer compile. Simply breaking one of pins to Gate node will reset Gate node to its proper state.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [March 15, 2015, 5:03pm UTC](https://forums.unrealengine.com/t/4-7-2-incorrect-behavior-in-blueprint-when-renaming-input-pins-after-collapsing-a-gate-node/310999/2 "2015-03-15T17:03:54Z")

</div>

Hi Lee,

Thanks for your report! I was able to reproduce this in 4.7.2 as well as our main internal build, and I’ve entered a bug report for it (UE-11874). I’ll let you know when I see any update on it. Thanks for posting workaround for it as well!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [May 12, 2015, 4:19pm UTC](https://forums.unrealengine.com/t/4-7-2-incorrect-behavior-in-blueprint-when-renaming-input-pins-after-collapsing-a-gate-node/310999/3 "2015-05-12T16:19:07Z")

</div>

Hi Lee,

Just wanted to let you know that this has been fixed internally and should be working in 4.9 once that is released. Thanks again!
