Float division by zero when movie capturing with path traced mode

Steps to reproduce in Isaac Sim 2022.2.0:

  1. File/New to create a default scene
  2. Open Movie Capture Window
  3. Set Render Preset to Path tracing
  4. Capture a sequence
  5. Check log for errors

Log output:

2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\orchestrator.py(179): on_update
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\extension.py(134): _on_update
2023-02-16 10:16:41 [Error] [carb.events.python]
2023-02-16 10:16:41 [Error] [carb.events.python] ZeroDivisionError: float division by zero
2023-02-16 10:16:41 [Error] [carb.events.python]
2023-02-16 10:16:41 [Error] [carb.events.python] At:
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\orchestrator.py(179): on_update
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\extension.py(134): _on_update
2023-02-16 10:16:41 [Error] [carb.events.python]
2023-02-16 10:16:41 [Error] [carb.events.python] ZeroDivisionError: float division by zero
2023-02-16 10:16:41 [Error] [carb.events.python]
2023-02-16 10:16:41 [Error] [carb.events.python] At:
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\orchestrator.py(179): on_update
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\extension.py(134): _on_update
2023-02-16 10:16:41 [Error] [carb.events.python]
2023-02-16 10:16:41 [Error] [carb.events.python] ZeroDivisionError: float division by zero
2023-02-16 10:16:41 [Error] [carb.events.python]
2023-02-16 10:16:41 [Error] [carb.events.python] At:
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\orchestrator.py(179): on_update
2023-02-16 10:16:41 [Error] [carb.events.python] c:\users\brunovetter\appdata\local\ov\pkg\isaac_sim-2022.2.0\extscache\omni.replicator.core-1.6.4+104.1.wx64.r.cp37\omni\replicator\core\scripts\extension.py(134): _on_update

Thanks for any help or workaround!

I debugged a little in orchestrator.py and it seems total_spp in line 131 gets evaluated to 512 normally, but to 0 when the capturing is started…

No idea why though.

@bruno.vetter thanks for reporting. I was able to repro this. I can still get the desired output - can you confirm if the sequenced is properly captured on your side?

Yes,
it seems the capturing is working, this I can confirm. If the rendering is correctly evaluating all parameters like spp I cannot say, though.

Thanks
Bruno

Thanks! Confirm this has been fixed internally and will be available in the next release.
We will now emit only a warning to identify the underlying issue:
[Warning] [omni.replicator.core.scripts.orchestrator] Total SPP set to 0, Replicator unable to run. To use Replicator, ensure /rtx/pathtracing/totalSpp > 0

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.