saturday06 / VRM-Addon-for-Blender

VRM Importer, Exporter and Utilities for Blender 2.93 to 4.2
https://vrm-addon-for-blender.info
MIT License
1.33k stars 142 forks source link

Bug report: Duplicated vertices along every texture seam #277

Closed Crimson-foxGITHUB closed 2 weeks ago

Crimson-foxGITHUB commented 1 year ago

Describe the bug

When importing ANY VRM model, every single vertex located along a texture seam is duplicated. Vertices located on more than one texture seam are duplicated again for every additional texture seam they are attached to.

To Reproduce

Steps to reproduce the behavior:

  1. Go to File -> Import -> VRM
  2. Click on a VRM model and import it
  3. Click the mesh and hit Tab to enter Edit mode
  4. When attempting to move vertices located along texture seams, (such as the bottoms of arms on VRoid models) the vertices behave VERY strangely. Attempting to select edge loops behaves incorrectly as well.

Expected behavior

The model's vertices behave properly and aren't duplicated.

Screenshots

image

image

Desktop (please complete the following information)

Additional context

Originally I saw this with VRoid models but importing other VRMs has produced this exact same bug.

saturday06 commented 1 year ago

Thanks for reporting!

The mesh loading process of this add-on uses the official glTF 2.0 add-on process, so please file a bug report there : https://github.com/KhronosGroup/glTF-Blender-IO/issues

By changing the extension of the VRM file to GLB, it can be directly read by the glTF 2.0 add-on, so please confirm that the same phenomenon is occurring there.

The VRM specification is defined as an extension of glTF 2.0, and the mesh is directly from glTF 2.0.

NedFlanders2 commented 1 year ago

I have not seen this issue and i have been looking for these sorts of problems when importing well every time i import something i check for these sorts of issues. I did once see some lose geometry on one model but that was a long time ago. Edge loops and other stuff are fine when i test them and there is no doubles.

Maybe something else is going on.

comdost commented 1 year ago

I get this issue often! Importing the model as .glb instead seems not to cause the same vertex duplication/separation. Likewise with custom normals, they get changed with the extension but remain if I import as .glb instead.

006440

saturday06 commented 1 year ago

@comdost

Thanks for the report. The bug where normals are broken on import has been fixed in the latest version of the Blender add-on. Please make sure your add-on is up to the latest version, 2.20.16, restart and try again.

If it doesn't work even though it is the latest, please let me know your OS and Blender version.

Since this issue vertex deals with the duplicate bug, it will stay open even if the normal breaking bug is fixed.

comdost commented 1 year ago

Thank you for fixing the normals bug! I really appreciate it!

I tried did a clean reinstall of blender, and this time there is no split vertex issue. However upon importing my other extensions and changing my settings, the issue came back. Something else is messing with the extension! 🥴 I will keep testing to find out what that is.

c4b4d4 commented 5 months ago

Has this been resolved? We experienced something similar when importing a VRM

saturday06 commented 5 months ago

This issue has been resolved. If you have had a similar experience, please create a new issue.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 120 days since being marked as resolved.