Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Static Batching Unity Terrain Do not work

Discussion in 'Universal Render Pipeline' started by sofabivaadin, Apr 16, 2024.

  1. sofabivaadin


    Apr 7, 2022
    I Have an issue with static batching with Trees in terrain system. (I tick GameObject as Static)

    So I test to just add my tree gameobject manually with and static batching tick and batches works !

    But when i'm using unity terrain and paint my trees no saving batches.

    I try different things like tick Draw Instance for terrain, tick Enable GPU instancing for Material.
    But nothing changes.

    I don't understand why when i just place my gameobject this work perfectly but when i paint my tree i dont sae batches ?

    Someone can help ?

    Unity Version : 2022.3.9f1, I use URP-HighFidelity for rendering.

    Example with Tree Gameobject manually place, See Saved by batch

    Example with Unity Terrain : (Saved by batch 0) nobatches.png