Exporting procedural mesh animation with Alembic results in a static mesh and can cause crashes #65816
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#65816
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 Home
Graphics card: GTX 1070 8GB
Blender Version
Broken: 2.80,
8ac0fef4df
, 2019-06-14Worked: 2.79,
5bd8ac9
, 2017-09-11Short description of error
I have created a small script that updates an object mesh geometry within a frame_change_pre handler. Now I want to export the animation using the Alembic exporter. I have added a modifier to the object so that it is recognized as an animated mesh during Alembic export (according to this comment ).
In Blender 2.79, the exported mesh is animated, but in Blender 2.80 the exported mesh is static.
Exact steps for others to reproduce the error
I have attached a .blend file that will reproduce the issue and that will run in both 2.79 and 2.80.
procedural_alembic_export.blend
Result: the Alembic cache is not animated
Added subscriber: @rlguy
Added subscriber: @ZedDB
I'm getting an assert on export:
If I ignore that, I get an other assert when opening the exported file:
If I ignore that too, I get a segfault on import:
I'm guessing this is related to reported issue here.
@ZedDB that segfault isn't related, and is fixed in
964e319a39
.@dr.sybren But you can reproduce the issue mentioned here?
I can. A solution is more tricky, though; I'm working on a new way to iterate the depsgraph and properly use evaluated data for exporting to USD, which we can also use to export to Alembic. However, such a major change is probably too major to put into the 2.80 release.
Added subscriber: @juang3d
How is this going?
This is preventing from being able to properly export a fluid simulation to alembic, Blender crashes, this is the terminal output, on windows 10 x64, today's master from build bot:
Is there a workaround?
It's a pretty big bug and an important one if we have to work with a fluids project (as we have to do right now)
Cheers.
@juang3d What you describe is not the same problem as is discussed here. If you have a crash, please write a separate bug report via the "Report Bug" item in the "Help" menu.
I’ve been directed towards this bug by the Flip Fluids Addon developer, that is why I assumed that this is the same bug.
I’ll report a different bug if you think it’s a different one :)
Thanks!
I have recently received a few reports from users of the FLIP Fluids addon that this issue is now resulting in crashes rather than the static exported Alembic caches reported in the original post. I have just had a chance to test this on the most recent Blender 2.80 build (
02c5c091df
) and have been able to confirm this crash using the .blend file and instructions in the original post.This is the error that I receive:
System Information
Operating system: Windows 10 Home
Graphics card: GTX 1070 8GB
Sometimes running the test results in this error message instead:
Note: the crashes do not occur 100% of the time. The frequency of crashes seem to increase as the length of animation frames increases. Extending the end frame to 2000 rather than 30 in the default .blend file seems to result in a crash every time on my home system.
Again, please read the original report. It is about Alembic exporting a static mesh. It's not about Blender crashing. If you have a crash, it's a different bug. If it's about fluid simulation, you're probably experiencing #52814 which has a fix in D5191, which will be included in Blender 2.81.
I’ll report it later :)
So I've investigated this a bit more and it's a different bug for sure.
The current bug is still present, I don't experience any crahses using the sample blend file and the script, but there is no animation export in the alembic export, but I saw that the patch is not included in 2.80 (too risky), I'll add the patch to my own build and I'll try to export the Flip Fluid result to see if anything changes regarding the crashes (I assume the triangle export thing will work of course).
On the other hand, @rlguy will post another bug for the export crash, it only happens with Flip Fluids addon, Mantaflow (version built today) and Elbeem exports are correct.
Cheers.
This issue depends on blender/blender-addons#60094 being fixed first.
This issue was referenced by
a9a8eedd16
Exporting procedural mesh animation with Alembic results in a static meshto Exporting procedural mesh animation with Alembic results in a static mesh and can cause crashesChanged status from 'Open' to: 'Resolved'