Page MenuHome

Overrides with particle systems crash
Confirmed, NormalPublicBUG

Description

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.

Event Timeline

Paul (Qwerty7556) updated the task description. (Show Details)
Paul (Qwerty7556) updated the task description. (Show Details)

I can reproduce this on Windows 10 with 2.81a

Robert Guetzkow (rjg) lowered the priority of this task from 90 to 50.Sat, Dec 21, 2:27 PM
Robert Guetzkow (rjg) updated the task description. (Show Details)
Robert Guetzkow (rjg) raised the priority of this task from 50 to High.Sat, Dec 21, 2:32 PM

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 (mont29) lowered the priority of this task from High to Normal.