Overrides with particle systems crash #72619

Closed
opened 2019-12-21 02:00:33 +01:00 by Paul · 7 comments

System Information
Affects all operating systems

Blender Version
Broken: 2.81a and latest master

When adding a particle system to a linked mesh with an override, reopening the file crashes instantly.

  1. Create an object, parent it to an armature.
  2. Link the object into a new file.
  3. Give the object data-block an override (in the outliner: ID Data > Add Library Override).
  4. Add a particle system.
  5. Save the project
  6. Reopen the file.

linked_object_particle_system.blend

**System Information** Affects all operating systems **Blender Version** Broken: 2.81a and latest master **When adding a particle system to a linked mesh with an override, reopening the file crashes instantly.** 1. Create an object, parent it to an armature. 2. Link the object into a new file. 3. Give the object data-block an override (in the outliner: *ID Data > Add Library Override*). 4. Add a particle system. 5. Save the project 6. Reopen the file. [linked_object_particle_system.blend](https://archive.blender.org/developer/F8239227/linked_object_particle_system.blend)
Author

Added subscriber: @PaulGriffin

Added subscriber: @PaulGriffin

Added subscriber: @oweissbarth

Added subscriber: @oweissbarth

I can reproduce this on Windows 10 with 2.81a

I can reproduce this on Windows 10 with 2.81a

Added subscriber: @rjg

Added subscriber: @rjg

Looks like the modifier data isn't properly populated.

psys_emitter_customdata_mask(ParticleSystem * psys, CustomData_MeshMasks * r_cddata_masks) Line 1857
requiredDataMask(Object * UNUSED_ob, ModifierData * md, CustomData_MeshMasks * r_cddata_masks) Line 91
modifiers_calcDataMasks(Scene * scene, Object * ob, ModifierData * md, CustomData_MeshMasks * final_datamask, int required_mode, ModifierData * previewmd, const CustomData_MeshMasks * previewmask) Line 557
mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, int useDeform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final) Line 957
mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1836
makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 1950
BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 189
BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 359
Looks like the modifier data isn't properly populated. ``` psys_emitter_customdata_mask(ParticleSystem * psys, CustomData_MeshMasks * r_cddata_masks) Line 1857 requiredDataMask(Object * UNUSED_ob, ModifierData * md, CustomData_MeshMasks * r_cddata_masks) Line 91 modifiers_calcDataMasks(Scene * scene, Object * ob, ModifierData * md, CustomData_MeshMasks * final_datamask, int required_mode, ModifierData * previewmd, const CustomData_MeshMasks * previewmask) Line 557 mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, int useDeform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final) Line 957 mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1836 makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 1950 BKE_object_handle_data_update(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 189 BKE_object_eval_uber_data(Depsgraph * depsgraph, Scene * scene, Object * ob) Line 359 ```
Bastien Montagne self-assigned this 2020-01-15 16:33:33 +01:00

This issue was referenced by 56c7ee99b8

This issue was referenced by 56c7ee99b85833006bbda9c8f8ca4452278aae84

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
5 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#72619
No description provided.