Remeshing object with subdivision modifier hangs Blender #86072

Open
opened 2021-02-28 05:39:51 +01:00 by Kuzey · 8 comments

System Information
Operating system: macOS 10.14.6
Graphics card:

Blender Version
Broken: All versions of Blender but tested on Version 2.93.0 (2.93.0 2021-02-25) & Version 2.92.0 (2.92.0 2021-02-25)
Worked: ?

Short description of error
Remeshing object with subdivision modifier hangs Blender
Exact steps for others to reproduce the error
1 Add a subdivision modifier to the default cube, set it to 2 or more.
2 Jump into Sculpt mode and remesh with default voxel settings, it should work fine.
3 Undo the last remesh and now change the voxel size to 0.002 m and remesh again, it hangs.

Do step 1 again, this time apply subdivision modifier and then try to remesh with voxel size of 0.002 m, it should work

blenremesh2.jpg

blenremesh.jpg

**System Information** Operating system: macOS 10.14.6 Graphics card: **Blender Version** Broken: All versions of Blender but tested on Version 2.93.0 (2.93.0 2021-02-25) & Version 2.92.0 (2.92.0 2021-02-25) Worked: ? **Short description of error** Remeshing object with subdivision modifier hangs Blender **Exact steps for others to reproduce the error** 1 Add a subdivision modifier to the default cube, set it to 2 or more. 2 Jump into Sculpt mode and remesh with default voxel settings, it should work fine. 3 Undo the last remesh and now change the voxel size to 0.002 m and remesh again, it hangs. Do step 1 again, this time apply subdivision modifier and then try to remesh with voxel size of 0.002 m, it should work ![blenremesh2.jpg](https://archive.blender.org/developer/F9850222/blenremesh2.jpg) ![blenremesh.jpg](https://archive.blender.org/developer/F9850224/blenremesh.jpg)
Author

Added subscriber: @kuzey

Added subscriber: @kuzey
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

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

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

I can confirm this on the latest 2.93.0 Alpha, branch: master, commit date: 2021-03-01 06:12, hash: bfc70a6a95.

Note: I get a crash at BLI_assert failed: source/blender/blenkernel/intern/pbvh.c:2804, BKE_pbvh_vert_coords_apply(), at '!"PBVH: Given deforming vcos number does not natch PBVH vertex number!"' when I undo on step 3 with a debug build.

I can confirm this on the latest 2.93.0 Alpha, branch: master, commit date: 2021-03-01 06:12, hash: `bfc70a6a95`. *Note:* I get a crash at `BLI_assert failed: source/blender/blenkernel/intern/pbvh.c:2804, BKE_pbvh_vert_coords_apply(), at '!"PBVH: Given deforming vcos number does not natch PBVH vertex number!"'` when I undo on step 3 with a debug build.
Member

Also, after Blender tries to consume all of my memory, I get this report from ASAN: P2001.

Also, after Blender tries to consume all of my memory, I get this report from ASAN: [P2001](https://archive.blender.org/developer/P2001.txt).
Author

Update:

This also happens with the subdivision + remesh modifiers (I'm not sure if I should make a new bug report, but it seems related, so I'll just add it here for now).

Step 1: Add a subdivision modifier to the default cube, set it to 2.
Step 2: Add a remesh modifier set it to .002m voxel size

works fine.

Step 3: Now move the remesh modifier to the top of the stack and Blender hangs

Cheers

Update: This also happens with the subdivision + remesh modifiers (I'm not sure if I should make a new bug report, but it seems related, so I'll just add it here for now). Step 1: Add a subdivision modifier to the default cube, set it to 2. Step 2: Add a remesh modifier set it to .002m voxel size works fine. Step 3: Now move the remesh modifier to the top of the stack and Blender hangs Cheers
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

Since the remesher creates a 6 million vertices mesh it would realistically not be able to handle a subdiv modifier set to level 2.
This crash even happens outside of sculpt mode.

I'd tag this as a known issue. There are many occasions where you could accidentally use operations that create/use a too high vertex counts and Blender hangs/crashes.
We need to implement warning messages to prevent users from doing this.

Since the remesher creates a 6 million vertices mesh it would realistically not be able to handle a subdiv modifier set to level 2. This crash even happens outside of sculpt mode. I'd tag this as a known issue. There are many occasions where you could accidentally use operations that create/use a too high vertex counts and Blender hangs/crashes. We need to implement warning messages to prevent users from doing this.
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:12:01 +01: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
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#86072
No description provided.