Skip to content

Removes Isaac Sim core extensions from app file to avoid warp conflict - #6499

Merged
kellyguo11 merged 46 commits into
isaac-sim:developfrom
kellyguo11:fix-warp-dep-conflict-app
Jul 22, 2026
Merged

kellyguo11 merged 46 commits into
isaac-sim:developfrom
kellyguo11:fix-warp-dep-conflict-app

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Isaac Sim requires different Warp versions as Isaac Lab. To avoid conflicts, we are removing Isaac Sim extensions from our .kit files to avoid loading in Isaac Sim extensions that would pull in Isaac Sim's warp version. This avoids conflicts between the warp versions and ensures that Isaac Lab's warp build gets used.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@kellyguo11
kellyguo11 requested a review from Mayankm96 as a code owner July 13, 2026 22:54
@kellyguo11
kellyguo11 marked this pull request as draft July 13, 2026 22:54
@github-actions github-actions Bot added bug Something isn't working isaac-sim Related to Isaac Sim team labels Jul 13, 2026
@greptile-apps

greptile-apps Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR reduces Isaac Sim app dependencies to avoid bundled Warp conflicts. The main changes are:

  • Removes many Isaac Sim core extensions from the app files.
  • Keeps direct PhysX and tensor dependencies where they are needed.
  • Enables selected Kit extensions directly at runtime.
  • Adds a late SimulationManager patch hook for PhysX lifecycle handling.
  • Updates wheel resolution overrides for dependency metadata.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
apps/isaaclab.python.kit Reduces Isaac Sim GUI app dependencies and adds direct PhysX extension dependencies.
apps/isaaclab.python.headless.kit Removes Isaac Sim startup dependencies and adds the MuJoCo USD schema plugin.
source/isaaclab_physx/isaaclab_physx/init.py Adds a reusable hook that patches Isaac Sim's SimulationManager when that extension loads.
source/isaaclab_physx/isaaclab_physx/physics/physx_manager.py Retries SimulationManager hook setup and updates CPU/GPU PhysX warmup sequencing.
source/isaaclab/isaaclab/controllers/utils.py Enables the URDF exporter through Kit's extension manager.
source/isaaclab/isaaclab/sim/converters/mesh_converter.py Enables the asset converter through Kit's extension manager before conversion.
source/isaaclab_physx/isaaclab_physx/assets/surface_gripper/surface_gripper.py Enables the surface gripper extension through Kit's extension manager.
pyproject.toml Raises typing-extensions and mirrors the requirement in uv overrides.
.github/workflows/wheel.yml Uses generated uv overrides during wheel install validation.
tools/wheel_builder/gen_uv_overrides.py Adds a helper that writes root uv override dependencies to a requirements file.

Reviews (2): Last reviewed commit: "fix kit app import" | Re-trigger Greptile

Comment thread apps/isaaclab.python.kit Resolved
Comment thread apps/isaaclab.python.kit
Comment on lines 15 to +16
"isaacsim.core.version" = {}
"isaacsim.gui.property" = {}
"isaacsim.replicator.behavior" = {}
"isaacsim.robot.policy.examples" = {}
"isaacsim.robot.schema" = {}
"isaacsim.robot.experimental.wheeled_robots" = { optional = true }
"isaacsim.robot.wheeled_robots.nodes" = { optional = true }
"isaacsim.sensors.experimental.physics" = {}
"isaacsim.sensors.experimental.rtx" = {}
"isaacsim.simulation_app" = {}
"isaacsim.storage.native" = {}
"isaacsim.util.debug_draw" = {}
"isaacsim.gui.components" = {}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Rendering Manager No Longer Loads

The base GUI kit no longer declares isaacsim.core.rendering_manager, and the GUI rendering kit inherits this dependency set without adding it back. Rendering and video paths that lazily import the rendering manager can then fail at first use, while the headless rendering kit still declares this extension explicitly.

