File Linking Issues #118845

Open
opened 2024-02-28 11:41:39 +01:00 by AlbertoZimino · 5 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.20

Blender Version
Broken: version: 3.6.2, branch: blender-v3.6-release, commit date: 2023-08-16 16:43, hash: e53e55951e7a
Worked: (newest version of Blender that worked as expected)

I recently had some issues working with external linked files.
Our company is working on a game that will be issued for the Oculus Quest 2.0 and 3.0
Leading a team composed of professionals working on different aspects of the main environment, it became really useful to split each scene into smaller files and link them in another file.
We are doing that also for all the common objects to be placed over the main scene as well for every geometry node tree.

Someone didn't follow accurately the production document, relevant to the scene setup, its configuration and the version to be used (which is 3.6 + some different number) for that project.
Also, the folder paths and names have changed over time.
We are using different devices: PC workstations, Laptops, and Macs.

I'm now having problems relocating the files, especially the ones containing the geometry nodes tools. Sometimes they are getting duplicated instead of replaced, leaving a corrupted icon next to the older one. In the worst cases, this is also messing around with the exposed parameter, making things look different since the last save.

I don't get what is causing the issue, this is why I call it a "bug" and the outcome is sometimes different in other devices.

Inspecting all the objects and inputting all the right parameters is a waste of time and I don't want to relate to a pipeline that has issues or it's unreliable.

Can you please have some suggestions on how to completely avoid the issue?
We are now doing some tests to see if having the same Blender ver. and Folder Path would be a solution, but this will not be completely safe in the future.

Thank you

How to reproduce the issue: create an external file with a node tree, link it to a new scene, use it then resave the scene in another location, HDD, pc.

switch to a slightly different Blender version 3.6.2, 3.6.6, 3.6.8, 3.6 LTS

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 517.20 **Blender Version** Broken: version: 3.6.2, branch: blender-v3.6-release, commit date: 2023-08-16 16:43, hash: `e53e55951e7a` Worked: (newest version of Blender that worked as expected) I recently had some issues working with external linked files. Our company is working on a game that will be issued for the Oculus Quest 2.0 and 3.0 Leading a team composed of professionals working on different aspects of the main environment, it became really useful to split each scene into smaller files and link them in another file. We are doing that also for all the common objects to be placed over the main scene as well for every geometry node tree. Someone didn't follow accurately the production document, relevant to the scene setup, its configuration and the version to be used (which is 3.6 + some different number) for that project. Also, the folder paths and names have changed over time. We are using different devices: PC workstations, Laptops, and Macs. I'm now having problems relocating the files, especially the ones containing the geometry nodes tools. Sometimes they are getting duplicated instead of replaced, leaving a corrupted icon next to the older one. In the worst cases, this is also messing around with the exposed parameter, making things look different since the last save. I don't get what is causing the issue, this is why I call it a "bug" and the outcome is sometimes different in other devices. Inspecting all the objects and inputting all the right parameters is a waste of time and I don't want to relate to a pipeline that has issues or it's unreliable. Can you please have some suggestions on how to completely avoid the issue? We are now doing some tests to see if having the same Blender ver. and Folder Path would be a solution, but this will not be completely safe in the future. Thank you How to reproduce the issue: create an external file with a node tree, link it to a new scene, use it then resave the scene in another location, HDD, pc. switch to a slightly different Blender version 3.6.2, 3.6.6, 3.6.8, 3.6 LTS
AlbertoZimino added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-02-28 11:41:40 +01:00
Iliya Katushenock added the
Interest
Overrides
label 2024-02-28 12:13:36 +01:00

This report does not contain enough information to reproduce the issue, so I wasn't able to reproduce it. Unfortunately I am not able to give advice, since I am not using linked files a lot.

To me it looks like you saved file without using node tree in any other place, so it was removed from internal database. You mention node tools, I would use asset system for these. In any case, this is not place for general support, for that please use one of the community websites: https://www.blender.org/community/

To solve a bug, we need to have either a set of precise steps to follow or a .blend file that exhibits buggy behavior. Can you provide these?

This report does not contain enough information to reproduce the issue, so I wasn't able to reproduce it. Unfortunately I am not able to give advice, since I am not using linked files a lot. To me it looks like you saved file without using node tree in any other place, so it was removed from internal database. You mention node tools, I would use asset system for these. In any case, this is not place for general support, for that please use one of the community websites: https://www.blender.org/community/ To solve a bug, we need to have either a set of precise steps to follow or a .blend file that exhibits buggy behavior. Can you provide these?
Richard Antalik added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-02-28 19:28:35 +01:00
Author

Thank you for your advice, Richard. I can't provide any files due to NDA restrictions. I'll try to recreate the issue in another file and send it when I find a free spot because I'm really busy now. I marked it as a bug because I tried everything else before posting. To put things in the right perspective: I am in charge of the pipeline in the studio where I'm hired, leading a small team of artists from different locations. It's really useful for us to use linking as the scenes we are working on are pretty big. If there is no roadmap to fix or improve it, I probably will be forced to find a more stable solution.

Thank you for your advice, Richard. I can't provide any files due to NDA restrictions. I'll try to recreate the issue in another file and send it when I find a free spot because I'm really busy now. I marked it as a bug because I tried everything else before posting. To put things in the right perspective: I am in charge of the pipeline in the studio where I'm hired, leading a small team of artists from different locations. It's really useful for us to use linking as the scenes we are working on are pretty big. If there is no roadmap to fix or improve it, I probably will be forced to find a more stable solution.

I work with linking quite a lot and I'm able to make it work in a way that's stable (with the occasional bug that gets reported and fixed), although I don't usually have other team members messing with my files. It should go without saying that all your team members should be working out of the same project directory so the relative paths are consistent, I think I can assume this is already being done. Everyone needs to be aware of what files are being linked to where, so if someone needs to move or rename a file, the links can be relocated accordingly.

As a general tip, once you have linked in some data from an external file and started using that linked data a lot in your production, do NOT rename that data in the source external file. This includes names of objects, names of node trees, parameters in nodetrees, etc. Blender uses the names of data to maintain a link, and once those names change, the link is broken, and unlike with the .blend files themselves, there is no way to relocate those links.

Sometimes they are getting duplicated instead of replaced, leaving a corrupted icon next to the older one

This can sometimes happen, but usually it's a harmless 'zombie' piece of data that will be removed the next time you reload the file, since it has 0 users. The newly relocated version should have taken its place in the scene.

As for your geometry nodes, it's hard to say what went wrong, it could be like Richard said and the node tree was automatically purged since it had 0 users, or maybe the name of the node tree was changed. Either way, your reproduction steps:

create an external file with a node tree, link it to a new scene, use it then resave the scene in another location, HDD, pc.

is not enough for a reproduction of a bug, since I'm able to relocate broken links with geometry nodes, and have the nodes and their input parameters be restored.

I hope you can sort these issues, best of luck 👍

I work with linking quite a lot and I'm able to make it work in a way that's stable (with the occasional bug that gets reported and fixed), although I don't usually have other team members messing with my files. It should go without saying that all your team members should be working out of the same project directory so the relative paths are consistent, I think I can assume this is already being done. Everyone needs to be aware of what files are being linked to where, so if someone needs to move or rename a file, the links can be relocated accordingly. As a general tip, once you have linked in some data from an external file and started using that linked data a lot in your production, do NOT rename that data in the source external file. This includes names of objects, names of node trees, parameters in nodetrees, etc. Blender uses the names of data to maintain a link, and once those names change, the link is broken, and unlike with the .blend files themselves, there is no way to relocate those links. > Sometimes they are getting duplicated instead of replaced, leaving a corrupted icon next to the older one This can sometimes happen, but usually it's a harmless 'zombie' piece of data that will be removed the next time you reload the file, since it has 0 users. The newly relocated version should have taken its place in the scene. As for your geometry nodes, it's hard to say what went wrong, it could be like Richard said and the node tree was automatically purged since it had 0 users, or maybe the name of the node tree was changed. Either way, your reproduction steps: > create an external file with a node tree, link it to a new scene, use it then resave the scene in another location, HDD, pc. is not enough for a reproduction of a bug, since I'm able to relocate broken links with geometry nodes, and have the nodes and their input parameters be restored. I hope you can sort these issues, best of luck 👍

Sorry, I must have missed update here, did you manage to isolate the issue? If it is still an issue.

Sorry, I must have missed update here, did you manage to isolate the issue? If it is still an issue.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-05-10 21:58:22 +02:00
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2024-05-10 21:58:32 +02:00

Oops did not mean to close

Oops did not mean to close
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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#118845
No description provided.