I was trying to access attributes from objects outside of the node graph but I'm having some problems and I don't know if it's meant to work like that or not.
I have two different node systems. The first one is responsible to write custom attributes for each object on the scene, specifying if they're from group A, B, or both.
The second system instantiates these objects and reads the group they are in or not. But, I can only read these attributes when I import the objects individually as an object or when I realize the collection (and then I can access these attributes at the point domain).
But why can't I read these attributes directly from the collection node?
After trying some things, I discovered that when I transform a geometry (which is already an instance) again into an instance, the attributes are gone.
But, when I realize that instance, the attributes come back at the point domain. So, I guess what is stopping me from getting the attributes directly from the collection info node is that the collection node is acting like a "geometry to instances" node, turning my objects (which are already instances) into instances again.
Is it possible to access these attributes directly from a collection node? Is it a bug? What do you guys think?