Terrain Normal Map missing in Build

Hi,

can someone help me on this problem? There’s a normal map texture selected for my Terrain Layer. It’s visible in the editor but not in build. The texture type is normal map.

Version: 2022.3.12f1
Pipeline: HDRP
Shader: Terrain Lit

I had the same problem and solved it like this:

  • Do not use default terrain material, create your own, and assign it the HDRP/TerrainLit shader.
  • Use debug inspector and add “_NORMALMAP” to the list of valid keywords in the material you just created.
  • While you are at it, add the “_TERRAIN_8_LAYERS” keyword as well otherwise only 4 layers will work.
1 Like

Thank you for these helpful pieces of information.

I was already using a newly created material, but it didn’t let me add the “_NORMALMAP” tag to the Valid Keywords somehow.

Later, I figured out that I should remove any tags related to “normals” from the Invalid Keywords. After removing these tags from the Invalid Keywords, the Valid Keywords list allowed me to add the “_NORMALMAP” tag.

Everything works for now.