✅ Solved: .Riv Stops Appearing after Small Edit (Web JS)
I made my own bar graph similar to the “stocks.riv” official rive example.
It worked well with my first .riv file (example A). But after I updated the red vertical bar (using databinding instead of the state machine), the .riv stopped appearing (example B).
I have attached the .rev and .riv files for both examples A and B. As well as a codesandbox project where you can see the riv file stop working by simply changing the source from “A.riv” to “B.riv”.
https://codesandbox.io/p/sandbox/psf7vk
I am using Chrome on a Mac M2 computer. I originally built this .riv for a electron node JS app, but created this web version to replicate the issue and get support.
I do not understand why a small edit on the Rive side caused it to no longer appear. I have not found mention of this phenomenon in the Rive documentation or forums. I have ran into similar “disappearances” of the .riv in other projects, which worries me.
Can someone explain what happened? I would love to understand this and be more confident that my .riv files can appear correctly, before I market Rive projects to clients.
Thank you!!
A.riv loads fine
B.riv does not appear