USD Export not working - unable to find suitable USD Plugin #75357

Closed
opened 2020-04-03 19:40:16 +02:00 by Marcus Papathoma · 17 comments

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: 6f4dbb661f
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!

**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: `6f4dbb661f` 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!

Added subscriber: @machieb

Added subscriber: @machieb
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

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

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

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

image.png

![image.png](https://archive.blender.org/developer/F8450048/image.png)

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?

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?
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @deadpin

Added subscriber: @deadpin

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
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 ```

Added subscribers: @dr.sybren, @LazyDodo

Added subscribers: @dr.sybren, @LazyDodo
Member

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

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

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This issue was referenced by 29b87b5615

This issue was referenced by 29b87b5615f60919977f2e383e8fdf30bdf498fb
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Ray molenkamp self-assigned this 2020-04-06 22:39:13 +02:00

Added subscriber: @PierreSchiller

Added subscriber: @PierreSchiller

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?

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.

It was just fixed so you'll have to wait to download the new nightly build available in the next 4 hours or so.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#75357
No description provided.