Skip to content

[Bug] Pin vertex group dropdown displays garbled text when the vertex group name contains Japanese characters #107

Description

@utagestudio

Summary

When selecting a vertex group for a Pin constraint in the Blender add-on, the dropdown becomes corrupted if the vertex group name contains Japanese characters.

Instead of displaying the actual vertex group name, the dropdown shows a large number of garbled entries, making it difficult or impossible to select the intended vertex group.

Renaming the vertex group using ASCII characters only prevents the issue.

https://github.com/user-attachments/assets/f491c482-f069-44f1-b0df-0cd327b27c04
Image

Steps to Reproduce

  1. Open Blender and create or import a mesh object.
  2. Create a vertex group and assign vertices to it.
  3. Give the vertex group a name containing Japanese characters.
    Example: "固定"
  4. Add the object to ZOZO's Contact Solver.
  5. Open the Pins section and click "Add".
  6. Open the vertex group selection dropdown.
  7. Observe that the dropdown displays many garbled entries instead of the correct vertex group name.
  8. Rename the vertex group using ASCII characters only.
    Example: "Pin"
  9. Open the dropdown again.
  10. Observe that the vertex group is displayed and can be selected correctly.
bug2.mp4

Expected Behavior

The vertex group selection dropdown should correctly display and allow selection of vertex groups even when their names contain Japanese characters.

Actual Behavior

When the vertex group name contains Japanese characters, the Pin vertex group selection dropdown displays a large number of garbled entries.

The correct vertex group name is not displayed, and the intended vertex group cannot be selected normally.

After renaming the vertex group using ASCII characters only, it is displayed and can be selected correctly.

Screenshots and screen recordings showing both the affected and working cases are attached.

Environment

OS: Windows 11
GPU: RTX 5080
GPU Driver: unknown
Blender Version: 5.1 and 5.2
ZOZO's Contact Solver Version / Commit: 1.0.14
Solver Setup: Windows Native
Blender UI Language: English

Contribution Agreement

  • I confirm that any code, patches, scripts, attachments, or other copyrightable material I include in this issue may be used, reproduced, modified, and distributed by this project under the Apache License 2.0 or as otherwise described in CONTRIBUTING.md.
  • This is a bug report from the community (please provide a reference below).

Community Reference

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdeployedthe fix is deployed in the latest releaseworkedworked and will be closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions