Regression: Sculpting on a linked copy of an objects crashes Blender #98889
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
12 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#98889
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-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.96
Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash:
e05e1e3691
Worked: 3.2 alpha and mabye betas
This apparently started with
eae36be372
Short description of error
Sculpting on a linked copy of an objects crashes Blender
Exact steps for others to reproduce the error
(No crash when i sculpt on the original Object though.)
NVIDIA_Share_nm7AkRc7Ad.mp4
Added subscriber: @Harti
#100840 was marked as duplicate of this issue
#98983 was marked as duplicate of this issue
Added subscriber: @JosephEagar
Looks like this is being caused by objects in sculpt mode not being assigned their own runtime mesh instance?
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Hi, thanks for reporting. I can replicate the crash.
Will bisect just in case if that's needed
Sculpting on a linked copy of an objects crashes Blenderto Regression: Sculpting on a linked copy of an objects crashes BlenderI'm not able to confirm crash in buildbot builds (3.2, 3.3)
Can redo only in lite build
Added subscriber: @Baardaap
Can't replicate in 3.2.0 release. Maybe it's an assert, which only fires in debug mode?
Can't replicate in a debug build (current master, 3.3 alpha, linux) either.
@Baardaap, thanks for checking :)
No, not an assert hit. It's a crash which I can repro in lite debug build and also in lite ninja build
Added subscriber: @Floatharr
What's happening is that, during the draw cache build:
If you put a breakpoint in
DRW_mesh_batch_cache_validate
you'llsee it clear the cache twice for the same
me
pointer when enteringsculpt mode.
Added subscriber: @lichtwerk
Can also repro in master buildbot build (if you set viewport shading mode to wireframe).
This apparently started with
eae36be372
Added subscriber: @ThomasDinges
Blender 3.2.1 is scheduled for release soon. Any chance to fix this still? @JosephEagar
I need someone from the viewport module to look at this. The sculpt object needs to always been its own independent part of the draw cache apart from any other objects that use the same underlying Mesh block.
Removed subscriber: @Baardaap
Added subscriber: @holonet
I have a slightly different trigger for this crash. Here's info:
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 512.15
Blender Version
Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash:
bcfdb14560
Worked: (newest version of Blender that worked as expected)
So, in my case, I created 2 linked duplicates of the object. One of them, I made a change to (scaled). If I have that scaled-down duplicate selected, and then click the Sculpting workflow/tab, Blender crashes right away, before I would even try to sculpt on it. I noticed that, when playing around, if I clicked the linked dupe that I did not alter, it sometimes crashes...but the smaller dupe always crashes. I'm attaching the .blend file & the log file.LinkedDupeCrash.blend
LinkedDupe_SculptingCrash.crash.txt
Added subscribers: @TonatiuhdeSanJulian, @mano-wii
Added subscriber: @TheRedWaxPolice
Don't know why but that bug (crash) is somewhat gone in my latest personal project. 2022-10-12 11-21-55.mp4
I get some weird blinking when sculpting on linked duplicates but not a crash.
When i copy the linked objects to a fresh file, Blender is crashing once i switch to sculpt mode.
edit: I deleted all other objects and isolated the linked objects. Test for yourself. no crash.blend
Feel free to also copy the objects to a fesh Blender project and see if you get an instant crash like me.
Added subscriber: @JulienKaspar
I can still reproduce the crash on Linux with the
no_crash.blend
file and there are still viewport flickering issues in general.The bug (crash and blinking) seems to be fixed in latest 3.4 alphas. Can someone else confirm this?
No crash or blinking here either... so yeah...
I can still reproduce the crash, especially in the
no_crash.blend
provided in the comments. For me it's necessary to select a different object and enter sculpt mode to cause the crash.But I can confirm that the visual glitches in general are fixed.
I can't reproduce the crash.
Changed status from 'Confirmed' to: 'Resolved'
Ah I see. Something unrelated was causing the crash for me.
Will close this then.
Yup no crash with the steps from my video in the post. Looks like it's fixed.