scayze / MagicaVoxel-Importer

An Plugin for the GodotEngine to import MagicaVoxel's .vox format as meshes.
MIT License
55 stars 10 forks source link

Errors in output log on import #4

Open neonmoe opened 6 years ago

neonmoe commented 6 years ago

When I use the plugin, the Output console gets a few errors every time the .vox files are imported. This happens quite often, and makes it hard to find my own debug prints in the output console.

Godot version: 3.0.2.stable.official MagicaVoxel version: 0.98.2 (ran with Wine 3.6) OS: Arch Linux 64-bit

Steps to reproduce:

The last part which is repeated 3 times happens every time I focus the Godot window. Switching windows frequently causes the output log to become largely useless, especially since this seems to happen for every .vox file.

The models seem to work fine though, so I managed to make a Ludum Dare entry even with these errors. It's just quite annoying, and I imagine there might be something broken even if I didn't notice it.

scayze commented 6 years ago

Yeah im aware of that. ill look into it. Thanks ^^

NoodleSushi commented 6 years ago

Just delete the .vox file and use the .mesh alone

scayze commented 6 years ago

The error message The Condition surface->index_array_len == 0 ' is true. seems to be an issue with godot itself. I might be able to fix it upstream, ill take a look.

Anyways, Due to a bug the vox files kept reimporting, which caused the spam in the output. I also misunderstood how godots import system works soo. yeah. as of now the .mesh files are not created anymore, instead you will be able to use the .vox files itself as mesh.

this update might break compability with your old project so keep that in mind.

The update is not approved on the asset store just yet, but i pushed it on here already.

have fun. im keeping this open until the message is fixed