Skip to content

No mesh objects found in vrm object issue #3

@kevinhuangxf

Description

@kevinhuangxf

Thanks for the greak work!

I have downloadded the vroid dataset:

Download Model
Download Model
Download Model
Download Model
Download Model


========== Finished Crawling ==========


Models Collected: 
16046

Now I'm running the extract.py script.

But I found many vrm file are detected no mesh so fail to extract the hair.

Is it a normal phenomenon?

Should I update the train_list if only part of the hair object can be detected?

python blender/distributed_uniform.py --input_dir /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid/ --save_dir /workspace/code/CHARM/dataset/vroid_processed --workers 1
Unprocessed files: 13423
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1017021745350671390/1017021745350671390.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1054990230631284690/1054990230631284690.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1075021937486584940/1075021937486584940.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=disallow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=disallow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1086104341257357750/1086104341257357750.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=allow&credit=necessary&modification=disallow&personal_commercial_use=nonprofit&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=allow&credit=necessary&modification=disallow&personal_commercial_use=nonprofit&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1107966252827422570/1107966252827422570.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=disallow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=disallow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1120169165975032970/1120169165975032970.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=allow&credit=unnecessary&modification=disallow&personal_commercial_use=nonprofit&redistribution=allow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=allow&credit=unnecessary&modification=disallow&personal_commercial_use=nonprofit&redistribution=allow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1129399045952250150/1129399045952250150.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=allow&credit=necessary&modification=disallow&personal_commercial_use=nonprofit&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=allow&credit=necessary&modification=disallow&personal_commercial_use=nonprofit&redistribution=disallow&sexual_expression=allow&version=1&violent_expression=allow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1135354269388833310/1135354269388833310.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=allow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=everyone&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=allow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1150871373227540420/1150871373227540420.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
[VRM Add-on:WARNING] class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=author&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=disallow
json_key=otherLicenseUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

class=LicenseConfirmationRequired
url=https://hub.vroid.com/license?allowed_to_use_user=everyone&characterization_allowed_user=author&corporate_commercial_use=disallow&credit=necessary&modification=disallow&personal_commercial_use=disallow&redistribution=disallow&sexual_expression=disallow&version=1&violent_expression=disallow
json_key=otherPermissionUrl
message=This VRM is licensed by VRoid Hub License "Alterations: No".

Error: Python: Traceback (most recent call last):
  File "/workspace/code/CHARM/blender/extract_hair.py", line 598, in <module>
    extract_hair(
  File "/workspace/code/CHARM/blender/extract_hair.py", line 523, in extract_hair
    metadata = metadata_extractor.get_metadata()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 489, in get_metadata
    "scene_size": self.get_scene_size(),
  File "/workspace/code/CHARM/blender/extract_hair.py", line 442, in get_scene_size
    bbox_min, bbox_max = scene_bbox()
  File "/workspace/code/CHARM/blender/extract_hair.py", line 151, in scene_bbox
    raise RuntimeError("no objects in scene to compute bounding box for")
RuntimeError: no objects in scene to compute bounding box for

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/115573660714302690/115573660714302690.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
Data are loaded, start creating Blender stuff
glTF import finished in 0.18s
07:22:26 | INFO: Draco mesh compression is available, use library at /workspace/code/iphg/blender-3.6.23-linux-x64/3.6/python/lib/python3.10/site-packages/libextern_draco.so
07:22:26 | INFO: Starting glTF 2.0 export
07:22:26 | INFO: Extracting primitive: Hair001.baked
07:22:26 | INFO: Primitives created: 3
07:22:26 | WARNING: More than one shader node tex image used for a texture. The resulting glTF sampler will behave like the first shader node tex image.
07:22:26 | WARNING: More than one shader node tex image used for a texture. The resulting glTF sampler will behave like the first shader node tex image.
07:22:26 | WARNING: More than one shader node tex image used for a texture. The resulting glTF sampler will behave like the first shader node tex image.
07:22:26 | INFO: Finished glTF 2.0 export in 0.07239031791687012 s

Exported /workspace/code/CHARM/dataset/vroid_processed/0/115573660714302690/hair.glb

Blender quit
Processing: /workspace/code/CHARM/dataset/vroid-dataset/VRoidSpider/_data/lustrous/raw/vroid//0/1163149156109630540/1163149156109630540.vrm
Blender 3.6.23 (hash e467db79ca8c built 2025-06-17 01:32:54)
Warning: Falling back to the standard locale ("C")
Read prefs: "/root/.config/blender/3.6/config/userpref.blend"
Failed to open dir (No such file or directory): /run/user/101088/gvfs/
Data are loaded, start creating Blender stuff
glTF import finished in 0.20s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions