GeoNodes bake is lost after closing + reopening (or crash + reopen) #121140

Open
opened 2024-04-26 18:41:40 +02:00 by Mark Cowan · 2 comments

System Information
Operating system: Linux-6.5.0-28-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: Mesa Intel(R) Graphics (RPL-P) Intel 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2

Blender Version
Broken: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: e1743a0317bc
Worked: (newest version of Blender that worked as expected)

Short description of error
I use a Bake node in GeoNodes to bake an animation, then I close blender.
I reopen Blender and the baked geometry does not appear for the object - in fact no geometry is shown at all.

I think this issue started recently in the project rather than occuring the whole time, although I'm not certain.

I have a suspicion as to when this issue may have started, although I'm not certain:

  • Since GeoNodes can't emit vertex weights that Armature modifier will use, I tried to split the generation of instancing points from the instancing itself. This was so that the armature modifier (bone envelope binding) would affect position/orientation of entire instances at a time rather than parts of them.
  • So I had: GeoNodes to generate the points with their attributes → Armature modifier → GeoNodes to instance on points and realize instances.
  • This approach didn't work, I think the instancing was using the positions from the first GeoNodes, not from the Armature modifier.
  • I reverted back to my previous approach of just having GeoNodes (with instancing and realize) → Armature modifier.

I have another issue with this file, related to the Sun Position addon - I created a ticket for that here. Possibly the two are related, but I don't think so from the stack trace.

Exact steps for others to reproduce the error
[a quicker/easier more minimal example is provided in the comment following this one]

(to speed things up, set the frame range from e.g. 1 to 40 instead of to 4000)

  1. Open the blend file.
  2. Open the Geo Nodes tab.
  3. Select the "Leaves" object.
  4. Select the GeoNodes modifier on it.
  5. Find the "Bake" node.
  6. Bake (as animation).
  7. Change frame (e.g. Alt+MouseWheel, or jump in dope sheet) to see that the animation is baked.
  8. File -> Save / Ctrl+S
  9. Close Blender.

Open the blend file again.
There's no geometry output by the Geonodes modifier at all. [issue reproduced at this point]
Click the bin on the Bake node to delete the bake - now geometry appears, but the animation is incomplete when jumping across the timeline, as expected without a full bake.

**System Information** Operating system: Linux-6.5.0-28-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: Mesa Intel(R) Graphics (RPL-P) Intel 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 **Blender Version** Broken: version: 4.1.1, branch: blender-v4.1-release, commit date: 2024-04-15 15:11, hash: `e1743a0317bc` Worked: (newest version of Blender that worked as expected) **Short description of error** I use a Bake node in GeoNodes to bake an animation, then I close blender. I reopen Blender and the baked geometry does not appear for the object - in fact no geometry is shown at all. I _think_ this issue started recently in the project rather than occuring the whole time, although I'm not certain. I have a suspicion as to when this issue may have started, although I'm not certain: - Since GeoNodes can't emit vertex weights that Armature modifier will use, I tried to split the generation of instancing points from the instancing itself. This was so that the armature modifier (bone envelope binding) would affect position/orientation of entire instances at a time rather than parts of them. - So I had: GeoNodes to generate the points with their attributes → Armature modifier → GeoNodes to instance on points and realize instances. - This approach didn't work, I think the instancing was using the positions from the first GeoNodes, not from the Armature modifier. - I reverted back to my previous approach of just having GeoNodes (with instancing and realize) → Armature modifier. I have another issue with this file, related to the Sun Position addon - I created a ticket for that [here](https://projects.blender.org/blender/blender-addons/issues/105295). Possibly the two are related, but I don't think so from the stack trace. **Exact steps for others to reproduce the error** [a quicker/easier more minimal example is provided in the comment following this one] (to speed things up, set the frame range from e.g. 1 to 40 instead of to 4000) 1. Open the blend file. 2. Open the Geo Nodes tab. 3. Select the "Leaves" object. 4. Select the GeoNodes modifier on it. 5. Find the "Bake" node. 6. Bake (as animation). 7. Change frame (e.g. Alt+MouseWheel, or jump in dope sheet) to see that the animation is baked. 8. File -> Save / Ctrl+S 9. Close Blender. Open the blend file again. There's no geometry output by the Geonodes modifier at all. [issue reproduced at this point] Click the bin on the Bake node to delete the bake - now geometry appears, but the animation is incomplete when jumping across the timeline, as expected without a full bake.
Mark Cowan added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2024-04-26 18:41:41 +02:00
Author

Here's a more minimal example:

  1. Open blend file
  2. Select first geonodes modifier of the "cube"
  3. In geonode graph, Bake (as animation)
  4. Jump around timeline to confirm we have a baked animation available
  5. Close blender
  6. Open blend file again
  7. Jump around timeline and notice that we have no geometry emitted at all for the "cube"
  8. Delete the bake (bin button in geonodes graph)
  9. Geometry appears, and can be re-baked.

I've also had issues recently that may be caused by "Sun Position" addon, for which I filed a separate ticket.
This minimal example demonstrates the same issue regardless of whether that addon is enabled or not.

Here's a more minimal example: 1. Open blend file 2. Select first geonodes modifier of the "cube" 3. In geonode graph, Bake (as animation) 4. Jump around timeline to confirm we have a baked animation available 5. Close blender 6. Open blend file again 7. Jump around timeline and notice that we have no geometry emitted at all for the "cube" 8. Delete the bake (bin button in geonodes graph) 9. Geometry appears, and can be re-baked. I've also had issues recently that may be caused by "Sun Position" addon, for which I filed a separate ticket. This minimal example demonstrates the same issue regardless of whether that addon is enabled or not.
Author

Please let me know if there's anything more I can provide to help with diagnosing / fixing this.

I'm a software engineer. I have no familiarity with the Blender codebase yet, but this is probably a nice time to change that since I want to build some audio-related addons whenever I next have a large amount of time to spare.

Please let me know if there's anything more I can provide to help with diagnosing / fixing this. I'm a software engineer. I have no familiarity with the Blender codebase yet, but this is probably a nice time to change that since I want to build some audio-related addons whenever I next have a large amount of time to spare.
Iliya Katushenock removed the
Priority
High
label 2024-04-29 11:25:58 +02:00
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
1 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#121140
No description provided.