Skip to content

Release v0.3.3 - #4

Merged
brian-taylor-unity merged 1 commit into
mainfrom
release/v0.3.3
Dec 1, 2026
Merged

brian-taylor-unity merged 1 commit into
mainfrom
release/v0.3.3

Conversation

@brian-taylor-unity

Copy link
Copy Markdown
Collaborator

Upgrading

  • Re-seed your goldens with seed --force to pick up the PackageCache fix below. Goldens and worktrees made with v0.3.2 keep working, but worktrees hydrated from an old golden still reinstall their packages on Unity 6000.7 and 7000.0.

Added

  • doctor, hydrate and list warn when a Library/ holds player-build state made in another checkout. uwt never clones Bee or BurstCache, but a Library/ copied in by hand brings them, and so does moving a project after it has built a player. Unity does not notice, and a player built on a copied BurstCache can run the other checkout's version of a changed Burst job. hydrate --json reports it as foreign_build_state (a list of entry and from), and list shows a foreign-build-state tag and a list --json field of the same name. Fix it with hydrate --force, or delete Library/Bee, BurstCache, BuildCache and ScriptAssemblies with the editor closed. It is a warning, never a refusal, and it only sees a Library/ in which a player has been built.

Changed

  • The README and SKILL.md say up front which Unity versions are tested: 6.0 LTS, 6.3 LTS, 6.6, 6.7 (beta) and 7.0 (alpha). SKILL.md gives the import count and disk per version, and what differs between them. 2022.3 and earlier probably work, since the mechanism is the same and the script does not check the version, but they have not been tested.
  • The README charts disk and time per extra worktree against project size.
  • The docs no longer say a first open always re-creates 0.8-1.0 GiB of package binaries. With Library/PackageManager cloned, 6000.7.0b10 re-creates none, and Bee and BurstCache are the main first-open cost.

Fixes

  • Library/PackageManager is now cloned instead of denied. From Unity 6000.7.0b10 and 7000.0 (UPM 9.36) the package manager keeps an install record there, and without it the first open of a worktree reinstalls every non-module package, so PackageCache stops being shared. On the URP sample a worktree's private PackageCache after the first open went from 968 to 111 MiB. The editor ignores the golden's cached paths and re-resolves the worktree in about a second. No change on 6000.3, which has no install record.
  • hydrate --force checks for a running editor again after the clone, before the swap. On macOS and Linux an editor that opened the project during the clone was left on a Library that was then deleted. It now exits 3 (editor_busy) and leaves the old Library in place.
  • macOS and Linux: a dangling symlink at the top level of a cloned directory was dropped instead of cloned.

Upgrading

- Re-seed your goldens with seed --force to pick up the PackageCache fix below. Goldens and worktrees made with v0.3.2 keep working, but worktrees hydrated from an old golden still reinstall their packages on Unity 6000.7 and 7000.0.

Added

- doctor, hydrate and list warn when a Library/ holds player-build state made in another checkout. uwt never clones Bee or BurstCache, but a Library/ copied in by hand brings them, and so does moving a project after it has built a player. Unity does not notice, and a player built on a copied BurstCache can run the other checkout's version of a changed Burst job. hydrate --json reports it as foreign_build_state (a list of entry and from), and list shows a foreign-build-state tag and a list --json field of the same name. Fix it with hydrate --force, or delete Library/Bee, BurstCache, BuildCache and ScriptAssemblies with the editor closed. It is a warning, never a refusal, and it only sees a Library/ in which a player has been built.

Changed

- The README and SKILL.md say up front which Unity versions are tested: 6.0 LTS, 6.3 LTS, 6.6, 6.7 (beta) and 7.0 (alpha). SKILL.md gives the import count and disk per version, and what differs between them. 2022.3 and earlier probably work, since the mechanism is the same and the script does not check the version, but they have not been tested.
- The README charts disk and time per extra worktree against project size.
- The docs no longer say a first open always re-creates 0.8-1.0 GiB of package binaries. With Library/PackageManager cloned, 6000.7.0b10 re-creates none, and Bee and BurstCache are the main first-open cost.

Fixes

- Library/PackageManager is now cloned instead of denied. From Unity 6000.7.0b10 and 7000.0 (UPM 9.36) the package manager keeps an install record there, and without it the first open of a worktree reinstalls every non-module package, so PackageCache stops being shared. On the URP sample a worktree's private PackageCache after the first open went from 968 to 111 MiB. The editor ignores the golden's cached paths and re-resolves the worktree in about a second. No change on 6000.3, which has no install record.
- hydrate --force checks for a running editor again after the clone, before the swap. On macOS and Linux an editor that opened the project during the clone was left on a Library that was then deleted. It now exits 3 (editor_busy) and leaves the old Library in place.
- macOS and Linux: a dangling symlink at the top level of a cloned directory was dropped instead of cloned.

@elbert-s-perez elbert-s-perez left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at ce3b1bb. I read the script, test and workflow changes; CI is green on all nine checks. I did not run the tests locally or try it against a real Unity project, so the PackageManager re-resolve behaviour rests on your measurements.

The foreign build state check reads well: backslashes, paths with spaces, and symlinked or differently cased spellings of the same directory are all handled, and each fix has a test (including the editor race and the dangling symlink).

@brian-taylor-unity
brian-taylor-unity merged commit b2352de into main Dec 1, 2026
9 checks passed
@brian-taylor-unity
brian-taylor-unity deleted the release/v0.3.3 branch December 1, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants