Autodesk / Autodesk/arnold-usd

Subdivision of string primvars

Open
#1,995 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
284
Forks
68
Avg merge
2d 19h
Merged PRs (30d)
14

Description

Hi,
Kick fails when subdividing a primvar of type string, but hydra does not complain.
Could they both have the same behavior, and probably fail ?
You can find attached a simple scene:
hydra render does not fail
Run kick -i invalid_data_type_string.usda -default_nodes all -v 6 Fails with
```
00:00:00 184MB WARNING | attempting to subdivide string data type!
00:00:00 184MB WARNING | attempting to subdivide string data type!
00:00:00 184MB ERROR | attempting to subdivide an invalid data type: STRING
00:00:00 184MB | [subdiv] /sopcreate1/mesh_0: regular subdivision interrupted
00:00:00 184MB WARNING | [kick] render aborted due to earlier errors
00:00:00 184MB WARNING | render terminating early: unknown reason
```

[invalid_data_type_string.usd_rop1.usd.zip](https://github.com/user-attachments/files/16265985/invalid_data_type_string.usd_rop1.usd.zip)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with invalid_data_type_string.usd_rop1.usd.zip and compare the kick and hydra subdivision behavior for the string primvar. Review the reported subdivision warnings and errors; done means both paths consistently handle this invalid data type as agreed.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.