Skip to content

omni.replicator.core 1.13.38 triggers 'pxr.Semantics is deprecated' warning on every startup (Isaac Sim 6.2.0.1) #955

Backlog

Description

@ycpss91255

Summary

Starting Isaac Sim 6.2.0.1 (nvcr.io/nvidia/isaac-sim:6.2.0.1) always logs:

[Warning] [pxr.Semantics] pxr.Semantics is deprecated - please use Semantics instead

It is emitted while omni.replicator.core-1.13.38 starts up, so it is not caused by user code.

Reproduce

docker run --rm --gpus all -e ACCEPT_EULA=Y -e PRIVACY_CONSENT=Y --entrypoint /isaac-sim/python.sh nvcr.io/nvidia/isaac-sim:6.2.0.1 t.py

t.py only does from isaacsim import SimulationApp; SimulationApp({"headless": True}).close().

The warning appears right after [ext: omni.replicator.core-1.13.38] startup, with no user code involved.

Cause

extscache/omni.usd.schema.semantics-0.0.0+187cf21b.lx64.r.cp312/pxr/Semantics/__init__.py calls omni.log.warn("pxr.Semantics is deprecated - please use Semantics instead") on import. Inside omni.replicator.core-1.13.38 these still import the deprecated path:

  • omni/replicator/core/scripts/utils/utils.py:37: from pxr import Gf, Sdf, Semantics, Tf, Usd, UsdGeom, UsdSemantics, UsdShade
  • omni/replicator/core/ogn/python/impl/nodes/OgnGetSkeletonData.py:32: from pxr import ..., Semantics, ...
  • omni/replicator/core/scripts/functional/modify.py:1146,1163: pxr.Semantics.SemanticsAPI

(utils.py is loaded at extension startup, so it is the most likely trigger; the call stack was not captured because the import goes through Kit's loader.)

Suggested fix

Use import Semantics / UsdSemantics directly, as the warning text says, and drop the pxr.Semantics path.

Environment

  • Isaac Sim 6.2.0.1 container image, omni.replicator.core 1.13.38
  • I found no existing issue about this warning in this repo.

Activity

  1. vick-yu commented on Nov 29, 2026

    @vick-yu

    Thanks for the detailed report and the exact import lines. I reproduced it with your t.py: the warning shows up once at startup, right after omni.replicator.core starts, and no user code is involved.

    It is a cosmetic warning. Nothing is broken and nothing needs to change in your own code.

    What's happening

    Your diagnosis is correct. pxr/Semantics/__init__.py in omni.usd.schema.semantics logs the deprecation message whenever it is imported, and omni.replicator.core still imports it through from pxr import ..., Semantics, ... (for example omni/replicator/core/scripts/utils/utils.py:37, which loads at extension startup). I confirmed by re-importing that module that it triggers the warning once per process.

    It is not new in 6.2.0. I also see it in 6.0.1, 6.1.0 and a 6.3.0 alpha build, so it has been there for a few releases.

    Two other bundled extensions import Semantics from pxr the same way (semantics.schema.editor, semantics.schema.property), so changing only the replicator may not remove the message on its own. I did not patch those to check.

    One detail for the fix: omni/replicator/core/scripts/functional/modify.py:1146 and :1163 use pxr.Semantics.SemanticsAPI as an attribute. After switching to import Semantics, pxr.Semantics is no longer an attribute of pxr, so those two lines need the same change.

    Workaround

    To hide the message, raise the level of that log channel:

    from isaacsim import SimulationApp
    app = SimulationApp({"headless": True, "extra_args": ["--/log/channels/pxr.Semantics=error"]})

    I tested this on 6.2.0 and the warning disappears. It only affects that one log channel.

    I'll pass this on to the team as a cleanup item. Thanks for reporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions