How do I keep layer names from Figma?

In Figma, I illustrated a character and named all the layers, but when I bring it to Rive as an .svg, all the layer names have disappeared, and the structure has changed. Is there any way to keep them?