Crash entering edit mode for "Object Font" instance mesh #73045
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#73045
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: Linux-5.3.0-23-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21
Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash:
f1aa4d18d4
Also broken: 2.83 alpha (2020-01-11) "blender-2.83-01d9a2f71b56-linux-glibc217-x86_64"
Worked: 2.80 (tested on Linux and macOS)
Short description of error
Crash on entering edit mode for mesh used as "Object Font" instance.
When using an object as "Object Font" for character instancing, entering edit mode for the instanced mesh crashes Blender.
I'm happy to inform you that the issue is really easy to reproduce! :)
I also noticed that if temporarily removing the "Object Font" property (object name prefix) while editing the instanced mesh object, the crash is kind of avoided, but when setting the "Object Font" property to the correct prefix again, the old mesh, before edits, is shown. Entering edit mode at this point crashes Blender again. This seems to be a related issue, but it's difficult to investigate as long as Blender crashes while exploring.
Exact steps for others to reproduce the error
Super quick reproducer:
blender-crash.blend
Re-create from scratch:
Please tell me if there is anything else I can do to help. Thank you!
Added subscriber: @peter.lonnebring
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Confirmed'
Confirm crash in
DRW_mesh_batch_cache_create_requested()
Added subscribers: @fclem, @ideasman42
The drawing code expects
me->edit_mesh->mesh_eval_final
to have been created byBKE_object_handle_data_update
.I'm not sure how this is meant to work with
drw_batch_cache_generate_requested
, relates to1d92888ee8
, assigning to @fclem.Added subscriber: @Sergey
@Sergey I think it is a depsgraph or COW issue more than a drawing issue. In normal vertex instancing, the eval Mesh and EditMesh are shared accross all the instances and the edited object.
But here the dupli object is not sharing the mesh data and seems to be using an incomplete mesh copy.
Do you have an idea of what could be wrong?
Added subscriber: @lichtwerk
"Object Font" duplication also crashes with Curve objects in general:
T73045_curves.blend
(try typing a "b" here...)
This issue was referenced by
0936f2f52c
Changed status from 'Confirmed' to: 'Resolved'