[Bug Report] VisualizationMarkers.visualize throws "Empty InstanceIndices" or "ProtoIndex out of bounds" warning when marker_indices are given #1517
Labels
question
Further information is requested
Describe the bug
VisualizationMarkers.visualize's subroutine GetInstanceIndices throws "Empty InstanceIndices" or "ProtoIndex out of bounds" warning when marker_indices are given and contain only a subset of available prototype indices.
Steps to reproduce
The following modified script is based on source/standalone/demos/markers.py
Run the following script locally/
Terminal logs
2024-12-09 11:41:44 [17,049ms] [Warning] [omni.usd] Warning (secondary thread): in GetInstanceIndices at line 3256 of /builds/omniverse/usd-ci/USD/pxr/usdImaging/usdImaging/delegate.cpp -- Empty InstanceIndices (/Visuals/myMarkers, /Visuals/myMarkers.proto8_mesh_0_id46)
System Info
Describe the characteristic of your environment:
Additional context
After conducting several experiments, I discovered that no warnings occur as long as there is at least one instance for each prototype.
Checklist
Acceptance Criteria
Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.
The text was updated successfully, but these errors were encountered: