# (Fixed) Terrain Visualization not working

**URL:** https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228
**Category:** Terrain
**Tags:** World-Building, Bug
**Created:** [September 3, 2023, 3:16pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228 "2023-09-03T15:16:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![impheris](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/impheris/32/611088_2.png) [@impheris](https://discussions.unity.com/u/impheris)
#### Post date: [September 3, 2023, 3:16pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/1 "2023-09-03T15:16:40Z")

</div>

Hi.

I’m having an error when trying to use the “Terrain Visualization” tool from unity’s terrain tool  
I’m using 2022 LTS HDRP

Error:  
_Shader error in ‘Hidden/HDRP\_TerrainVisualization’: ‘GetSurfaceAndBuiltinData’: output parameter ‘surfaceData’ not completely initialized at Project’s Name/Library/PackageCache/com.unity.terrain-tools@5.0.3/Shaders/Visualization/HDRP/HDRP\_TerrainVisualizationData.hlsl(148) (on d3d11)_

The terrain completely disappear when i turn “altitude heatmap” option but came back when is “none”

 ![9269634--1297749--1.jpg](https://europe1.discourse-cdn.com/unity/original/4X/0/4/6/0466ac8d6512f98327a1033ae0189c19d16145d0.jpeg)  
 ![9269634--1297752--2.jpg](https://europe1.discourse-cdn.com/unity/original/4X/6/7/3/673d05e7d30ddcc68e602f323b1b27f07f49a337.jpeg)

Also, it looks like i’m not he one with that bug and it is a pretty old bug but i did not find any solution…  
Is this fixed?

---

<div class="post-metadata">

### Author: ![impheris](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/impheris/32/611088_2.png) [@impheris](https://discussions.unity.com/u/impheris)
#### Post date: [September 8, 2023, 4:00pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/2 "2023-09-08T16:00:00Z")

</div>

so… anybody?

---

<div class="post-metadata">

### Author: ![TiagoB66](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@TiagoB66](https://discussions.unity.com/u/TiagoB66)
#### Post date: [September 12, 2023, 8:09pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/3 "2023-09-12T20:09:27Z")

</div>

I’m facing the same error and I can’t find a solution for it anywhere, I even downloaded a plugin to try to overcome this deficiency in the terrain system, but so far without satisfactory results. the worst part is that even changing versions the error still persists, very complicated.

---

<div class="post-metadata">

### Author: ![impheris](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/impheris/32/611088_2.png) [@impheris](https://discussions.unity.com/u/impheris)
#### Post date: [February 4, 2024, 7:18pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/4 "2024-02-04T19:18:22Z")

</div>

How or where can i check if this bug was fixed or ignored?  
As you can see, in this link:–  
the last message was: "_Your bug report has been updated"_  
That was: 08/Oct/23 7:09 AM

After that, nothing has happened, at least not that i know, not even a mail. There are some links but the info is basically the same, i check some release notes on 2022.X and i found nothing about “Altitude Heatmap” (i was using the “find text” option on my browser.

---

<div class="post-metadata">

### Author: ![developer3244](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/developer3244/32/96219_2.png) [@developer3244](https://discussions.unity.com/u/developer3244)
#### Post date: [February 12, 2024, 12:33pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/5 "2024-02-12T12:33:42Z")

</div>

It may be annoying to have an issue ignored, so i will try to help. I never saw this error before… but already experienced several shader errors (principally because im bad on them XD), so i could say that PERHAPS (im not a so experienced guy, and never got this error before) the terrain issue is because of this shader error. Shader errors can:

- make material forcedly use fallback shader (if you have something like “fallback Diffuse” in your .shader file, Diffuse is fallback shader)
- make material pink or
- make material invisible (perhaps due to rendering error).

i found conent here that may be usefull: [Terrain Visualization | Terrain Tools | 5.0.4](https://docs.unity3d.com/Packages/com.unity.terrain-tools@5.0/manual/toolbox-visualization.html) and a png [https://docs.unity3d.com/Packages/com.unity.terrain-tools@5.0/manual/images/4-41-toolbox-heatmap-01.png](https://docs.unity3d.com/Packages/com.unity.terrain-tools@5.0/manual/images/4-41-toolbox-heatmap-01.png), altough you may have seen the docs.

my friend and headache saver ChatGPT pinpointed some initialization issues, but as this is an error from terrain tools package or a visualization glitch (as shader error points to terrain tools internal files), is advisable for you to **report a bug with unity bug report tool**. Unity pros, ops and devs may be more helpfull to you than me 😉

---

<div class="post-metadata">

### Author: ![developer3244](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/developer3244/32/96219_2.png) [@developer3244](https://discussions.unity.com/u/developer3244)
#### Post date: [February 12, 2024, 12:40pm UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/6 "2024-02-12T12:40:40Z")

</div>

> [@TiagoB66](#):
>
> I’m facing the same error and I can’t find a solution for it anywhere, I even downloaded a plugin to try to overcome this deficiency in the terrain system, but so far without satisfactory results. the worst part is that even changing versions the error still persists, very complicated.

question: which plugin?

---

<div class="post-metadata">

### Author: ![impheris](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/impheris/32/611088_2.png) [@impheris](https://discussions.unity.com/u/impheris)
#### Post date: [March 1, 2024, 8:18am UTC](https://discussions.unity.com/t/fixed-terrain-visualization-not-working/928228/7 "2024-03-01T08:18:41Z")

</div>

Looks like it was fixed, pushed in version 5.0.4 (i don’t know exactly what that means), which i guess is Unity 2022.3.20f1.
