Link of linked instances doesn't work #113534

Closed
opened 2023-10-11 11:52:20 +02:00 by Marco · 4 comments
Member

Blender Version
Broken: 3.6.4
Broken: 3.6.2
Worked: 3.6.1

Short description of error
Test.blend has a linked Geometry Nodes setup from City.blend.
City.blend has a linked Collection from Building.blend.
While City.blend imports the building correctly, Test.blend doesn't get the instances.

Exact steps for others to reproduce the error

**Blender Version** Broken: 3.6.4 Broken: 3.6.2 Worked: 3.6.1 **Short description of error** Test.blend has a linked Geometry Nodes setup from City.blend. City.blend has a linked Collection from Building.blend. While City.blend imports the building correctly, Test.blend doesn't get the instances. **Exact steps for others to reproduce the error** - Extract [Test.zip](/attachments/63bb91a0-d19b-4a46-8a67-15df5efae8a6) - Open Test.blend
2.9 MiB
Marco added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-10-11 11:52:20 +02:00
Member

Pretty sure this used to work, will check on this

Pretty sure this used to work, will check on this
Philipp Oeser added
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-10-11 13:12:22 +02:00
Member

Behavior changed in bf93fb0f46

That said, I do see warnings like the following

WARN (bke.liboverride_resync): source/blender/blenkernel/intern/lib_override.cc:3269 lib_override_library_main_resync_on_library_indirect_level: Deleting unused ID override MECube.103 from library level 1, still found as needing resync, and being isolated from its hierarchy root. This can happen when its otherwise unchanged linked reference was moved around in the library file (e.g. if an object was moved into another sub-collection of the same hierarchy).

I assume this has to do with the fact that in City.blend, instances are in a different collection than the "original" in Building.blend ?
(duplicates cant be in the same collection though it seems, so I wouldnt know how to prevent this tbh.)

I am afraid @mont29 has to share his wisdom again

Behavior changed in bf93fb0f46fb2397e289a00e8abb2d37ae9a1bc1 That said, I do see warnings like the following `WARN (bke.liboverride_resync): source/blender/blenkernel/intern/lib_override.cc:3269 lib_override_library_main_resync_on_library_indirect_level: Deleting unused ID override MECube.103 from library level 1, still found as needing resync, and being isolated from its hierarchy root. This can happen when its otherwise unchanged linked reference was moved around in the library file (e.g. if an object was moved into another sub-collection of the same hierarchy).` I assume this has to do with the fact that in `City.blend`, instances are in a different collection than the "original" in `Building.blend` ? (duplicates cant be in the same collection though it seems, so I wouldnt know how to prevent this tbh.) I am afraid @mont29 has to share his wisdom again
Philipp Oeser added the
Module
Pipeline, Assets & IO
Interest
Overrides
labels 2023-10-11 15:26:21 +02:00
Member

To get the fact out of the way that this is a recent "regression" (it probably is expected behavior even -- without us knowing though how to set something like this up correctly), I will raise the prio for now.

To get the fact out of the way that this is a recent "regression" (it probably is expected behavior even -- without us knowing though how to set something like this up correctly), I will raise the prio for now.
Philipp Oeser added
Priority
High
and removed
Priority
Normal
labels 2023-10-11 15:29:03 +02:00
Bastien Montagne added
Module
Core
and removed
Module
Pipeline, Assets & IO
labels 2023-10-12 11:23:17 +02:00

Took me some time to understand what is happening here... and this is indeed a call for issues. If you start breaking up liboverride hierarchies, and then partially link bits of these hierarchies into another file, you simply cannot expect things to work well.

Note that if you link the Building 5 collection from City.blend (can also be done implicitly by adding a reference, e.g. a Custom Property, to it in e.g. the City NodeGroup), then things are working fine.

Took me some time to understand what is happening here... and this is indeed a call for issues. If you start breaking up liboverride hierarchies, and then partially link bits of these hierarchies into another file, you simply cannot expect things to work well. Note that if you link the `Building 5` collection from `City.blend` (can also be done implicitly by adding a reference, e.g. a Custom Property, to it in e.g. the `City` NodeGroup), then things are working fine.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-10-12 11:43:39 +02:00
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
3 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#113534
No description provided.