RemeshByColour doesn't work for Branched Tree. Solutions?

I need to remesh some 20 unique meshes by colour, and i’m using Kangaroos solution ‘RemeshByColour’. However it fails when the tree is branched or even a flattened with multiple meshes when Reset is set to False. If True (grid mode no Remeshing by Colour) it passes

  1. Solution exception:Object reference not set to an instance of an object.

@DanielPiker any thoughts? Or a workaround other then copy/pasting the node 20 x times and creating spaghetti

color_remesh.gh (415.8 KB)