Search Unity

Question Unity Terrain Detail Mesh warning Atlas uncompressed

Discussion in 'Universal Render Pipeline' started by AdrielCodeops, Mar 10, 2023.

  1. AdrielCodeops

    AdrielCodeops

    Joined:
    Jul 25, 2017
    Posts:
    54
    Hi everyone,

    I'm using Unity Terrain system to create a landscape for my VR game. I'm using a detail mesh for grass and other vegetation. However, when I add the detail mesh to the terrain, I get a warning that says "Atlas uncompressed. This can be caused by mismatched texture formats."

    I'm using Unity 2021.3.17f1 and URP.

    I'm targeting Android Oculus Quest devices and I'm using ASTC6X6 texture format for both the terrain and the detail mesh. I also tried using ETC2 and PVRTC formats but I still get the same warning.

    I don't have any other settings or scripts that may affect the texture formats. The game runs "fine" on the device but I'm worried that the warning may cause some performance issues or bugs.

    Does anyone know what could be causing this warning and how to fix it? Any help would be greatly appreciated.

    Also, on the tree tab i get a warning that says "The tree must use the Nature/Soft Occlusion shaders" However they are not compatible with URP.

    Thanks in advance!
     
    Last edited: Mar 10, 2023
  2. AdrielCodeops

    AdrielCodeops

    Joined:
    Jul 25, 2017
    Posts:
    54
    I've tried changing texture compression to ETC2, changing every single texture import setting... My detail meshes use an atlas of 2048 x 2048. I've tried to change terrain layers texture import settings... I've also tried to render grass throught a texture and i get the same results.

    Edit: I've tried even adding a mesh with no texture and a plain material and I get the same warning.
     
    Last edited: Mar 10, 2023
  3. AdrielCodeops

    AdrielCodeops

    Joined:
    Jul 25, 2017
    Posts:
    54
    So grass dont throw the warning when you use a Texture compressed with ASTC4x4, however it still happens when i add a grass mesh even if I compress the texture that is using with the same values.
     
  4. Coderious

    Coderious

    Joined:
    Mar 28, 2020
    Posts:
    26
    I've got the same issue first time it happens on Unity 2021.3 .23f
     
  5. stigmamax

    stigmamax

    Joined:
    Jun 30, 2014
    Posts:
    312
    pareil avec Unity 2021.3.24f1
     
  6. sniffle63

    sniffle63

    Joined:
    Aug 31, 2013
    Posts:
    365
    Also have the same issue in 2021.3.20f1
     
  7. johnhooft

    johnhooft

    Joined:
    Apr 10, 2023
    Posts:
    1
    I have the same problem, it won't render the grass when I build for WebGL, need a solution.
     
  8. Dacust

    Dacust

    Joined:
    Jan 21, 2020
    Posts:
    2
    Same with 2023.3.1.
     
  9. GameCoder135

    GameCoder135

    Joined:
    Feb 11, 2023
    Posts:
    5
    Same with URP 2021.3
     
  10. GameCoder135

    GameCoder135

    Joined:
    Feb 11, 2023
    Posts:
    5
  11. ohminkwon

    ohminkwon

    Joined:
    Oct 3, 2019
    Posts:
    2
    I also had the same issue, but I solved by changing the version of unity engine from 2021.3.24 to 2022.3.5 lts
     
  12. AISDev

    AISDev

    Joined:
    May 3, 2022
    Posts:
    2
    Did you find a solution to this? Still happening on 2021.3.30 and I cannot use version 2022 because it's for the Quest 2
     
  13. GameCoder135

    GameCoder135

    Joined:
    Feb 11, 2023
    Posts:
    5
    I wanna know if there are any issues happening with the error? Such as the details are not showing up?
     
  14. sevdigim1451

    sevdigim1451

    Joined:
    May 2, 2020
    Posts:
    42
    Because you must increase your terrain detail resolution per patch and detail resolution in your terrain inspector settings panel!