Page MenuHome

USD Export not working - unable to find suitable USD Plugin
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.41

Blender Version
Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-04-03 00:24, hash: rB6f4dbb661f10
Worked: Blender 2.82a

Short description of error
USD Export not working - Error - USD Export: unable to find suitable USD Plugin to write D:\....

Exact steps for others to reproduce the error
Open the latest blender version nightly build.
Select the cube in the vieport and go to File > Export > Universal Scene Description
Choose a place to store - hit export
The error message appears

It works in Blender 2.82a!

Revisions and Commits

Event Timeline

I just rebuilt after enabling USD in cmake. I cannot redo the error. Is your build correct ?

Ankit Meel (ankitm) changed the task status from Needs Triage to Needs Information from User.Apr 5 2020, 12:37 PM

Hello,
I am not building blender myself. I download the windows 10 x64 version from the nightly builds at https://builder.blender.org/download/
As I wrote, in Blender 2.82a USD works. In the current builds something is missing?!
It seams that in the 2.83alpha builds the USD Plugin is not included?

Ankit Meel (ankitm) changed the task status from Needs Information from User to Needs Triage.Apr 6 2020, 10:57 AM

There does seem to be an issue with master.

2.82 release is fine:

F:\blender\blender-2.82a-windows64 $ .\blender.exe --factory-startup -b --python-expr "import bpy; bpy.ops.wm.usd_export(filepath='foo.usd')"

Blender 2.82 (sub 7) (hash 375c7dc4caf4 built 2020-03-12 15:41:08)
AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: F:\blender\blender-2.82a-windows64\2.82\python
Warning: in GetType at line 384 of E:\db18\build\S\VS1564R\build\usd\src\external_usd\pxr\base\lib\vt\value.cpp -- Returning unknown type for VtValue with unregistered C++ type pxr_half::half
Warning: in GetType at line 384 of E:\db18\build\S\VS1564R\build\usd\src\external_usd\pxr\base\lib\vt\value.cpp -- Returning unknown type for VtValue with unregistered C++ type pxr_half::half
Warning: in GetType at line 384 of E:\db18\build\S\VS1564R\build\usd\src\external_usd\pxr\base\lib\vt\value.cpp -- Returning unknown type for VtValue with unregistered C++ type pxr_half::half
Warning: in GetType at line 384 of E:\db18\build\S\VS1564R\build\usd\src\external_usd\pxr\base\lib\vt\value.cpp -- Returning unknown type for VtValue with unregistered C++ type pxr_half::half

Blender quit

master branch fails:

F:\blender\blender-2.83-71b1ee940bb0-windows64 $ .\blender.exe --factory-startup -b --python-expr "import bpy; bpy.ops.wm.usd_export(filepath='foo.usd')"

Blender 2.83 (sub 12) (hash 71b1ee940bb0 built 2020-04-06 21:51:28)
AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: F:\blender\blender-2.83-71b1ee940bb0-windows64\2.83\python
Coding Error: in _CreateNew at line 456 of E:\db18\build\S\VS1564R\build\usd\src\external_usd\pxr\usd\lib\sdf\layer.cpp -- Failed verification: ' fileFormat '
Error: USD Export: unable to find suitable USD plugin to write foo.usd

Blender quit

Can confirm the issue but haven't looked deeper into it,, @Jesse Yurkovich (deadpin) 's test seems elegantly simple, perhaps we should include it in the unit tests?

Ray Molenkamp (LazyDodo) changed the task status from Needs Triage to Confirmed.Apr 6 2020, 10:19 PM

I confirm: I can export from 2.82 but not from 2.83. I downloaded 2.83 alpha this morning. So do we need to download and install something besides Blender 2.83 alpha?

It was just fixed so you'll have to wait to download the new nightly build available in the next 4 hours or so.