# Editor hangs on awkward router node connections

**URL:** <https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757>\
**Category:** Mobile\
**Tags:** node, graph, unreal-engine, editor, question\
**Created:** [February 17, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757 "2016-02-17T13:28:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bstone](https://forums.unrealengine.com/u/bstone)\
**Post date:** [February 17, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/1 "2016-02-17T13:28:22Z")

</div>

I’ve been rearranging my node graph and double clicked a connection line between two router nodes to add another router node in between. It turned out that the new router node got connected to the input pin of the previous router node (apparently I had the connection line going from the input pin instead of the output one). I’ve dragged a new connection from the new router node to the output of the previous router node to fix that but that put the editor into infinite loop.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [February 17, 2016, 4:06pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/2 "2016-02-17T16:06:32Z")

</div>

Hi bstone,

- Does this occur in a clean, blank project with no additional content or is it limited to one project?
- Can you post your dxdiag here so I can take a look?
- What steps can I take to reproduce this error on my end?
- Did the editor crash or did you have to manually shut it down? If it crashed can you post your callstack and crash logs here so I can take a look?

---

<div class="post-metadata">

**Author:** ![bstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bstone](https://forums.unrealengine.com/u/bstone)\
**Post date:** [February 18, 2016, 9:44am UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/3 "2016-02-18T09:44:58Z")

</div>

Hi ,

Yes, I’ve been able to reproduce it in a blank project with no content.

My

[78955-dxdiag.txt.](https://forums.unrealengine.com/uploads/short-url/v6hBiMOjJKFtQMHZLQgGWe9Ywqz.zip) (5.83 KB)

output is attached.

The steps to reproduce:

1. Create a blank project with no content
2. Add a Cube actor
3. Open the level blueprint and reproduce

 ![78956-editor-killed.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/c/66cfd21ceef1e76505b3879b8fd72311dcd7ed64.png)

I had to manually shut down the editor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [February 18, 2016, 4:34pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/4 "2016-02-18T16:34:02Z")

</div>

Does this only occur if you create an infinite loop in the execution pins?

---

<div class="post-metadata">

**Author:** ![bstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bstone](https://forums.unrealengine.com/u/bstone)\
**Post date:** [February 19, 2016, 6:42am UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/5 "2016-02-19T06:42:05Z")

</div>

I don’t know. That’s there I’ve spotted the issue. I can repeat that with non-execution pins and let you know if that helps.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [February 23, 2016, 4:54pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/6 "2016-02-23T16:54:45Z")

</div>

Hi bstone,

Have you had any luck reproducing this on your end?

---

<div class="post-metadata">

**Author:** ![bstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bstone](https://forums.unrealengine.com/u/bstone)\
**Post date:** [February 24, 2016, 1:20pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/7 "2016-02-24T13:20:33Z")

</div>

Hey ,

I tried it and non-execution pins didn’t let me wire them in the way I wired the execution pins. The moment I wire a non-execution reroute node to another the original reroute node overrides its input whereas with execution pins it adds a new wire to the reroute inputs. Apparently the problem is only related to execution wires where the editor lets you make one reroute node being both the input and the output of another reroute node.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [February 24, 2016, 4:24pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/8 "2016-02-24T16:24:40Z")

</div>

I believe this is due to the nature of execution pins and how they have been coded. It isn’t a bug, but infinite loops will cause freezes and hangs if implemented in code. To avoid this, it is best to remove a connection before making another if an infinite loop would be created in the process.

---

<div class="post-metadata">

**Author:** ![bstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bstone](https://forums.unrealengine.com/u/bstone)\
**Post date:** [February 24, 2016, 6:46pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/9 "2016-02-24T18:46:51Z")

</div>

I think the whole point has been lost. So I will restate it: the editor hangs when a user performs a legit action of wiring graph nodes. It’s not the user creating infinite loops but the editor entering an infinite loop and dying. When it does that it has to be terminated with any unsaved work being lost.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [February 24, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/10 "2016-02-24T19:03:48Z")

</div>

I have attempted this several times and, unfortunately, the only time it hangs is when I attempt to compile the blueprint, which will cause the infinite loop as shown in the image posted above to fire indefinitely, or if I press Play in Editor, which will cause the same error to occur. This is expected in this case.

The best course of action I can suggest is to not wire your nodes in such a way that it will create an infinite loop out of the execution pins (as in the above image). You can prevent this by altering the placement of the reroute nodes or, alternatively, remove the initial connection between the reroute nodes before adding a new connection if you are trying to replace the original connection.

---

<div class="post-metadata">

**Author:** ![janinebrewer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janinebrewer](https://forums.unrealengine.com/u/janinebrewer)\
**Post date:** [April 6, 2019, 10:15am UTC](https://forums.unrealengine.com/t/editor-hangs-on-awkward-router-node-connections/347757/11 "2019-04-06T10:15:47Z")

</div>

Are you talking about NodeJS?
