Page MenuHome

'Reload' on linked libraries disconnects proxy armature datablocks
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: Quadro 2000/PCIe/SSE2 NVIDIA Corporation 4.4.0

Blender Version
Broken: version: 2.80 (sub 66), branch: master, commit date: 2019-05-16 12:17, hash: rBe60890075b37
Worked: (optional)

Short description of error
'Reload' in the Blender File Outliner will cause Blender to disconnect armature datablocks of libraries used by local proxies.

Exact steps for others to reproduce the error
Demo: Open shot.blend, right click //asset.blend in the outliner and perform 'Reload'.

This happens with proxies from collection instances, as well as uninstanced collections.

Error message:
Lib Reload: Replacing all references to old data-block 'OBArmature~000' by reloaded one failed, old one (1 remaining users) had to be kept and was renamed to 'OBArmature~000~000'
Lib Reload: Replacing all references to old data-block 'OBArmature' by reloaded one failed, old one (2 remaining users) had to be kept and was renamed to 'OBArmature~000'
Lib Reload: Replacing all references to old data-block 'GRCollection' by reloaded one failed, old one (2 remaining users) had to be kept and was renamed to 'GRCollection~000'
Lib Reload: Replacing all references to old data-block 'ARArmature' by reloaded one failed, old one (2 remaining users) had to be kept and was renamed to 'ARArmature~000'

Event Timeline

Accidentally deleted the blend files from the original report. Here they are:

Bastien Montagne (mont29) triaged this task as Confirmed, High priority.
Bastien Montagne (mont29) reopened this task as Open.

That ended up being an epic can of worms, took me two days to fully understand the three levels of bugs that were playing together some nasty tricks. :/

Note that there is still a weird missing of update after lib reload (proxy remains 'detached'), this goes away after an undo/redo or file save/reload… Not sure what happens here exactly, since depsgraph relations are fully rebuilt… @Sergey Sharybin (sergey) maybe you have an idea? Probably some missing update, but have no idea which one.

Nailed it, should be OK now (at last…).