Lifecycle
When you press Play, Loom starts up and loads your UI automatically. The bridge is live as soon as the UI page renders — state pushes, action calls, and events all flow from that point.
On Stop
When you exit Play mode, the bridge disposes and any C# event subscriptions
are released. The Vite dev server keeps running between Play sessions for
fast restart; restart it manually with Loom → Restart Dev Server if it
misbehaves.
On Editor restart
After installing or upgrading the Loom Unity package, fully restart Unity. Closing and reopening the scene is not enough — you must restart the Editor.
In player builds
The Vite dev server is editor-only. In player builds, the UI is loaded from
Application.streamingAssetsPath/Loom/index.html, which Vite’s production
build emits.