Regression in 0.8.5134: Editor instantly quits on Pause/Stop with a GPU Canvas script (worked fin...

Environment

  • Rive Early Access 0.8.5134 (build 5121), auto-updated via Sparkle on Jul 3

  • macOS 26.5.1 (25F80), MacBook Pro, Apple M1 Max, 64 GB

  • File uses the experimental GPU Canvas feature from a Node script (Luau)

Summary

After auto-updating to 0.8.5134, pressing Pause (or Stop) while playing an artboard that contains a GPU Canvas Node script makes the editor quit instantly, every single time. The same file, with the same script, survived two full days of heavy Play/Pause/Stop cycles on the previous build without a single crash. The regression appeared immediately after the update.

Notably, the app closes silently: no macOS crash report is generated in DiagnosticReports, so it looks like an internal abort/exit rather than a signal crash.

Repro steps

  1. Open a file with an artboard containing a Node script that uses GPU Canvas (context:gpuCanvas, several GPUPipeline / GPUTexture render targets, offscreen passes).

  2. Press Play. Everything renders and runs perfectly.

  3. Press Pause (or Stop).

  4. The editor process exits immediately. 100% reproducible.

Isolation done so far

  • Playback itself is fine; only the transport transition out of Play kills the app.

  • Replacing the script with a no-op (empty init/draw, no GPU Canvas calls at all): Play → Stop no longer crashes. So the trigger is specifically the GPU Canvas usage.

  • Triggering a script recompile/hot-reload from the MCP server (no Play/Pause involved at all) also kills the editor, reproducibly. So the common denominator seems to be re-running init() of a script that creates GPU Canvas resources - i.e. tearing down / recreating GPU pipelines, textures and offscreen render targets.

  • Static script diagnostics report no errors; removing unrelated nested components from the artboard changes nothing.

  • The script creates: 1 gpuCanvas, ~5 pipelines (main mesh, offscreen shadow mask, 2-pass blur, full-screen post), several rgba8unorm render-target textures and a depth32float texture. All of this worked flawlessly before the update, including Pause/Stop.

Expected

Pausing/stopping (or hot-reloading a script) should tear down and reinitialize GPU Canvas resources without killing the editor - as it did on the build prior to 0.8.5134.

Happy to share the .riv privately or run a debug build if that helps.