Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfRangeException: Index was outside the bounds of the array. #1

Closed
Discipol opened this issue Jun 1, 2019 · 0 comments
Closed

Comments

@Discipol
Copy link

Discipol commented Jun 1, 2019

Yo, I am using this in Unity 2019.1.4f1 and exported a vox file with MagicaVoxel 0.99.4
Here is a new file slightly played with that will reproduce the problem.

http://s000.tinyupload.com/?file_id=19857917241607645638

IndexOutOfRangeException: Index was outside the bounds of the array. VoxSlicer.Vox.VoxelData.Set (System.Int32 x, System.Int32 y, System.Int32 z, System.Byte value) (at Assets/VoxImporter/Vox/VoxelData.cs:47) VoxSlicer.Vox.VoxReader.ReadChunk (System.IO.BinaryReader reader, VoxSlicer.Vox.VoxModel output) (at Assets/VoxImporter/Vox/VoxReader.cs:114) VoxSlicer.Vox.VoxReader.ReadChunk (System.IO.BinaryReader reader, VoxSlicer.Vox.VoxModel output) (at Assets/VoxImporter/Vox/VoxReader.cs:159)

@Zarbuz Zarbuz closed this as completed Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants