TerrainGrid getHeightmapHeight

I ran into this issue in the past, but i don’t remember how I solved it off the top of my head right now without looking back at the code.

But maybe the posts in this thread could help