Skip to content

[BUG] Scene remains still with sim_substeps being an odd number in example_soft_body when using CUDA Graph #262

@ricetwice

Description

@ricetwice

Bug Description

Description:
I've encountered an issue where the example_soft_body example in example.sim remains in its initial state and does not move when sim_substep is set to an odd number. I suspect that this bug is related to CUDA Graph because everything works correctly when CUDA Graph is not used. Additionally, I encountered the same issue when writing my own code with CUDA Graph, based on the examples in example.sim.

While this issue is specifically observed in example_soft_body, other examples might also be affected, but I haven't extensively tested them.

Steps to Reproduce:

  1. Set sim_substep to an odd number in example_soft_body.py.
  2. Run the example.
  3. Observe that the simulation does not progress and remains in the initial state.

System Information

Warp version: 1.2.2
CUDA version: 12.5
GPU: NVIDIA GeForce GTX 1060
OS: Ubuntu 22.04
Python version: 3.10

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocsImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions