HI, watching this tutorial I managed to to write exactly what they guy has in his code and understand most of it,
[tutorial address][1]Procedural Landmass Generation (E02: Noise Map) - YouTube [1]:
but I keep getting this error
IndexOutOfRangeException: Array index is out of range.
MapDisplay.DrawNoiseMap (System.Single[,] noiseMap) (at Assets/Scripts/MapDisplay.cs:18)
MapGenerator.GenerateMap () (at Assets/Scripts/MapGenerator.cs:17)
MapGeneratorEditor.OnInspectorGUI () (at Assets/Editor/MapGeneratorEditor.cs:20)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1235)
UnityEditor.DockArea:OnGUI()
any idea how to tackle it ? thank you for your help