Maniphest T94082

Crash on changing curve type from Bezier to NURBS in Geometry Nodes
Closed, ResolvedBUG

Assigned To
Hans Goudey (HooglyBoogly)
Authored By
Andrii Sokolov (Android135)
Dec 15 2021, 1:14 AM
Tags
  • BF Blender
  • Geometry Nodes
Subscribers
Andrii Sokolov (Android135)
Fen (chemicalcrux)

Description

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: rBf1cca3055776
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender crashes when changing spline type from Bezier to NURBS in "Geometry Nodes" tab. Geometry Nodes applied to curve itself. Changing to other spline types, changin types without Geometry Nodes applied or working with NURBS curve from beginning behaves as expected.
Have checked on another machine as well with the same result - Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47
Same version of Blender.

Exact steps for others to reproduce the error

  1. Create Bezier curve in Blender's default scene
  2. Go to Geometry Nodes tab
  3. Apply Geometry Nodes to curve created in step 1, clicking on New button
  4. Create Curve to Points node connected to Group Input and Group Output
  5. Add Instances on Points node after "Curve to Points"
  6. Drag the Cube object from Outliner and drop it in "Geometry Nodes" graph to create Object Info node linked to "Cube"
  7. Connect "Geometry" socket from Cube to Instance socket on "Instances on Points" node
  8. Make sure that Bezier curve is selected and go to Edit Mode
  9. Inside Viewport click on Curve -> Set Spline Type -> NURBS
  10. Blender crashes.

See attached .blend file below with 1-8 steps prepared.

Video with crash event attached as well.

Thanks!

Revisions and Commits

rB Blender

Related Objects

Event Timeline

Andrii Sokolov (Android135) created this task.Dec 15 2021, 1:14 AM
Andrii Sokolov (Android135) updated the task description.
Fen (chemicalcrux) changed the task status from Needs Triage to Confirmed.Dec 15 2021, 1:33 AM
Fen (chemicalcrux) triaged this task as High priority.
Fen (chemicalcrux) added a subscriber: Fen (chemicalcrux).

Can confirm, on both 3.0.0 and on a debug build of 3.1.0. Non-debug builds are getting an access violation.

I get the following assertion failure in a 3.1.0 debug build: P2662

I believe that lite debug build was built from rBa90c3564676649aa4a0b74112c852a75de6d3521

Fen (chemicalcrux) added a project: Geometry Nodes.Dec 15 2021, 1:34 AM
Hans Goudey (HooglyBoogly) claimed this task.Dec 15 2021, 1:54 AM
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".
Hans Goudey (HooglyBoogly) closed this task as Resolved by committing rB67b657f07c96: Fix T94082: Curve to point empty evaluated NURBS crash.Dec 15 2021, 1:58 AM
Hans Goudey (HooglyBoogly) added a commit: rB67b657f07c96: Fix T94082: Curve to point empty evaluated NURBS crash.
Philipp Oeser (lichtwerk) added a commit: rB0a6b6eb13ba6: Fix T94082: Curve to point empty evaluated NURBS crash.Jan 11 2022, 9:33 AM