This fixes the crash, but it does not fix the core issue. The PBVH should always be available when an object is in sculpt mode and tools should not need to check for that. Reviewed By: jbakker Maniphest Tasks: T70790 Differential Revision: https://developer.blender.org/D6063