Page MenuHome

Library Override: Lots of operators allow to add objects to overridden collections, which is not currently supported (lost on save)
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1060 3GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86

Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-21 18:07, hash: rB388c954cb537
Worked: (optional)

Exact steps for others to reproduce the error

  • Open file OverrideTestD which contains a linked collection with a library override from OverrideTestC
  • Select one of the overrided collections in the outliner
  • In the viewport add a new cube
  • Save and reload, new added cube is gone.

Details

Type
To Do

Event Timeline

The crashs on BKE_object_add due BKE_view_layer_base_find returning a null.

Philipp Oeser (lichtwerk) renamed this task from Adding a new object while an library overrided collection is selected can crash Blender to Library Override: Adding a new object while an library overriden collection is selected can crash Blender.Oct 23 2019, 3:07 PM
Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Oct 23 2019, 3:21 PM

Still have to read up on usecases for overriding collections specifically, can confirm the crash though (and what @Daniel Santana (dgsantana) said).

CC @Bastien Montagne (mont29)

Note that if the sequence of linking-collection/creating-override/adding-object is done in a row, without going through saving/reloading a blender file (OverrideTestD), then the issue does not show up (see T71106 repro steps).

The crash should be fixed now (was same issue as T70875, fixed by rB74af6987699a.

Keeping that one open though, as it should not be possible to add objects to an overridden collection (that is not supported currently, although it might be in the future).

Bastien Montagne (mont29) renamed this task from Library Override: Adding a new object while an library overriden collection is selected can crash Blender to Library Override: Lots of operators allow to add objects to overridden collections, which is not currently supported (lost on save).Fri, Nov 8, 10:28 AM
Bastien Montagne (mont29) updated the task description. (Show Details)
Bastien Montagne (mont29) changed Type from Bug to To Do.

Um, what's the point of having the concept of collection overrides if they can't be modified?