Suggested change
"isaacsim.core.version" = {}
"isaacsim.gui.property" = {}
"isaacsim.replicator.behavior" = {}
"isaacsim.robot.policy.examples" = {}
"isaacsim.robot.schema" = {}
"isaacsim.robot.experimental.wheeled_robots" = { optional = true }
"isaacsim.robot.wheeled_robots.nodes" = { optional = true }
"isaacsim.sensors.experimental.physics" = {}
"isaacsim.sensors.experimental.rtx" = {}
"isaacsim.simulation_app" = {}
"isaacsim.storage.native" = {}
"isaacsim.util.debug_draw" = {}
"isaacsim.gui.components" = {}
"isaacsim.core.version" = {}
"isaacsim.core.rendering_manager" = {}
"isaacsim.gui.components" = {}

@@ -190,8 +190,6 @@ enabled=true # Enable this for DLSS
# Isaac Sim Extensions #
########################
[dependencies]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Simulation Manager Patch Skipped

Removing isaacsim.core.simulation_manager from this app means isaaclab_physx can import before that module exists in sys.modules. In that state its SimulationManager patch is a no-op, so the PhysX manager replacement is not installed for headless runs that do not receive the module through another dependency.

kellyguo11 and others added 3 commits July 13, 2026 16:13
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Signed-off-by: Kelly Guo <[email protected]>
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Jul 13, 2026
@kellyguo11
kellyguo11 marked this pull request as ready for review July 15, 2026 01:25
@kellyguo11
kellyguo11 requested a review from jtigue-bdai as a code owner July 15, 2026 01:25
# The hierarchy bindings are a separate submodule and are not loaded by ``import usdrt``.
from usdrt import Rt # noqa: PLC0415

try:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why try catch? what is unknown?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usdrt.hierarchy doesn't exist when we run headless, I think it only becomes available when we have hydra related extensions enabled for rendering. so when it's not available, we skip it.

Comment thread tools/conftest.py
per_test_time_table.add_row([full_name, device, f"{elapsed:0.3f}"])

summary_str += per_test_time_table.get_string()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the concern about deleting those verbosity?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya it was kind of difficult to find the summary table. was this per test table important?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value was mostly in the head of the list — spotting slow or newly-regressed tests; printing every test is what buried the rest of the summary. Suggest trimming instead of deleting, so the signal survives:

# slowest tests only — full timings remain in the JUnit XML
for full_name, device, elapsed in sorted(test_times, key=lambda row: row[2], reverse=True)[:30]:
    per_test_time_table.add_row([full_name, device, f"{elapsed:0.3f}"])

(plus a "Slowest 30 Tests" header). Alternatively --durations=30 on the inner pytest command gives roughly the same for free, though per-file rather than aggregated across the merged report and without the device column.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the agent suggested just heavy ones could also work. It's mostly for information in case CI regress and we need to find what's consuming all the time.

@kellyguo11
kellyguo11 requested a review from peterd-NV as a code owner July 19, 2026 23:09

@hujc7 hujc7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

@kellyguo11
kellyguo11 merged commit c4169b2 into isaac-sim:develop Jul 22, 2026
64 of 67 checks passed
@kellyguo11 kellyguo11 mentioned this pull request Jul 23, 2026
7 tasks done
kellyguo11 added a commit that referenced this pull request Jul 23, 2026
# Description

Restore the CPU PhysX stage-initialization path from #4675 while
preserving the
Isaac Sim core-extension removal from #6499.

#6499 removed `isaacsim.core.simulation_manager`, which also removed the
registration bridge between the unified physics API and PhysX. The
replacement
CPU path explicitly attached the stage and skipped
`force_load_physics_from_usd()`. This reintroduced non-deterministic CPU
broadphase collision failures, observed by the SkillGen test in #6687.

This change:

- adds `omni.physics.physx` to the GUI and headless app experiences so
PhysX is
  registered without restoring the Isaac Sim core extension or its Warp
  dependency;
