USD animation exported from Audio2face can't play after opening saved scene #94396
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#94396
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: Nvidia RTX2070S
Processor: AMD Ryzen 5 3600XT
Blender Version
Broken: version:3.0 stable, commit date: 2021-12-02 andversion:3.1 alpha, commit date: 2021-12-23
Short description of error
Importing an USD animation and saving the scene, when loading that scene again the "MeshSequenceCache" throws an error stating "Could not create reader for file".
Also, on the same opened scene when trying to reimport the file, the error "USD Import: unable to open stage to read XXX" appears at the bottom.
Exact steps for others to reproduce the error
• New scene
• Import attached .usd file
• Save scene and quit Blender
• Load scene
{F12776835, size=full}
file.usd
Thanks and happy holidays!
Added subscriber: @marianobasti
Added subscribers: @dr.sybren, @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm.
I am getting these messages [which sounds suspicious @dr.sybren - is there something wrong with the lib?] opening the file again:
Added subscriber: @makowalski
It's the call to
pxr::UsdStageRefPtr stage = pxr::UsdStage::Open(filename);
inUSD_create_handle()
that causes this error.@makowalski could you take a look at this?
@lichtwerk @dr.sybren @marianobasti I have a fix for this (one line of code) and will follow up soon with the details.
@dr.sybren The fix is to call
ensure_usd_plugin_path_registered()
at the beginning ofUSD_create_handle()
, to ensure the USD file format plugins are loaded when the USDs are opened for the modifiers/constraints. Sybren, what is the best way to submit this fix? Given that it's only one line, should I still create a patch for this so others can test and review?Added subscriber: @Funnybob
I'm having the same issue. Here's the thing: On my computer, I can read the file perfectly. On my colleague's, he gets the message. We are both using the same version of Blender. We can't continue our work at this point. A quick release of the patch would be greatly appreciated. Cheers.
A workaround I found for the time being is exporting the animation to collada (.abc) once loaded into blender and importing it.
Here is another workaround: when you first launch Blender, before opening the .blend file in question, do a simple export to USD (for example, save the default cube to a throw-away USD file somewhere). This will force the USD plugins to load. You should then be able to load the blend file with the mesh sequence cache modifiers with no errors. Please let me know if this does not work for you.
@dr.sybren, please let me know how you'd like me to handle the release of this fix (or whether someone else can also do this, given the simplicity of the change).
@makowalski Yep! That worked! Thanks! (It's fun, 30 minutes ago I was listening to you on one of the omniverse clips. Small world!
My apologies. This simple fix has been delayed unnecessarily due to miscommunication on my part. Hopefully we can submit this very soon once revision
[D14066](https://archive.blender.org/developer/D14066)
has been accepted.This issue was referenced by
0a6a74bac4
Changed status from 'Confirmed' to: 'Resolved'
This fix is available in the 3.2 alpha builds.
Added subscriber: @codeloadgame