Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Terrain is too heavy for mobile phone

Discussion in 'General Graphics' started by Farzadkord, Nov 23, 2023.

  1. Farzadkord

    Farzadkord

    Joined:
    Nov 4, 2023
    Posts:
    1
    Hello i am new,i made an empty tarrain with textures with Gaia pro 2021 and a main menu and a character, But when I build for android the game runs too slow for instance in redmi note 9 phone,i see the pubg game runs in this phone or even older phones smoothly due it has big tarrains with trees,pls tell me what to do with tarrain to run smoothly on android devices like pubg and call of duty
     
  2. tw00275

    tw00275

    Joined:
    Oct 19, 2018
    Posts:
    65
    I've only worked with Unity's built-in terrain so I can't give any specific advice about Gaia, but I had a look on their website to see if they had any advice about optimisation.

    https://canopy.procedural-worlds.co...errains-with-the-terrain-converter-tool-r146/

    This article talks about converting Gaia terrains to a mesh, which can take advantage of the Level of Detail (LOD) system to improve performance on large maps.

    You probably only want to convert the terrain to a mesh when you're building the game for a phone, since it prevents you from editing it like a regular terrain object. As long as you're using source control, you should be able to convert the terrain to a mesh, build the game, then revert back to its original state.


    Edit: Here are some articles from their website that talk about optimising Unity for mobile. It might be worth trying these first.

    https://canopy.procedural-worlds.co...-5-mobile-optimization-tips-in-unity-3d-r118/
    https://canopy.procedural-worlds.co...mprove-your-games-performance-in-unity-3d-r6/
    https://canopy.procedural-worlds.co...ncrease-your-games-framerate-in-unity-3d-r28/
     
    tmonestudio likes this.
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,879
    With Unity's terrain I usually bake it to fbx with a free tool from github with LODs. Terrain indeed can be a pain to get performant