jon-heard / Godot-MagicaVoxel-Importer-with-Extensions

A Godot plugin to import MagicaVoxel .vox files as meshes.
MIT License
20 stars 4 forks source link

Getting Errors while trying to Import VOX File #6

Open LagowiecDev opened 10 months ago

LagowiecDev commented 10 months ago

When Greedy Mesh Generator is Off res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:205 - Invalid get index '0' (on base: 'Dictionary'). res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:50 - Unable to iterate on object of type 'Nil'. res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-mesh.gd:62 - Invalid get index '0' (on base: 'Nil'). core/io/file_access.cpp:807 - Condition "f.is_null()" is true. Continuing. Importing: res://Vox/David.vox (scale: 0.1, file version: 150, greedy mesh: false, snap to ground: false)

When Greedy Mesh Generator is On res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:205 - Invalid get index '0' (on base: 'Dictionary'). res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-common.gd:50 - Unable to iterate on object of type 'Nil'. res://addons/MagicaVoxel_Importer_with_Extensions/vox-importer-mesh.gd:62 - Invalid get index '0' (on base: 'Nil'). core/io/file_access.cpp:807 - Condition "f.is_null()" is true. Continuing. Importing: res://Vox/David.vox (scale: 0.1, file version: 150, greedy mesh: true, snap to ground: false)

LagowiecDev commented 10 months ago

Godot version: 4.2.1.stable

fritzy commented 3 months ago

Same exact errors with Godot 4.3 RC3.

JavenZ commented 3 months ago

Same issue with Godot 4.3.

JavenZ commented 3 months ago

SOLUTION: https://github.com/jon-heard/Godot-MagicaVoxel-Importer-with-Extensions/issues/1#issuecomment-2257962026