Unity Terrain Detail Mesh warning Atlas uncompressed

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!

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.

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.

I’ve got the same issue first time it happens on Unity 2021.3 .23f

1 Like

pareil avec Unity 2021.3.24f1

Also have the same issue in 2021.3.20f1

I have the same problem, it won’t render the grass when I build for WebGL, need a solution.

Same with 2023.3.1.

Same with URP 2021.3

Just now,im using the asset Grass Flowers Pack Free | 2D Nature | Unity Asset Store and im using URP and it just didnt work but even deleted my old grass mesh that I drew a few months ago.:frowning:

I found an article but i don’t really understand it because im a beginner

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

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

I wanna know if there are any issues happening with the error? Such as the details are not showing up?

Because you must increase your terrain detail resolution per patch and detail resolution in your terrain inspector settings panel!

in terrain settings,I change convert mode to instance count mode.Although the error was not eliminated, we can plant grass now.

I bypass it by using the grass as a tree in the terrain settings