Export to MDL throws an error

Repro steps:

  • Add cube mesh
  • Apply built-in material (e.g. Aluminum_Anodized)
  • Right click on material
  • Click “Export to MDL”
  • Choose a path

2024-05-15 04:27:56 [Warning] [omni.kit.window.filepicker.api] No item exists with url ‘C:/Users/Eugene/Documents/Aluminum_Anodized.mdl’.
2024-05-15 04:28:00 [Error] [asyncio] Task exception was never retrieved
2024-05-15 04:28:00 [Error] [asyncio] future: <Task finished name=‘Task-89094’ coro=<usd_to_mdl() done, defined at c:/users/eugene/appdata/local/ov/pkg/create-2023.2.5/extscache/omni.mdl.usd_converter-1.0.9+ece658d9/omni/mdl/usd_converter/usd_converter.py:270> exception=AttributeError(“‘omni.mdl.neuraylib._neuraylib.NeurayLib’ object has no attribute ‘ResolveTiledResourceUri’”)>
2024-05-15 04:28:00 [Error] [asyncio] Traceback (most recent call last):
2024-05-15 04:28:00 [Error] [asyncio] File “c:/users/eugene/appdata/local/ov/pkg/create-2023.2.5/extscache/omni.mdl.usd_converter-1.0.9+ece658d9/omni/mdl/usd_converter/usd_converter.py”, line 314, in usd_to_mdl
2024-05-15 04:28:00 [Error] [asyncio] inst_name = await mdl_usd.convert_usd_to_mdl(context, usd_prim, path)
2024-05-15 04:28:00 [Error] [asyncio] File “c:/users/eugene/appdata/local/ov/pkg/create-2023.2.5/extscache/omni.mdl.usd_converter-1.0.9+ece658d9/omni/mdl/usd_converter/mdl_usd.py”, line 1531, in convert_usd_to_mdl
2024-05-15 04:28:00 [Error] [asyncio] success = await save_instance_to_module(context, inst_name, prim_path, temp_dir, output_filename)
2024-05-15 04:28:00 [Error] [asyncio] File “c:/users/eugene/appdata/local/ov/pkg/create-2023.2.5/extscache/omni.mdl.usd_converter-1.0.9+ece658d9/omni/mdl/usd_converter/mdl_usd.py”, line 2044, in save_instance_to_module
2024-05-15 04:28:00 [Error] [asyncio] await prepare_resources_for_export(transaction, inst_name, temp_dir)
2024-05-15 04:28:00 [Error] [asyncio] File “c:/users/eugene/appdata/local/ov/pkg/create-2023.2.5/extscache/omni.mdl.usd_converter-1.0.9+ece658d9/omni/mdl/usd_converter/mdl_usd.py”, line 1938, in prepare_resources_for_export
2024-05-15 04:28:00 [Error] [asyncio] texture_list = rtxNeurayLib.ResolveTiledResourceUri(resourceUri)
2024-05-15 04:28:00 [Error] [asyncio] AttributeError: ‘omni.mdl.neuraylib._neuraylib.NeurayLib’ object has no attribute ‘ResolveTiledResourceUri’
2024-05-15 04:28:00 [Warning] [rtx.neuraylib.plugin] [API:DATABASE] 1.0 API db warn : Transaction is released without being committed or aborted. Automatically aborting.

I don’t see anything that would help here: https://docs.omniverse.nvidia.com/kit/docs/kit-sdk/latest/source/extensions/omni.mdl.neuraylib/docs/index.html#omni.mdl.neuraylib.NeurayLib

The USD Material MDL Export extension is installed and is v1.0.4. I tried the “test” tab, and they do not pass, but I’m not 100% that I’m invoking them correctly – the test count is always zero.

Yes I have confirmed this error. Not good. I will contact the devs. The good news is that this error has already been fixed in the next version.