The issue happens when there is a domain mismatch between the output domain set in the node group and the domain of an existing attribute with the same name.
There are 2 possible ways to handle this, I'm not exactly sure which should be preferred yet:
- Use the domain set in the node group.
- Use the domain of the existing attribute.
With this patch, we only write into the an existing attribute if the domain and data type provided by the node group matches the existing attribute.