Grass shader not working for version of R3F >= 8


I’ve found this cool sandbox of instanced grass, but this seems to not work anymore with versions of react-three-fiber >= 8. The grass shader just doesn’t appear anymore.
Does anyone know how it can be solved?

It was just the old notation to attach attributes that has to be updated for v8.
attach={"attributes-offset"} instead of attachObject={["attributes", "offset"]}
The same for the others.
Now it Works!