Fixing crash related to LandscapeRender.cpp

I don’t know if I should ask this in the c++ gameplay section or here, but I’ll ask it here.

In the picture on the top at the third line “SharedBuffers->AdjacencyIndexBuffers->IndexBuffers[LODIndex]” being nullptr causes a crash about 1/10 times when loading into a map that contains a landscape.

I’ve been trying to fix this for a while but no luck. Any ideas how I could fix this? If it helps, I believe this section of the code is related to tessellation, which apparently would fix the problem if disabled, but I don’t really want to do that. Thanks