In Geometry Nodes I have an instanced object with its material appearing correctly until I drop a Realize Instances node into the tree. What breaks is the mapping. It's my understanding that support for UV mapping in GN is a work-in-progress, however this particular setup attempts to use the Bounding Box in stead of UV data - similar to what quellenform did in this answer.
Here's a simplified setup, with cubes as the instances:

↑ Here the material is using Object mapping, which I actually didn't expect to work.
Well it does work until instances are realized. Then it "breaks" (but looks like you might expect if it had no GN modifier at all). The cubes bounds are not being mapped and passed to the material. ↓

Here is the Geometry Nodes setup:
And the material "Bounds" that Geometry Nodes is assigning:
Is there a way to pass the Bounding Box mapping along to each instance in a way that even if they are "realized" the mapping remains valid?