# \[BUG\] Cluster data differences between inside and outside

**URL:** <https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012>\
**Category:** Grasshopper\
**Created:** [March 29, 2020, 1:10am UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012 "2020-03-29T01:10:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Czaja](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/czaja/32/472252_2.png) [@Czaja](https://discourse.mcneel.com/u/Czaja)\
**Post date:** [March 29, 2020, 1:10am UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012/1 "2020-03-29T01:10:47Z")

</div>

There are some cluster data differences between inside and outside of the cluster. I’ve found some old topic about that.

> **[Cluster output is different than inside cluster](https://www.grasshopper3d.com/forum/topics/cluster-output-is-different-than-inside-cluster)**
>
> Simple error/bug:
> The output from a cluster is different than the results viewed inside(/editing) the cluster. The output seems to give an older solution, alth…

I’m using Rhino WIP.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/0/80039a1d3d60cf178c2f619dd2d729857c61d67a.png)  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/9/6996e12863f88dea0e03d30907afd8441d874a43.png)

[https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/5/2/a52de96e56d2684a51d8e609f880720abd6233a3.mp4](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/5/2/a52de96e56d2684a51d8e609f880720abd6233a3.mp4)

---

<div class="post-metadata">

**Author:** ![Czaja](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/czaja/32/472252_2.png) [@Czaja](https://discourse.mcneel.com/u/Czaja)\
**Post date:** [March 29, 2020, 12:02pm UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012/2 "2020-03-29T12:02:12Z")

</div>

After some more investigation this morning, I found what causes trouble. Empty branches doesn’t make it into the cluster. Looks odd for me, please correct me if I am wrong.

GH File:  
[empty branches cluster.gh](https://discourse.mcneel.com/uploads/short-url/62Qtsn9XLVN8i4Zs9o6RtiCTg6V.gh) (28.4 KB)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/3/d/3dfd32f06571bb3c4149fb3a38cd687b6e2d28f1.png)

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/4/7/4710cede06163d74f7df9aaa798445e84c55ec4e.png)

---

<div class="post-metadata">

**Author:** ![Dani\_Abalde](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/dani_abalde/32/759411_2.png) [@Dani\_Abalde](https://discourse.mcneel.com/u/Dani_Abalde)\
**Post date:** [March 29, 2020, 12:07pm UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012/3 "2020-03-29T12:07:14Z")

</div>

To avoid this problems when you update a cluster, you have to delete the output hook and plug a new one.

---

<div class="post-metadata">

**Author:** ![Czaja](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/czaja/32/472252_2.png) [@Czaja](https://discourse.mcneel.com/u/Czaja)\
**Post date:** [March 29, 2020, 12:17pm UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012/4 "2020-03-29T12:17:31Z")

</div>

I tried what you said but without success.  
In my case it was the opposite order than in usual scenario, which confused me.  
I made my part of the definition inside cluster where it worked fine because cluster input performed kind of _Clean Tree_ with _Remove Empty_ for me (which I didn’t know about). After I received good results I saved cluster and used it outside. But performing cluster action from outside, cluster is not removing empty branches - which gave me wrong results.

To work around it, I just added _Clean Tree_ component before cluster input.

Now when I know what exactly causes this problem I could name it correctly and search for it in the web. It’s a very old bug, discovered in 2014.  
I guess I’m bumping it a bit.

> **[Cluster removes empty paths](https://www.grasshopper3d.com/forum/topics/cluster-removes-empty-paths)**
>
> Hi David,
> 
> Here a small unexpected behaviour with clusters:
> When inputting empty branches, into a cluster, the cluster will automatically remove the empty bran…

> [@Empty branches hidden inside cluster](https://discourse.mcneel.com/t/empty-branches-hidden-inside-cluster/83001):
>
> This is an old topic but there hasn’t been an update on it for a while so I’m posting it again. all looking good from outside, but… [image] inside empty paths are missing. Clearly, this only becomes a problem for previewing an output when working inside clusters but it’s still pretty critical.

> **[Cluster removing empty paths. : RH-42155](https://mcneel.myjetbrains.com/youtrack/issue/RH-42155)**
>
> See: http://www.grasshopper3d.com/forum/topics/cluster-removes-empty-paths…

---

<div class="post-metadata">

**Author:** ![Vladimír\_Příbramský](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/vladim%C3%ADr_p%C5%99%C3%ADbramsk%C3%BD/32/645205_2.png) [@Vladimír\_Příbramský](https://discourse.mcneel.com/u/Vladim%C3%ADr_P%C5%99%C3%ADbramsk%C3%BD)\
**Post date:** [January 6, 2023, 4:34pm UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012/5 "2023-01-06T16:34:09Z")

</div>

Wow finding this tread was so helpful!

I suffered the same problem and I was just trying out what I thought would be “cached” results.

Now I just use this, that makes the data what I see internally in cluster the same as outside.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/e/1/ce1a27d8d59edc0443b5bedeaa8a1cff0523cc5c.png)

---

<div class="post-metadata">

**Author:** ![moby-dk](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/moby-dk/32/505496_2.png) [@moby-dk](https://discourse.mcneel.com/u/moby-dk)\
**Post date:** [May 10, 2023, 5:16pm UTC](https://discourse.mcneel.com/t/bug-cluster-data-differences-between-inside-and-outside/99012/6 "2023-05-10T17:16:19Z")

</div>

Hello @DavidRutten @stevebaer , is solution for this problem really rescheduled for the 8.x version of Rhino? Will It be pushed even further?  
This bug makes Clusters unreliable so I resigned from using them even though I would really like to!

This problem is known for **9 years**!  
9 years of spaghetti for every dinner.

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/a/f/faf55b4186da26f0de26ee8dbbec97b1641a6cdb.png)

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/9/2/f925bf4c692d2920769eb178fc23e1ae1966104d.png)

* * *

EDIT:

Both Rhino and Grasshopper gets new features in Rhino 8. Can you please tell if this long standing issue will make the list? Clusters are important and if they are reliable or not makes a huge difference in using Grasshopper.
