Geometry disappearing when using simulation zone #111978
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111978
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
Graphics card: NVidia RTX 3080Ti
Blender Version
Broken: 3.6.2 and also blender-3.6.3-candidate+v36.2fc04eaf4310-windows.amd64-release
Worked: blender-4.0.0-alpha+main.9f8d062de4e6-windows.amd64-release
Geometry randomly dissappears when using a Simulation Zone (even when empty).
This bug is present in 3.6.3 but is seems to have been fixed in 4.0. It would be great if that fix could be backported to 3.6, although it seems to be part of bigger changes.
Exact steps for others to reproduce the error
Demo video. This happens when scrubbing the timeline, but also during normal viewport playback, especially in heavy scenes (probably due to skipping frames). When the same Node setup is repeated in the scene, they tend to break at the same frame, but not always (as shown).
Since clearing the cache makes the problem disappear (only to re-appear at a different frame), this is probably a caching problem. As said, this seems to have been solved in 4.0, I'm hoping to backport this to 3.6.
Implementation of the Simulation Nodes is radically different in 4.0 and 3.6, so this was not a separate fix, but a radical rework. I do not think that such a point fix via backport is possible.
Hi, thanks for the report. I can confirm.
Should work in 3.6. I'll bisect to ensure the resolving commit.
Thank you @PratikPB2123 for adding this to the 3.6 LTS milestone!
To save you time, I have disected myself and found that this commit fixed it for 4.0:
I'm not a C++ developer and have not tried to backport this to 3.6 branch yet, but it seems doable at first glance.
It would be great to backport/reimplement this for 3.6 since that is an LTS version and this bug potentially impacts many, if not all, simulation node setups. Thanks again.
Thanks @MKRelax :D
@JacquesLucke , can we backport your commit to 3.6? It haven't introduced any new bug yet (no references at least)
I honestly didn't know the difference between a "pointer" and a "reference" until today and I don't have a clue what the code does, but I managed to backport this to 3.6. Solves it for me, but needs a code review (preferably from @JacquesLucke) before merging.
After applying this patch I still ran into (similar) problems in 3.6. But they turn out to be present in 4.0 as well and were not introduced by the commit that was backported. See #112094.
Commit
e55ca270e2
(to repair a failed assertion in 3.6) also fixes this. There is no more need to backport the 4.0 commit.