Disappearing Mesh when sculpting cloth with multires #83040

Closed
opened 2020-11-26 09:54:09 +01:00 by Julian Mohr · 12 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-25 22:18, hash: e09d0c0d07
Worked: 2.91 seems to work fine

Short description of error
Mesh disapears when sculpted with cloth filter brush and multires

Exact steps for others to reproduce the error
2020-11-26 09-46-15.mp4

Switch to sculptmode and sculpt.
It depends not on multires lvl sometimes it disappears with 3,5 etc.

untitled.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-25 22:18, hash: `e09d0c0d07` Worked: 2.91 seems to work fine **Short description of error** Mesh disapears when sculpted with cloth filter brush and multires **Exact steps for others to reproduce the error** [2020-11-26 09-46-15.mp4](https://archive.blender.org/developer/F9379156/2020-11-26_09-46-15.mp4) Switch to sculptmode and sculpt. It depends not on multires lvl sometimes it disappears with 3,5 etc. [untitled.blend](https://archive.blender.org/developer/F9379209/untitled.blend)
Author

Added subscriber: @Jewls

Added subscriber: @Jewls
Author

This behavior sometimes lead to a crash & sometimes it will crash on undo but quite random.

This behavior sometimes lead to a crash & sometimes it will crash on undo but quite random.

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can reproduce a crash. The pbvh was NULL when passed into BKE_pbvh_type.

BKE_pbvh_type(const PBVH * pbvh) Lines 1655	C
SCULPT_vertex_random_access_ensure(SculptSession * ss) Lines 120	C
sculpt_cloth_filter_invoke(bContext * C, wmOperator * op, const wmEvent * event) Lines 1549	C
wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Lines 1296	C
wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const unsigned char * kmi_idname) Lines 2141	C
wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const bool do_debug_handler) Lines 2451	C
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Lines 2748	C
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Lines 2872	C
wm_event_do_handlers(bContext * C) Lines 3368	C
WM_main(bContext * C) Lines 638	C
main(int argc, const unsigned char * * UNUSED_argv_c) Lines 526	C
I can reproduce a crash. The `pbvh` was `NULL` when passed into `BKE_pbvh_type`. ``` BKE_pbvh_type(const PBVH * pbvh) Lines 1655 C SCULPT_vertex_random_access_ensure(SculptSession * ss) Lines 120 C sculpt_cloth_filter_invoke(bContext * C, wmOperator * op, const wmEvent * event) Lines 1549 C wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Lines 1296 C wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const unsigned char * kmi_idname) Lines 2141 C wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const bool do_debug_handler) Lines 2451 C wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Lines 2748 C wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Lines 2872 C wm_event_do_handlers(bContext * C) Lines 3368 C WM_main(bContext * C) Lines 638 C main(int argc, const unsigned char * * UNUSED_argv_c) Lines 526 C ```

@Jewls can you confirm that this works without issues in 2.91.0. I couldn't reproduce the problem in that version.

@Jewls can you confirm that this works without issues in 2.91.0. I couldn't reproduce the problem in that version.
Author

@rjg In 2.91 i coudn´t repro it either so its a 2.92 only issue

@rjg In 2.91 i coudn´t repro it either so its a 2.92 only issue

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

Is this still reproducible with current master? It may have been fixed by d29a720c45 or 8a9dedf829 (cannot reproduce it here from quick test at least).

Is this still reproducible with current master? It **may** have been fixed by d29a720c45 or 8a9dedf829 (cannot reproduce it here from quick test at least).
Author

Changed status from 'Needs User Info' to: 'Resolved'

Changed status from 'Needs User Info' to: 'Resolved'
Julian Mohr self-assigned this 2020-12-28 02:15:34 +01:00
Author

Its fixed with latest master so closing this one

Its fixed with latest master so closing this one
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
3 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#83040
No description provided.