UnityVOXFileImport icon indicating copy to clipboard operation
UnityVOXFileImport copied to clipboard

Exception: Bad Token: token is not RGBA

Open RomanVolochai opened this issue 5 years ago • 2 comments

I created a model in Magica Voxel to test if the extension works. I ended up getting an error. I did other models but still got the error.

Please help me to solve this problem.

RomanVolochai avatar Aug 30 '20 11:08 RomanVolochai

I've got the same issue

nkholski avatar Nov 26 '20 23:11 nkholski

For anyone running into this. I "solved" it by removing the block starting at line 335 to 351 and remove the else wrapping of 354 and 355. Starting with: if ((reader.BaseStream.Position < reader.BaseStream.Length)) You might of course run into issues, but it works well with my simple models.

nkholski avatar Nov 27 '20 23:11 nkholski