Maniphest T76514

Invalid geometry in Alembic crashes Blender
Closed, ResolvedBUG

Assigned To
Sybren A. Stüvel (sybren)
Authored By
Radu Mitroi (radumitroi)
May 7 2020, 7:07 PM
Tags
  • Pipeline, Assets & I/O
  • Import/Export
  • Alembic
  • BF Blender (2.83)
Subscribers
Philipp Oeser (lichtwerk)
Radu Mitroi (radumitroi)
Sybren A. Stüvel (sybren)

Description

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

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: rB77d23b0bd76f
Worked: 2.79

Short description of error
I'm trying to import an alembic file from SpeedTree that contains a plant with a growing animation. As soon as I hit Import, Blender crashes.
Note: If I try to import an alembic file of the same model, only with wind animation and no growing animation, the file imports fine and the animation works. Tried opening the growing animation file in Blender 2.79 as well, and it all works perfectly fine.
I tried cheating my way around, and save that scene in Blender 2.79 and then open it in Blender 2.82. While that works, I can open the scene and the model is in there, moving the timeline in any way causes Blender to crash again.

Exact steps for others to reproduce the error
Just open an empty scene and try to import the attached files. One of them will crash your Blender.

Revisions and Commits

rB Blender
D7703

Event Timeline

Radu Mitroi (radumitroi) created this task.May 7 2020, 7:07 PM
Eitan Traurig (EitanSomething) added projects: Pipeline, Assets & I/O, Import/Export.May 7 2020, 7:17 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.May 7 2020, 7:45 PM
Philipp Oeser (lichtwerk) added a project: Alembic.
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".
Philipp Oeser (lichtwerk) added subscribers: Sybren A. Stüvel (sybren), Philipp Oeser (lichtwerk).

Works fine in 2.80 release still, later releases fail...

CC @Sybren A. Stüvel (sybren).

Radu Mitroi (radumitroi) added a comment.May 7 2020, 7:49 PM
In T76514#926275, @Philipp Oeser (lichtwerk) wrote:

Works fine in 2.80 release still, later releases fail...

CC @Sybren A. Stüvel (sybren).

Well, I'll have a go on with 2.80. Hopefully it does work. I only need it in a version that supports Eevee, so I don't care for the rest if it does work.

Bastien Montagne (mont29) assigned this task to Sybren A. Stüvel (sybren).May 12 2020, 9:56 AM
Bastien Montagne (mont29) moved this task from Backlog to Bugs on the Pipeline, Assets & I/O board.
Sybren A. Stüvel (sybren) renamed this task from Blender opens some alembic files while others cause immediate crash to Invalid geometry in Alembic crashes Blender.May 12 2020, 1:14 PM
Sybren A. Stüvel (sybren) updated the task description.
Sybren A. Stüvel (sybren) edited projects, added BF Blender (2.83); removed BF Blender.May 12 2020, 1:43 PM

SpeedTree is known for producing invalid geometry, and this case is the same. Still, it's nice to not have Blender crash on it.

Sybren A. Stüvel (sybren) closed this task as Resolved by committing rB973ab436f07c: Fix T76514: Invalid geometry in Alembic crashes Blender.May 12 2020, 1:59 PM
Sybren A. Stüvel (sybren) added a commit: rB973ab436f07c: Fix T76514: Invalid geometry in Alembic crashes Blender.