Migrate from v0.12 to v0.13
Loom 0.13 changes the Unity package identifier from com.loomgui to onl.snack.loom. The C# namespaces and the @loomgui/bridge and @loomgui/vite-plugin npm package names are unchanged.
1. Replace the Unity package dependency
Close the Unity Editor, replace the old dependency in Packages/manifest.json, and point the new identifier at the Loom 0.13
tarball:
{
"dependencies": {
"onl.snack.loom": "file:onl.snack.loom-X.Y.Z.tgz"
}
} Remove the old com.loomgui entry rather than keeping both identifiers. Unity
updates Packages/packages-lock.json when it resolves the new manifest.
If com.loomgui appears in the manifest’s testables array, replace it with onl.snack.loom there as well.
2. Reopen Unity
Reopen the project and let Package Manager resolve onl.snack.loom. Because
Unity pins native libraries for the lifetime of the Editor process, closing
the Editor before changing the dependency avoids retaining the old Loom native
plugin.
3. Sync UI dependencies
Run Loom → Sync UI Dependencies. Your C# code and UI imports don’t need to
change: the public Loom API and the @loomgui/* npm package names remain the
same.