Geometry Nodes: Metaball instances disappear on update or have delayed updating #99848

Closed
opened 2022-07-19 21:33:07 +02:00 by Anon · 4 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79

Blender Version
Broken: version: 3.2.1, branch: master, commit date: 2022-07-05 15:44, hash: a2d59b2dac
Worked: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c

Short description of error
Instanced metaballs using geometry nodes disappear when changing exposed values in the modifier itself or when you move the object that has the node tree, but seem to update to previous operation when changing values inside the node tree.

Exact steps for others to reproduce the error

  • Start a new file
  • Add Metaball
  • Shift select the default Cube and parent the Mball to it {key SHIFT LMB} > {key CTRL P}
  • For Cube switch Instancing from None to Vertices in object properties
  • Add new geometry nodes to Cube
  • Put Instance on Points node between input and output
  • Add Object Info node, pick Mball, check As Instance and connect it to the Instance socket of the Instance on Points node (at this point, everything works in 3.1.2)
  • Uncheck As Instance, the metaballs appear instanced on points now
  • Try moving the Cube or do any change in the geometry node tree: metaballs disappear

Metaballs show up, but update to previous operation:

  • Check As Instance
  • Change X scale on the Instance on Points node by clicking and dragging to something like 10, metaballs show up and update as expected
  • Change X scale again, but by typing in 1 manually, metaballs update in an unexpected way
  • Change X scale by typing again to 2, metaballs update to the previous value of 1

gn_metaball.blend

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 511.79 **Blender Version** Broken: version: 3.2.1, branch: master, commit date: 2022-07-05 15:44, hash: `a2d59b2dac` Worked: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` **Short description of error** Instanced metaballs using geometry nodes disappear when changing exposed values in the modifier itself or when you move the object that has the node tree, but seem to update to previous operation when changing values inside the node tree. **Exact steps for others to reproduce the error** - Start a new file - Add **Metaball** - Shift select the default **Cube** and parent the **Mball** to it {key SHIFT LMB} > {key CTRL P} - For **Cube** switch *Instancing* from **None** to **Vertices** in object properties - Add new geometry nodes to **Cube** - Put **Instance on Points** node between input and output - Add **Object Info** node, pick Mball, check **As Instance** and connect it to the Instance socket of the Instance on Points node (at this point, everything works in 3.1.2) - Uncheck **As Instance**, the metaballs appear instanced on points now - Try moving the Cube or do any change in the geometry node tree: metaballs disappear Metaballs show up, but update to previous operation: - Check **As Instance** - Change X scale on the Instance on Points node by clicking and dragging to something like 10, metaballs show up and update as expected - Change X scale again, but by typing in 1 manually, metaballs update in an unexpected way - Change X scale by typing again to 2, metaballs update to the previous value of 1 [gn_metaball.blend](https://archive.blender.org/developer/F13301263/gn_metaball.blend)
Author

Added subscriber: @vf986425

Added subscriber: @vf986425
Member

Closed as duplicate of #87230

Closed as duplicate of #87230
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

I have merged the report to #87230. since MetaBalls are not supported yet.
However, note that you have a dependency cycle in this file, which is causing the unexpected behavior you see:

Dependency cycle detected:
  OBMball/Transform Component/TRANSFORM_INIT() depends on
  OBCube/Geometry Component/GEOMETRY_EVAL() via 'Parent'
  OBMball/Geometry Component/GEOMETRY_EVAL() via 'Nodes Modifier'
  OBMball/Geometry Component/GEOMETRY_EVAL_INIT() via 'Object Geometry UberEval'
  OBMball/Transform Component/TRANSFORM_FINAL() via 'Metaball Motherball Transform -> Geometry'
  OBMball/Transform Component/TRANSFORM_SIMULATION_INIT() via 'Simulation -> Final Transform'
  OBMball/Transform Component/TRANSFORM_EVAL() via 'Transform Eval -> Simulation Init'
  OBMball/Transform Component/TRANSFORM_PARENT() via 'Eval'
  OBMball/Transform Component/TRANSFORM_LOCAL() via 'ObLocal -> ObParent'
  OBMball/Transform Component/TRANSFORM_INIT() via 'Transform Init'
I have merged the report to #87230. since MetaBalls are not supported yet. However, note that you have a dependency cycle in this file, which is causing the unexpected behavior you see: ``` Dependency cycle detected: OBMball/Transform Component/TRANSFORM_INIT() depends on OBCube/Geometry Component/GEOMETRY_EVAL() via 'Parent' OBMball/Geometry Component/GEOMETRY_EVAL() via 'Nodes Modifier' OBMball/Geometry Component/GEOMETRY_EVAL_INIT() via 'Object Geometry UberEval' OBMball/Transform Component/TRANSFORM_FINAL() via 'Metaball Motherball Transform -> Geometry' OBMball/Transform Component/TRANSFORM_SIMULATION_INIT() via 'Simulation -> Final Transform' OBMball/Transform Component/TRANSFORM_EVAL() via 'Transform Eval -> Simulation Init' OBMball/Transform Component/TRANSFORM_PARENT() via 'Eval' OBMball/Transform Component/TRANSFORM_LOCAL() via 'ObLocal -> ObParent' OBMball/Transform Component/TRANSFORM_INIT() via 'Transform Init' ```
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
2 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#99848
No description provided.