Showing linked scene in 2.8, crashes on load
Open, ConfirmedPublic

Description

There is a bug in 2.8x where saving with an active linked scene crashes on reload.
There isn't much to redo this error

In the attached file:

  • Open link_dst.blend
  • Switch the scene to Scene Link
  • Save, Load (crash)

7ca8af4cc82010c85fa6d7f663977117eb23b6f9

See P567 for the crash log, although Im not sure this points to the root cause.

From looking into this it seems readfile.c expects the view_layer pointer in the workspace to exist in the scene - which isn't the case when the scene is linked.

Details

Type
Bug

Related Objects

This comment was removed by Campbell Barton (campbellbarton).
Sergey Sharybin (sergey) triaged this task as Confirmed priority.Dec 7 2017, 3:05 PM

This raises the question on how view-layers should be handled when linking scenes. Should we link view-layers with them? If so how can we do this (since view-layers aren't IDs)?
I don't recall if we ever discussed this.