Commit 2c411d4
Avoid duplicate MuJoCo schema registration (#7393)
# Description
Isaac Lab exposes the codeless `mjcPhysics` plugin through
`PXR_PLUGINPATH_NAME` before OpenUSD builds its schema registry. The Kit
experiences also enabled `omni.usd.schema.mujoco`, which bundles a
second plugin with the same name and reports the duplicate registration
as an error even though the schema is already available.
This change removes the redundant extension dependency from the GUI and
headless Kit experiences. It keeps the early Isaac Lab schema exposure
needed by kitless MJCF conversion and documents why Kit must not
register a second copy.
No Kit extension replaces `omni.usd.schema.mujoco`: importing `isaaclab`
adds the standalone `mujoco_usd_converter/plugins` directory to
`PXR_PLUGINPATH_NAME`, and the OpenUSD `Plug.Registry` discovers its
codeless schema metadata. This is the same mechanism in Kit and kitless
processes.
No new dependencies are required.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## Release backport
- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`
## Screenshots
Not applicable; this removes a startup log error.
## Validation
- Live `isaaclab.python.kit` experience: launched successfully with
`headless=True`; `MjcSceneAPI` and the `mjcPhysics` plugin were
available, `omni.usd.schema.mujoco` remained disabled, and the
duplicate-registration error had zero matches
- Fresh kitless probe: `AppLauncher.is_available()` was false while
`MjcSceneAPI` and `mjcPhysics` were available from the standalone
converter plugin directory
- Existing kitless MJCF converter suite: 12 passed
- Existing experience-file tests: 6 passed
- Changelog validation against `upstream/develop`: passed
- Full repository formatting and pre-commit gate: passed
No new regression test was added, as requested.
## Checklist
- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks
- [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
- [x] I have added a changelog fragment under
`source/isaaclab/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`
(cherry picked from commit 493e3e3)1 parent adf8d9c commit 2c411d4
5 files changed
Lines changed: 55 additions & 7 deletions
File tree
- apps
- source/isaaclab
- changelog.d
- isaaclab
- tools/wheel_builder/res
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | | - | |
203 | 201 | | |
204 | 202 | | |
205 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
| 100 | + | |
97 | 101 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
101 | 119 | | |
102 | 120 | | |
103 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
87 | 115 | | |
| 116 | + | |
88 | 117 | | |
89 | 118 | | |
90 | 119 | | |
| |||
0 commit comments