Skip to content

Release v0.3.3 - #3

Closed
brian-taylor-unity wants to merge 1 commit into
mainfrom
release/v0.3.3
Closed

brian-taylor-unity wants to merge 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.

Changed

  • The README charts disk and time per extra worktree against project size, and lists the Unity versions tested: 6.0, 6.3, 6.6, 6.7 (beta) and 7.0 (alpha).
  • 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.

Changed

- The README charts disk and time per extra worktree against project size, and lists the Unity versions tested: 6.0, 6.3, 6.6, 6.7 (beta) and 7.0 (alpha).
- 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.
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.

1 participant