Leafshaper Docs
View all packages

Getting started

Install, update and remove

Install from My Assets or a tarball, update without losing recipes, and remove Leafshaper safely.

Leafshaper 26.12.0Unity 6000.0+URP · HDRP · Built-in

Requirements

Create or open a Unity 6 project using the Built-in Render Pipeline, URP, or HDRP. Leafshaper's package manifest sets Unity 6000.0.0f1 as the baseline. For URP or HDRP projects, confirm the pipeline asset assigned in Project Settings > Graphics and check Quality for level-specific overrides. Built-in Render Pipeline projects require no extra SRP setup.

Leafshaper was tested in Unity 6000.6.0f1 with Built-in RP, URP 17.6.0, and HDRP 17.6.0 on macOS with Metal.

Leafshaper uses Unity's Render Pipelines Core, Terrain, Terrain Physics, Wind, IMGUI, JSON Serialization and UI Elements packages or modules. Terrain Physics supplies the collider in the Stylized Forest sample. Unity resolves them through Package Manager. Mesh impostor baking requires a graphics device.

Leafshaper works better with Kiwi Foliage (net.kiwistudios.foliage 26.12.0 or later), which is sold separately and installs on its own. With it, Leafshaper adds a Forest Renderer for forests of up to millions of trees. See Using Kiwi Foliage.

Install

  1. Open Window > Package Management > Package Manager, then choose My Assets. Sign in with the Unity account that owns Leafshaper.
  2. Select Leafshaper and install the native UPM package. For a local .tgz delivery, use + > Install package from tarball and select the Leafshaper archive. For a team project, put the tarball at a stable path the team can access.
  3. Confirm Leafshaper appears in In Project under the identity net.kiwistudios.trees. Wait for package import and script compilation to finish.
  4. Window > Leafshaper > Getting Started opens by itself the first time. It has a button for each first step, imports and opens the samples, and fixes common setup problems in one click. Open it again from the same menu at any time.
  5. Or select Leafshaper's Samples tab and click Import for Stylized Forest. Import Forest Showcase for a gallery of every feature, hero trees and a large forest. Open the scene from the imported sample in the project. Choose Window > Leafshaper > Stylized Forest Controls to enter Play Mode and compare all four tree styles on the planted forest or move Season from spring to winter.

Update, repair, or roll back

  1. Commit or back up your project's Assets, Packages, and ProjectSettings before changing versions. Keep each project asset with its .meta file. Include recipes, baked prefabs, and imported or modified samples in the backup.
  2. In Package Manager, use Leafshaper's Update action or install a newer tarball at the same package ID. If Unity resolves an embedded development copy under Packages/net.kiwistudios.trees, back up and move that directory out of the project before switching to another source.
  3. Confirm the intended version in In Project. Open an existing tree recipe and prefab, then check a scene or terrain that uses the prefab. Use Rebake Prefab on your own tree recipes to rebuild their distant LODs. To adopt newer stock shapes or conifer foliage settings, first use Apply Preset… on a copy of the recipe. Existing prefab references are preserved.
  4. To view the revised forest, import Stylized Forest from the new package version and open the scene in that version’s sample folder. Back up edits to a previously imported sample before accepting Unity’s replacement prompt.
  5. When you update from a version named Arbor, back up edits to samples under Assets/Samples/Arbor, then delete that folder and import the samples again. In your own assembly definitions and scripts, replace Arbor.Runtime and Arbor.Editor with Leafshaper.Runtime and Leafshaper.Editor, and Arbor/ shader names with Leafshaper/. Recipes, prefabs, materials and the KiwiStudios.Trees namespace need no changes.
  6. For a broken install, restore the last working manifest and lock file with its matching package source. If a package file was edited in a cache, reinstall through Package Manager from a clean copy. Restore the matching project assets and metadata from your backup if the newer version also changed those assets.

Remove

Preserve project-owned tree recipes, source textures, and prefabs in version control before removing Leafshaper. Leafshaper recipes and materials depend on types and shaders in the package. To keep a scene working without Leafshaper, copy required generated assets and materials into supported independent assets, assign replacement shaders, and remove or replace Leafshaper components and terrain prototypes first. Check references in a copy of your scene.

Then select Leafshaper under In Project and click Remove. Kiwi Foliage, if you installed it, is a separate package; keep it if your project uses it on its own. For an embedded install, back up and remove the embedded package folder. Project-owned files and imported samples are managed separately. Delete only the samples and generated files your project no longer references.

Still stuck?

Bring the recipe with you.

Include the Leafshaper, Unity and render-pipeline versions, the operating system and graphics API, the first Console error, the preset and seed, and the steps that reproduce the problem.

Email supportJoin Discord

Leafshaper 26.12.0

Search documentation