Bytecode v7 mismatch with @rive-app/canvas runtime — Lua scripts won't load
Hitting a wall with the latest stable Rive editor producing Lua bytecode the latest stable runtime can't load. Wondering if anyone has a workaround or knows the timeline for runtime support.
Setup
Editor: latest stable Rive (official desktop app)
Runtime: @rive-app/canvas@2.37.5 / @rive-app/react-canvas@4.28.3 (the latest stable on npm)
Electron + React app loading a .riv file via webpack asset/resource
Symptom
Every Lua script in the file fails to load with:
[string "LOGO CYCLE"]: bytecode version mismatch (expected [3..6], got 7)
[string "PRESENT_LOOP"]: bytecode version mismatch (expected [3..6], got 7)
ScriptAsset doesn't have a generator function LOGO CYCLE
ScriptAsset doesn't have a generator function PRESENT_LOOP
Artboards still render their static base state, and viewmodel writes from React still propagate (enums, booleans, numbers), but anything the scripts do dynamically (e.g. :instance() to spawn nested artboards from script inputs) doesn't happen because script init never runs.
Trigger
Re-exporting the .riv from the editor recompiles all Lua scripts to v7 bytecode. Older .riv exports that had v6 bytecode were loading fine; once we re-saved/re-exported, the file became unloadable for our runtime.
Questions
Is there a planned release date for @rive-app/canvas supporting bytecode v7?
Is there a setting in the Rive editor's export dialog to target an older runtime / older bytecode version? (We didn't find one.)
Are the alpha (@rive-app/canvas@1.0.80-alpha.6) or beta (1.0.1-beta.1) channels viable for v7 support, or are those an unrelated next-major-version branch?
Any other workaround we're missing short of removing all Lua scripts and rebuilding the behaviors with state machines?
Happy to share more details if needed — minimal repro, full stack trace, what specifically the scripts are doing (dynamic instance spawning + viewmodel input reads). Thanks!