- restores the pre-#6499 warmup behavior: only GPU explicitly attaches
the
  stage, while CPU uses `force_load_physics_from_usd()`;
- updates the regression test to verify the bridge is enabled, CPU does
not call
  `attach_stage()`, and CPU force-loads exactly once.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

Not applicable.

## Validation

- `uv run python -m pytest
source/isaaclab_physx/test/assets/test_rigid_object.py::test_warmup_attach_stage_not_called_for_cpu
source/isaaclab_physx/test/assets/test_rigid_object.py::test_initialization
-q`
  - 5 passed across CPU and GPU initialization.
- CPU SkillGen environment creation and 20 random-action steps passed
for
  `IsaacContrib-Stack-Cube-Franka-IK-Rel-Skillgen`.
- `uv run python tools/changelog/cli.py check develop`
- `uv run isaaclab -f`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab -f`
- [x] Documentation changes are not required for this internal lifecycle
fix
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective
- [x] I have added a changelog fragment under
`source/isaaclab_physx/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`
kellyguo11 added a commit that referenced this pull request Jul 28, 2026
…6739)

# Description

> [!IMPORTANT]
> Confirm the pull request base before submitting. Target `develop` for
all
> contributions. The `release/3.0.0-beta2` branch is a frozen stable
landing
> snapshot and is not used for ongoing maintenance.

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link:
https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html

💡 Please try to keep PRs small and focused. Large PRs are harder to
review and merge.
-->

Isaac Lab's asset paths ignore the documented `ISAACSIM_ASSET_ROOT`
environment
variable, so users cannot point Isaac Lab at a local, self-hosted, or
air-gapped copy
of the assets.

`NUCLEUS_ASSET_ROOT_DIR` and every path derived from it are resolved by
parsing
`persistent.isaac.asset_root.cloud` out of `apps/isaaclab.python.kit`.
Because the value
comes from the experience file rather than the environment, the variable
has no effect on
Isaac Lab's constants, which stay on the production S3 bucket.

The variable does not reach Isaac Sim's own asset root either.
`ISAACSIM_ASSET_ROOT` is
applied by `isaacsim.storage.native`, which sets
`persistent.isaac.asset_root.default` at
extension startup, and the shipped Isaac Lab experiences do not load
that extension. So in
an Isaac Lab launch today the documented override is inert on both
sides, which is why this
change touches both the resolver and the experience files.

In #6318 the reporter worked around the second half by configuring
`persistent.isaac.asset_root.default` to a local directory directly,
with
`persistent.isaac.asset_root.cloud` unset entirely, and
`ISAAC_NUCLEUS_DIR` still resolved
to the cloud URL because Isaac Lab only read `cloud`.

This change makes Isaac Lab follow the same override Isaac Sim
documents:

- `ISAACSIM_ASSET_ROOT` is read first and used exactly as
`isaacsim.storage.native` uses it,
so the two sides cannot resolve different roots from the same value. The
only deviation is
the trailing separator, stripped for both `/` and `\` because Isaac Lab
concatenates further
path components onto the root and the variable is documented for Windows
as well.
- The experience file remains the fallback for kitless use, but now
reads
`persistent.isaac.asset_root.default` before the legacy
`persistent.isaac.asset_root.cloud`,
matching the only asset-root setting Isaac Sim resolves. Note the
migration consequence:
redirecting Isaac Lab by editing only the `cloud` key in an experience
file no longer has
any effect, since the shipped experiences leave `default` on the cloud
URL. This is called
  out in both the new documentation and the changelog fragment.
- `isaacsim.storage.native` is added to the `isaaclab.python` and
`isaaclab.python.headless` experiences so Isaac Sim's own asset-root
APIs apply the
  variable too. See the note on #6499 below.
- New documentation covers pointing Isaac Lab at a local asset root.

Note on scope: this makes `ISAACSIM_ASSET_ROOT` the supported *runtime*
override for the
asset root. Editing `persistent.isaac.asset_root.default` in an
experience file also works,
since that is the fallback Isaac Lab reads. What it does not restore is
a command-line
override such as
`--kit_args="--/persistent/isaac/asset_root/cloud=<path>"`: Isaac Lab
still
does not read the live Carb setting, so changing it at runtime alone
will not move these
constants.

## On re-adding `isaacsim.storage.native` and Warp

#6499 removed `isaacsim.storage.native` by name, along with the other
Isaac Sim
extensions, to keep Isaac Sim's Warp version out of the extension graph.
This change
re-adds only that one extension, and it does not reintroduce that risk:

- Walking the recursive dependency closure, `isaacsim.storage.native`
resolves 55
extensions while `isaacsim.core.version` — which both experiences
already load —
resolves 54. The delta is exactly one extension:
`isaacsim.storage.native` itself. Its
dependencies, `isaacsim.core.version` and `omni.client`, are already in
the graph.
- No Warp extension appears anywhere in that closure.
- Headless launches before and after this change both report Warp at the
unchanged
baseline `1.13.0`. After the change, native storage is enabled and the
Carb `default`
  setting plus every Isaac Lab asset constant resolve to the local path.

This follows the same approach as #6697, which re-added
`omni.physics.physx` for the
PhysX registration bridge without restoring the Isaac Sim core extension
or its Warp
dependency.

## Known limitation, unchanged by this PR

The experience-file fallback always reads `apps/isaaclab.python.kit`
regardless of which
experience was launched. This is inert today because every shipped
experience carries the
same asset root, but editing the value in another experience file still
has no effect on
Isaac Lab.

Related but separate: #4478 and #4479 propose a broader offline mode
with asset
mirroring and an `--offline` flag. This PR is the narrow fix for the
documented
environment override.

Fixes #6318

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)
- Documentation update

## Screenshots

Not applicable, this change has no visual output.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Co-authored-by: Kelly Guo <[email protected]>
kellyguo11 added a commit that referenced this pull request Aug 1, 2026
# Description

Dynamically enables `omni.replicator.core` when `IsaacRtxRenderer` is
constructed, before global renderer settings can import the Replicator
module.

PR #6499 intentionally removed broad Isaac Sim extension dependencies
from the
Kit experiences because Replicator directly depends on `omni.warp.core`.
Declaring Replicator statically allows Kit to resolve the bundled Warp
extension during startup, before Isaac Lab's selected Warp package is
established.

The Isaac RTX renderer module imports Isaac Lab's `warp` first, then
enables
Replicator only when that renderer is selected. Replicator's dependency
resolution can therefore no longer replace the already-loaded public
`warp`
module. The base `.kit` experiences remain unchanged.

The regression test verifies that runtime enablement happens before
global
settings can perform the first `omni.replicator.core` import.

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## Screenshots

Not applicable; this is a renderer initialization fix.

## Validation

- Confirmed the focused regression test fails without the runtime
enablement
  call.
- `.\isaaclab.bat -p -m pytest
source\isaaclab_physx\test\renderers\test_isaac_rtx_renderer_contract.py
-q`
  (`10 passed`)
- Launched the minimal headless Kit experience, constructed
  `IsaacRtxRenderer` with DLAA, and verified:
  - `omni.replicator.core` becomes enabled dynamically.
- The `warp` module object and filesystem path are identical before and
    after Replicator enablement.
- Kit's known duplicate-public-module warning prevents bundled Warp from
    replacing Isaac Lab's Warp.
- `.\isaaclab.bat -p tools\changelog\cli.py check develop`
- `.\isaaclab.bat -f`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `.\isaaclab.bat -f`
- [x] Documentation changes are not required for this internal renderer
initialization fix
- [x] My changes generate no new unexpected warnings
- [x] I have added tests that prove the fix is effective
- [x] I have added a changelog fragment for the touched package
- [x] My name already exists in `CONTRIBUTORS.md`
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
isaac-sim#6499)

# Description

Isaac Sim requires different Warp versions as Isaac Lab. To avoid
conflicts, we are removing Isaac Sim extensions from our .kit files to
avoid loading in Isaac Sim extensions that would pull in Isaac Sim's
warp version. This avoids conflicts between the warp versions and
ensures that Isaac Lab's warp build gets used.

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)


## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [ ] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

Restore the CPU PhysX stage-initialization path from isaac-sim#4675 while
preserving the
Isaac Sim core-extension removal from isaac-sim#6499.

isaac-sim#6499 removed `isaacsim.core.simulation_manager`, which also removed the
registration bridge between the unified physics API and PhysX. The
replacement
CPU path explicitly attached the stage and skipped
`force_load_physics_from_usd()`. This reintroduced non-deterministic CPU
broadphase collision failures, observed by the SkillGen test in isaac-sim#6687.

This change:

- adds `omni.physics.physx` to the GUI and headless app experiences so
PhysX is
  registered without restoring the Isaac Sim core extension or its Warp
  dependency;
- restores the pre-isaac-sim#6499 warmup behavior: only GPU explicitly attaches
the
  stage, while CPU uses `force_load_physics_from_usd()`;
- updates the regression test to verify the bridge is enabled, CPU does
not call
  `attach_stage()`, and CPU force-loads exactly once.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

Not applicable.

## Validation

- `uv run python -m pytest
source/isaaclab_physx/test/assets/test_rigid_object.py::test_warmup_attach_stage_not_called_for_cpu
source/isaaclab_physx/test/assets/test_rigid_object.py::test_initialization
-q`
  - 5 passed across CPU and GPU initialization.
- CPU SkillGen environment creation and 20 random-action steps passed
for
  `IsaacContrib-Stack-Cube-Franka-IK-Rel-Skillgen`.
- `uv run python tools/changelog/cli.py check develop`
- `uv run isaaclab -f`

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab -f`
- [x] Documentation changes are not required for this internal lifecycle
fix
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective
- [x] I have added a changelog fragment under
`source/isaaclab_physx/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
…saac-sim#6739)

# Description

> [!IMPORTANT]
> Confirm the pull request base before submitting. Target `develop` for
all
> contributions. The `release/3.0.0-beta2` branch is a frozen stable
landing
> snapshot and is not used for ongoing maintenance.

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link:
https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html

💡 Please try to keep PRs small and focused. Large PRs are harder to
review and merge.
-->

Isaac Lab's asset paths ignore the documented `ISAACSIM_ASSET_ROOT`
environment
variable, so users cannot point Isaac Lab at a local, self-hosted, or
air-gapped copy
of the assets.

`NUCLEUS_ASSET_ROOT_DIR` and every path derived from it are resolved by
parsing
`persistent.isaac.asset_root.cloud` out of `apps/isaaclab.python.kit`.
Because the value
comes from the experience file rather than the environment, the variable
has no effect on
Isaac Lab's constants, which stay on the production S3 bucket.

The variable does not reach Isaac Sim's own asset root either.
`ISAACSIM_ASSET_ROOT` is
applied by `isaacsim.storage.native`, which sets
`persistent.isaac.asset_root.default` at
extension startup, and the shipped Isaac Lab experiences do not load
that extension. So in
an Isaac Lab launch today the documented override is inert on both
sides, which is why this
change touches both the resolver and the experience files.

In isaac-sim#6318 the reporter worked around the second half by configuring
`persistent.isaac.asset_root.default` to a local directory directly,
with
`persistent.isaac.asset_root.cloud` unset entirely, and
`ISAAC_NUCLEUS_DIR` still resolved
to the cloud URL because Isaac Lab only read `cloud`.

This change makes Isaac Lab follow the same override Isaac Sim
documents:

- `ISAACSIM_ASSET_ROOT` is read first and used exactly as
`isaacsim.storage.native` uses it,
so the two sides cannot resolve different roots from the same value. The
only deviation is
the trailing separator, stripped for both `/` and `\` because Isaac Lab
concatenates further
path components onto the root and the variable is documented for Windows
as well.
- The experience file remains the fallback for kitless use, but now
reads
`persistent.isaac.asset_root.default` before the legacy
`persistent.isaac.asset_root.cloud`,
matching the only asset-root setting Isaac Sim resolves. Note the
migration consequence:
redirecting Isaac Lab by editing only the `cloud` key in an experience
file no longer has
any effect, since the shipped experiences leave `default` on the cloud
URL. This is called
  out in both the new documentation and the changelog fragment.
- `isaacsim.storage.native` is added to the `isaaclab.python` and
`isaaclab.python.headless` experiences so Isaac Sim's own asset-root
APIs apply the
  variable too. See the note on isaac-sim#6499 below.
- New documentation covers pointing Isaac Lab at a local asset root.

Note on scope: this makes `ISAACSIM_ASSET_ROOT` the supported *runtime*
override for the
asset root. Editing `persistent.isaac.asset_root.default` in an
experience file also works,
since that is the fallback Isaac Lab reads. What it does not restore is
a command-line
override such as
`--kit_args="--/persistent/isaac/asset_root/cloud=<path>"`: Isaac Lab
still
does not read the live Carb setting, so changing it at runtime alone
will not move these
constants.

## On re-adding `isaacsim.storage.native` and Warp

isaac-sim#6499 removed `isaacsim.storage.native` by name, along with the other
Isaac Sim
extensions, to keep Isaac Sim's Warp version out of the extension graph.
This change
re-adds only that one extension, and it does not reintroduce that risk:

- Walking the recursive dependency closure, `isaacsim.storage.native`
resolves 55
extensions while `isaacsim.core.version` — which both experiences
already load —
resolves 54. The delta is exactly one extension:
`isaacsim.storage.native` itself. Its
dependencies, `isaacsim.core.version` and `omni.client`, are already in
the graph.
- No Warp extension appears anywhere in that closure.
- Headless launches before and after this change both report Warp at the
unchanged
baseline `1.13.0`. After the change, native storage is enabled and the
Carb `default`
  setting plus every Isaac Lab asset constant resolve to the local path.

This follows the same approach as isaac-sim#6697, which re-added
`omni.physics.physx` for the
PhysX registration bridge without restoring the Isaac Sim core extension
or its Warp
dependency.

## Known limitation, unchanged by this PR

The experience-file fallback always reads `apps/isaaclab.python.kit`
regardless of which
experience was launched. This is inert today because every shipped
experience carries the
same asset root, but editing the value in another experience file still
has no effect on
Isaac Lab.

Related but separate: isaac-sim#4478 and isaac-sim#4479 propose a broader offline mode
with asset
mirroring and an `--offline` flag. This PR is the narrow fix for the
documented
environment override.

Fixes isaac-sim#6318

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

## Type of change

<!-- As you go through the list, delete the ones that are not
applicable. -->

- Bug fix (non-breaking change which fixes an issue)
- Documentation update

## Screenshots

Not applicable, this change has no visual output.

<!--
Example:

| Before | After |
| ------ | ----- |
| _gif/png before_ | _gif/png after_ |

To upload images to a PR -- simply drag and drop an image while in edit
mode and it should upload the image directly. You can then paste that
source into the above before/after sections.
-->

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Co-authored-by: Kelly Guo <[email protected]>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

Dynamically enables `omni.replicator.core` when `IsaacRtxRenderer` is
constructed, before global renderer settings can import the Replicator
module.

PR isaac-sim#6499 intentionally removed broad Isaac Sim extension dependencies
from the
Kit experiences because Replicator directly depends on `omni.warp.core`.
Declaring Replicator statically allows Kit to resolve the bundled Warp
extension during startup, before Isaac Lab's selected Warp package is
established.

The Isaac RTX renderer module imports Isaac Lab's `warp` first, then
enables
Replicator only when that renderer is selected. Replicator's dependency
resolution can therefore no longer replace the already-loaded public
`warp`
module. The base `.kit` experiences remain unchanged.

The regression test verifies that runtime enablement happens before
global
settings can perform the first `omni.replicator.core` import.

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## Screenshots

Not applicable; this is a renderer initialization fix.

## Validation

- Confirmed the focused regression test fails without the runtime
enablement
  call.
- `.\isaaclab.bat -p -m pytest
source\isaaclab_physx\test\renderers\test_isaac_rtx_renderer_contract.py
-q`
  (`10 passed`)
- Launched the minimal headless Kit experience, constructed
  `IsaacRtxRenderer` with DLAA, and verified:
  - `omni.replicator.core` becomes enabled dynamically.
- The `warp` module object and filesystem path are identical before and
    after Replicator enablement.
- Kit's known duplicate-public-module warning prevents bundled Warp from
    replacing Isaac Lab's Warp.
- `.\isaaclab.bat -p tools\changelog\cli.py check develop`
- `.\isaaclab.bat -f`

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `.\isaaclab.bat -f`
- [x] Documentation changes are not required for this internal renderer
initialization fix
- [x] My changes generate no new unexpected warnings
- [x] I have added tests that prove the fix is effective
- [x] I have added a changelog fragment for the touched package
- [x] My name already exists in `CONTRIBUTORS.md`
kellyguo11 added a commit that referenced this pull request Aug 29, 2026
…coped Fabric selections (#6805) (#7342)

# Description

Backports two already-merged FrameView PRs to `release/3.0.0-beta2`,
cherry-picked in merge order:

- #5677 — GPU-accelerated FrameView local poses + `xform_space_writer`
API (upstream `69888c34e471`)
- #6805 — scale `FabricFrameView` selections to the view, not the stage
(upstream `480370cdc5b0`, nvbug 6535498)

Two support commits, because this branch predates some prerequisites:

- `Shim needed for Arena compatibility.` (@amillane) adds
`split_clone_template`, backported from #6071. Ordered first so no
commit imports it before it exists.
- `fix: use the OVPhysX tensor binding API…` restores this branch's
`physx.create_tensor_binding()` / `binding.read()`. The #5677 pick
referenced `OvPhysxView`, which arrives with #6224 and is absent here,
so `OvPhysxFrameView` init raised `ModuleNotFoundError`.

Conflict resolutions converge each touched file on its post-#6805 state
from `develop`, so the backported code is byte-identical to what has
been running and tested there. Two consequences of that choice:

- `get_scales()` now returns `ProxyArray` in all backends, as on
`develop`. On this branch it previously returned `wp.array`, so callers
that pass the result straight to Warp APIs need `.warp` (Torch users:
`.torch`). This is the one API change the backport carries.
- The Fabric-hierarchy import stays unconditional (the optional import
is #6499, not backported).

The only deviation from `develop`'s state is test-infra: device
parametrization uses literal `["cpu", "cuda:0"]` because
`test_devices()` does not exist on this branch.

## Type of change

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality) —
`FrameView.close()`, writer-scope API
- Breaking change (relative to this release branch only): `get_scales()`
returns `ProxyArray` instead of `wp.array`, matching `develop`

## Tests

- `test_views_xform_prim_ovphysx.py` — 49 passed (26 `cpu` + 24
`cuda:0`; needs one process per device, `ovphysx<=0.3.7` binds device
mode in C++ on first `PhysX(...)`)
- `test_views_xform_prim_newton.py` — 58 passed

---------

Co-authored-by: alex <[email protected]>
Co-authored-by: pv-nvidia <[email protected]>
Co-authored-by: pv-nvidia <[email protected]>
Co-authored-by: yts-nv <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team isaac-mimic Related to Isaac Mimic team isaac-sim Related to Isaac Sim team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants