Can't load vehicle dynamics extension

I get the following messages when I try to load the omni.physx.vehicle extension:

2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin] ErrorException: 
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin] 	Error in 'pxrInternal_v0_20__pxrReserved__::UsdPrim::_HasAPI' at line 126 in file E:\w\ca6c508eae419cf8\USD\pxr\usd\usd\prim.cpp : 'HasAPI: provided schema type ( PhysxSchemaPhysxVehicleContextAPI ) is not an applied API schema type.'
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin] 
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin] At:
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\wizards\physxVehicleWizard.py(590): _get_length_scale_and_coordinates
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\wizards\physxVehicleWizard.py(611): reset_data
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\wizards\physxVehicleWizard.py(539): __init__
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\extension.py(25): on_startup
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(145): _startup_ext
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(191): startup_all_extensions_in_module
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(247): startup_all_extensions_in_module
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   PythonExtension.cpp::startup()(2): <module>
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_commands.py(30): do
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extscore\omni.kit.commands\omni\kit\undo\undo.py(75): execute
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extscore\omni.kit.commands\omni\kit\commands\command.py(249): execute
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\utils.py(50): toggle_extension
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_components.py(79): toggle
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_components.py(89): <lambda>
2022-04-08 19:07:54  [Error] [carb.scripting-python.plugin] 

what should I do to correctly load this extension?

I took another look and there was more info in the error logs:

2022-04-08 19:54:19  [Error] [rtx.optixdenoising.plugin] [Optix] [ERROR] Error initializing RTX library
2022-04-08 19:54:19  [Error] [rtx.optixdenoising.plugin] optixDeviceContextCreate(cuCtx, &options, &m_optixContext[d]) failed. Optix Error: OPTIX_ERROR_INTERNAL_ERROR.
2022-04-08 19:54:19  [Error] [rtx.optixdenoising.plugin] Internal error
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin] AttributeError: 'NoneType' object has no attribute 'GetPropertyNames'
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin] 
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin] At:
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx-1.4.0-5.1\omni\physx\scripts\utils.py(40): _getSchemaRegistryProperties
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx-1.4.0-5.1\omni\physx\scripts\utils.py(44): getSchemaPropertyNames
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.kit.property.physx\omni\kit\property\physx\widgets.py(391): __init__
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.kit.property.physx\omni\kit\property\physx\widgets.py(1433): __init__
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.kit.property.physx\omni\kit\property\physx\widgets.py(310): <listcomp>
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.kit.property.physx\omni\kit\property\physx\widgets.py(310): __init__
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.kit.property.physx\omni\kit\property\physx\__init__.py(121): __init__
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.kit.property.physx\omni\kit\property\physx\__init__.py(84): on_startup
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(143): _startup_ext
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(191): startup_all_extensions_in_module
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(247): startup_all_extensions_in_module
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   PythonExtension.cpp::startup()(2): <module>
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_commands.py(30): do
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extscore\omni.kit.commands\omni\kit\undo\undo.py(75): execute
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extscore\omni.kit.commands\omni\kit\commands\command.py(249): execute
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\utils.py(50): toggle_extension
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_components.py(79): toggle
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_components.py(89): <lambda>
2022-04-08 19:54:55  [Error] [carb.scripting-python.plugin] 
2022-04-08 19:54:55  [Error] [omni.ext.plugin] [ext: omni.kit.property.physx-0.1.0] Failed to process python module extension in 'c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/extsphysics/omni.kit.property.physx/.'.
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin] ErrorException: 
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin] 	Error in 'pxrInternal_v0_20__pxrReserved__::UsdPrim::_HasAPI' at line 126 in file E:\w\ca6c508eae419cf8\USD\pxr\usd\usd\prim.cpp : 'HasAPI: provided schema type ( PhysxSchemaPhysxVehicleContextAPI ) is not an applied API schema type.'
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin] 
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin] At:
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\wizards\physxVehicleWizard.py(590): _get_length_scale_and_coordinates
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\wizards\physxVehicleWizard.py(611): reset_data
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\wizards\physxVehicleWizard.py(539): __init__
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extsphysics\omni.physx.vehicle-1.4.0-5.1\omni\physxvehicle\scripts\extension.py(25): on_startup
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(145): _startup_ext
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(191): startup_all_extensions_in_module
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/plugins/bindings-python\omni\ext\impl\_internal.py(247): startup_all_extensions_in_module
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   PythonExtension.cpp::startup()(2): <module>
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_commands.py(30): do
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extscore\omni.kit.commands\omni\kit\undo\undo.py(75): execute
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\extscore\omni.kit.commands\omni\kit\commands\command.py(249): execute
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\utils.py(50): toggle_extension
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_components.py(79): toggle
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin]   c:\users\eric\appdata\local\ov\pkg\code-2022.1.0\kit\exts\omni.kit.window.extensions\omni\kit\window\extensions\ext_components.py(89): <lambda>
2022-04-08 19:54:56  [Error] [carb.scripting-python.plugin] 
2022-04-08 19:54:56  [Error] [omni.ext.plugin] [ext: omni.physx.vehicle-1.4.0-5.1] Failed to process python module extension in 'c:/users/eric/appdata/local/ov/pkg/code-2022.1.0/kit/extsphysics/omni.physx.vehicle-1.4.0-5.1/.'.

Loading the physx bundle (you have to check autoload and then restart the code app) loads the physx vehicle extension without errors.

Yes correct loading the bundle is the best way to ensure you have all the pieces. Also the USD schemas that are required for the physics need application restart.
We have internally a bug report to make this more clear to the user and not even allow omni.physx extensions to be loadable if the restart is required.
Sorry for the inconvenience.

Ales

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