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

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

Open
adnanonline123 opened this issue Mar 1, 2023 · 3 comments

Comments

@adnanonline123
Copy link

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
Copy link
Member

Yonnji commented Mar 1, 2023

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
Copy link
Author

yes how to export without uv map?

@Yonnji
Copy link
Member

Yonnji commented Mar 1, 2023

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

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