VincentLagerros / RealTimeTerrainEdit

YEET
MIT License
7 stars 0 forks source link

Doesn't work when Fixed Map Size = true #3

Open JaineshPathak opened 3 years ago

JaineshPathak commented 3 years ago

Growing / Digging works well on infinite terrain, but when I set it to fixed map size, then it gives "Object Reference not set to Instance of object" error.

NullReferenceException: Object reference not set to an instance of an object MainChunkHolder.AddChuck (UnityEngine.Vector3Int coord) (at Assets/MainChunkHolder.cs:343) NewPlayer.Update () (at Assets/NewPlayer.cs:272)