Skip to content

Can only VRM export Latifa and she has no data. #10

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

Open
TwilightPrimus opened this issue Apr 4, 2023 · 2 comments
Open

Can only VRM export Latifa and she has no data. #10

TwilightPrimus opened this issue Apr 4, 2023 · 2 comments

Comments

@TwilightPrimus
Copy link

I have tried to make the ini file a few ways and it still says that the file is missing. I made the file in the addon folder in blender and on the blend file itself. I can only get, as the title says, Latifa to export but she has no data. I am on the latest release of blender, 3.5. If more information is needed please let me know, not fully sure what else is required.
textblock

@TwilightPrimus
Copy link
Author

Update: I can get up to exporting my model but he spazzes out, like he was exploding and I get the attached error message:

Python: Traceback (most recent call last):
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\vrm_init_.py", line 377, in execute
out, buf = e.convert()
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\vrm_init_.py", line 285, in convert
root, buffer_ = super().convert()
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\gltf_init_.py", line 486, in convert
root = super().convert()
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\base_init_.py", line 231, in convert
self.make_node(self.root)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\base_init
.py", line 193, in make_node
self.make_node(node, child)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\base_init_.py", line 193, in make_node
self.make_node(node, child)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\base_init_.py", line 193, in make_node
self.make_node(node, child)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\base_init_.py", line 167, in make_node
node = self.make_mesh(parent_node, obj)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\gltf_init_.py", line 450, in make_mesh
self.make_geom(gltf_node, gltf_mesh, obj, can_merge=False)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\exporter\gltf\geom.py", line 110, in make_geom
apply_modifiers(obj, triangulate=triangulate)
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\base\objects.py", line 76, in apply_modifiers
raise e
File "C:\Users\ancie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\kitsunetsuki\base\objects.py", line 69, in apply_modifiers
bpy.ops.object.modifier_apply(modifier=mod.name)
File "C:\Program Files\Blender Foundation\Blender 3.5\3.5\scripts\modules\bpy\ops.py", line 113, in call
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Modifier is disabled, skipping apply

I can barley read it but I can see that at the end it talks about a disabled modifier, what does that mean?

@Yonnji
Copy link
Member

Yonnji commented Apr 5, 2023

I have tried to make the ini file a few ways and it still says that the file is missing. I made the file in the addon folder in blender and on the blend file itself.

You don't need to save it as file. Just keep it inside the Blender as text. You just need to rename the text block from "Text.001" to "VRM.ini". And looks like you already figured this out.

RuntimeError: Error: Modifier is disabled, skipping apply
I can barley read it but I can see that at the end it talks about a disabled modifier, what does that mean?

Modifier on some of the objects is disabled. If it needed then you should apply it manually.

It would be better to apply all the modifiers that you need and delete all modifiers that you don't need before exporting. Maybe some modifiers are breaking the model, so you would see at least which one.

This is modifiers tab with a single modifier as example:
2023-04-05_13-05

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