b3agz / Code-A-Game-Like-Minecraft-In-Unity

Project files for a Youtube tutorial series on coding a game like Minecraft in Unity.
298 stars 237 forks source link

... #21

Open retworlblocktypesvoxe123 opened 3 years ago

retworlblocktypesvoxe123 commented 3 years ago

IndexOutOfRangeException: Index was outside the bounds of the array. Chunk.CheckVoxel (UnityEngine.Vector3 pos) (at Assets/Chunk.cs:71) Chunk.AddVoxelDataToChunk (UnityEngine.Vector3 pos) (at Assets/Chunk.cs:79) Chunk.CreateMeshData () (at Assets/Chunk.cs:54) Chunk.Start () (at Assets/Chunk.cs:24)

retworlblocktypesvoxe123 commented 3 years ago

IndexOutOfRangeException: Index was outside the bounds of the array. Chunk.CheckVoxel (UnityEngine.Vector3 pos) (at Assets/Chunk.cs:71) Chunk.AddVoxelDataToChunk (UnityEngine.Vector3 pos) (at Assets/Chunk.cs:79) Chunk.CreateMeshData () (at Assets/Chunk.cs:54) Chunk.Start () (at Assets/Chunk.cs:24)