You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In MapGenerator, copy this line:
textureData.UpdateMeshHeights(terrainMaterial, terrainData.minHeight, terrainData.maxHeight);
And then delete it.
Paste it as the first line in the existing DrawMapInEditor() and also create a private void Awake() and put it there as well.
Should fix you right up.
I am getting this error AND I TRIED EVERYTHING TO FIX IT : UnityException: SetFloatImpl can only be called from the main thread.
The text was updated successfully, but these errors were encountered: