10d ago

Empty Placeholder Warnings at Export Time

A few times now,we have tried to figure out why a file wasn't working as expected from editor to share link (or C++ viewer in our case of debugging a menu). Things weren't super obvious as to why maybe the graphic looked broken, sometimes without any errors on the console. A lot of errors we track down are because in the editor, there was a transition set up with a condition for a state machine input, or maybe an event being reported on a transition. And if that input or event is removed, the placeholder remains on the transition (with an empty select input in place of it).

This doesn't cause issues in the editor rightfully, however, when exported to a .riv, it seems the runtime complains when some of these conditions with deleted inputs/events remain, and can break.

Ask: A warning at export time to indicate these broken transitions to folks in the editor.

Maybe we could put warnings like this in the state machine console too?

That would be a nice add-on to this. Highlighted to make it obvious, or a different color text or something

Join the discussion
Join Rive to reply ⇧ J