Page MenuHome

Blender 2.8 crash when switch to sculpting
Closed, ResolvedPublic


System Information
Microsoft Windows x64 10 Pro 10.0.17134.407
AMD Radeon HD7750

Blender Version
version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-28 17:22, hash: 565de7750b9, type: Release
build date: 28/11/2018, 09:48

Short description of error
Load file, switch to sculpting, Blender crashes



Event Timeline

Andrii (andergrin) updated the task description. (Show Details)

Confirmed on MacOS 10.14 build a740cc53ea1

The issue seems to be specific to the mesh in that file. If I add an icosphere or other mesh, sculpting tools work fine on that mesh. It is only when entering sculpt mode with the wing selected that it crashes.

Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.Nov 29 2018, 1:28 PM

Confirmed, scene->toolsetting->sculpt is NULL here

1   mesh_calc_modifiers             DerivedMesh.c        1315 0x29a215d 
2   mesh_build_data                 DerivedMesh.c        2010 0x29a4a10 
3   mesh_get_eval_deform            DerivedMesh.c        2202 0x29a4ee8 
4   BKE_sculpt_object_pbvh_ensure   paint.c              1410 0x2b3d226 
5   BKE_sculpt_update_mesh_elements paint.c              1137 0x2b3c41c 
6   sculpt_init_session             sculpt.c             5638 0x229cae1 
7   ED_object_sculptmode_enter_ex   sculpt.c             5679 0x229cc1a 
8   sculpt_mode_toggle_exec         sculpt.c             5838 0x229d216 
9   wm_operator_invoke              wm_event_system.c    1337 0x1c6c6a2 
10  wm_operator_call_internal       wm_event_system.c    1534 0x1c6cd28 
11  WM_operator_name_call_ptr       wm_event_system.c    1582 0x1c6cf4b 
12  WM_operator_name_call           wm_event_system.c    1588 0x1c6cf9f 
13  ED_object_mode_toggle           object_modes.c       164  0x21427cf

Hm, seems to be tied to the scene [which just doesnt seem to have ToolSettings->sculpt -- you can inspect this in the Outliner Data API as well]

If I add a cube in this scene, go to sculptmode (without subdivision modifier -- or else it will crash, too) then ToolSettings->sculpt will get created.
After that you can happily sculpt on the wing as well (so nothing wrong with that mesh in particular).
Same if I just append the collection to a new file.

Not sure how ToolSettings->sculpt would ever get lost? [maybe just corrupted file?]

@Sergey Sharybin (sergey): mind checkon on this one?

There are another model, that's made in previous version of blender (2.7) and blender crashes when any part of model switched to sculpting, for example

It's seems, that's in latest build of Blender (version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-30 00:46, hash: 4c31bed6b46) this issue is fixed.

Working here as well, closing then