Kiwi Foliage Renderer Docs
View all packages

Support

Troubleshooting

Fix nothing drawing, magenta plants on Windows Vulkan, double trees, fallback materials and popping levels.

Kiwi Foliage Renderer 26.12.0Unity 6000.0+URP · HDRP · Built-in

Nothing draws. Select the Foliage Renderer. "No compute" means the graphics device has no compute shaders. "No instances" means no source is feeding it: check that the source is enabled and its Target Renderer is empty or this renderer. A source with no renderer shows "No renderer".

A shader of your own draws magenta or not at all in the Windows Editor on Vulkan. Unity's Windows Editor on Vulkan can leave out SubShaders with a PackageRequirements block, so a shader with separate URP and HDRP SubShaders falls back to another part. Kiwi Foliage's own shaders keep their pipeline parts in separate shader sources and are not affected; the Shader Integration sample shows the layout. For your own shaders, start the Editor with the -force-gfx-direct command line argument, or use Direct3D 11 or 12 for the Editor.

Trees draw twice. The terrain still draws its own trees. Turn on Hide Terrain Trees in the terrain source, or set the terrain's Tree Distance to zero.

A prefab shows a problem in the Prototypes tab. The problem text names the cause, usually a prefab without a MeshRenderer and MeshFilter, or one that only has SkinnedMeshRenderers, which the renderer cannot draw.

A material looks different from the original. It draws with the Foliage Lit fallback. Open Window > Kiwi Foliage > Shader Setup: the shader's row says why (no source in the project, or a conversion error) and lets you convert it again. Unity's built-in Standard shader has no source in the project; import Unity's built-in shader source to convert it exactly, or use a URP or HDRP shader.

A converted shader does not compile. After a conversion, the procedural variant of each pass is compiled for the active render pipeline and has to read the instance data. Otherwise the shader is recorded as a fallback with the reason. The Console names the shader and the first error, and the material keeps drawing with Foliage Lit. Shaders that call their own procedural setup or replace UNITY_SETUP_INSTANCE_ID need the manual setup from Shaders. Forget the shader in the Shader Setup window to stop retrying.

Levels of detail pop. The shader has no LOD_FADE_CROSSFADE support; the Shader Setup window shows "Converted, no fade". Add cross-fade to the shader, or use Foliage Lit.

Converted SpeedTree trees do not move in the wind. SpeedTree wind needs per-renderer wind data that indirect drawing does not provide. Use Foliage Lit or Leafshaper trees for wind.

Shadows of off-screen trees are missing. Raise Shadow Distance and make sure Shadow Light is the light that casts the shadows, or that the scene's Sun Source is set in the Lighting window.

Players show the fallback while the editor shows the converted shader. The material library must stay in a Resources folder. Convert Every Shader Now in the renderer's Setup tab makes persistent copies of every material for players.

Occlusion hides things it should not. The depth pyramid comes from the previous frame, so very fast camera cuts can hide instances for one frame. Turn Occlusion Culling off for that camera's renderer, or for cinematic cuts.

Still stuck?

Bring the renderer state with you.

Include the Kiwi Foliage version, Unity and render-pipeline versions, the graphics API, the Foliage Renderer's header state and statistics, the Shader Setup row for any shader involved, and a minimal scene.

Email supportJoin Discord

Kiwi Foliage Renderer 26.12.0

Search documentation