kitsune-ONE-team / KITSUNETSUKI-Asset-Tools

KITSUNETSUKI Asset Tools
GNU General Public License v3.0
57 stars 1 forks source link

RuntimeError: Error: Tangent space computation needs a UV Map, "UVMap" not found, aborting #9

Open adnanonline123 opened 1 year ago

adnanonline123 commented 1 year ago

Python: Traceback (most recent call last): File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\vrm__init.py", line 351, in execute out, buf = e.convert() File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\vrm__init_.py", line 259, in convert root, buffer = super().convert() File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\gltf__init.py", line 489, in convert root = super().convert() File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\base\init.py", line 231, in convert self.make_node(self._root) File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\base\init.py", line 193, in make_node self.make_node(node, child) File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\base\init.py", line 193, in make_node self.make_node(node, child) File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\base\init__.py", line 167, in make_node node = self.make_mesh(parent_node, obj) File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\gltf\init__.py", line 452, in make_mesh self.make_geom(gltf_node, gltf_mesh, obj, can_merge=False) File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\gltf\geom.py", line 221, in make_geom uv_tb = self.get_tangent_bitangent(mesh) File "C:\Users\ADNAN 3D\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\kitsunetsuki\exporter\base\vertex.py", line 37, in get_tangent_bitangent mesh.calc_tangents(uvmap=uv_name) RuntimeError: Error: Tangent space computation needs a UV Map, "UVMap" not found, aborting

Yonnji commented 1 year ago

Looks like you don't have any UV map on the model. Is it expected? Do you want to export without UV and textures?

adnanonline123 commented 1 year ago

yes how to export without uv map?

Yonnji commented 1 year ago

It's not possible atm, but I will make a fix for that.