Marked as Asset and Fake User not preserved after Linking #115706

Closed
opened 2023-12-02 13:28:06 +01:00 by Sacha Goedegebure · 6 comments

System Information
Operating system: Linux-6.2.0-37-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 470.223.02

Blender Version
Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: d0dd92834a08
Worked: 3.6.5

Short description of error
Fake User and Marked as Asset is not preserved when linked into other blend file and after Library Override.
Fake User is not preserved when appending into other blend file.
Testing was done and confirmed with Actions, Objects and Texts.

Exact steps for others to reproduce the error

  • Attached blend file has actions on Cube (Fake User) and Armature (Asset)
  • Link Collection from attached blend file into new blend file
  • Make Override Library
  • Cube action lost Fake User and Armature Action lost Marked as Asset
**System Information** Operating system: Linux-6.2.0-37-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 470.223.02 **Blender Version** Broken: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash: `d0dd92834a08` Worked: 3.6.5 **Short description of error** Fake User and Marked as Asset is not preserved when linked into other blend file and after Library Override. Fake User is not preserved when appending into other blend file. Testing was done and confirmed with Actions, Objects and Texts. **Exact steps for others to reproduce the error** - Attached blend file has actions on Cube (Fake User) and Armature (Asset) - Link Collection from attached blend file into new blend file - Make Override Library - Cube action lost Fake User and Armature Action lost Marked as Asset
Sacha Goedegebure added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-12-02 13:28:07 +01:00
Sacha Goedegebure changed title from Marked as Asset and Fake User has lost to Marked as Asset and Fake User has lost after Linking 2023-12-02 13:28:40 +01:00
Sacha Goedegebure changed title from Marked as Asset and Fake User has lost after Linking to Marked as Asset and Fake User not preserved after Linking 2023-12-02 13:29:05 +01:00
Member

Fake User and Marked as Asset is not preserved when linked into other blend file and after Library Override.
Fake User is not preserved when appending into other blend file.

Hi, thanks for the report. I'm not sure about the Asset tag but fake user flag won't make any difference in 4.0, see: #113109
I don't think Asset flag is preserved with linked data in previous versions either. Does it work in 3.6?

> Fake User and Marked as Asset is not preserved when linked into other blend file and after Library Override. Fake User is not preserved when appending into other blend file. Hi, thanks for the report. I'm not sure about the `Asset` tag but fake user flag won't make any difference in 4.0, see: #113109 I don't think Asset flag is preserved with linked data in previous versions either. Does it work in 3.6?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-04 06:29:56 +01:00

Hi,

I don't think Asset flag is preserved with linked data in previous versions either. Does it work in 3.6?

You're right. Just checked and what 3.6 actually does is preserve Fake User (which is a by-product of Asset flag?). So that gets lost too in 4.0.

but fake user flag won't make any difference in 4.0, see: #113109

Unless I'm missing something, that could be quite problematic in some cases.

Scenario:

  • one or several characters + their armature scripts are linked into a few file
  • each script is Run (Alt P), one after another
  • after reopening the file, the scripts are gone

What's the solution?
To flag them again as Fake User, I need to make them local. So that's no solution. Just checked, I can at least set Fake User with Python while keeping it linked. But that means Python is required

Maybe I'm missing something?

Hi, > I don't think Asset flag is preserved with linked data in previous versions either. Does it work in 3.6? You're right. Just checked and what 3.6 actually does is preserve Fake User (which is a by-product of Asset flag?). So that gets lost too in 4.0. > but fake user flag won't make any difference in 4.0, see: #113109 Unless I'm missing something, that could be quite problematic in some cases. Scenario: - one or several characters + their armature scripts are linked into a few file - each script is Run (Alt P), one after another - after reopening the file, the scripts are gone What's the solution? To flag them again as Fake User, I need to make them local. So that's no solution. _Just checked, I can at least set Fake User with Python while keeping it linked. But that means Python is required_ Maybe I'm missing something?
Member
> Unless I'm missing something, that could be quite problematic in some cases. What's the solution? [When an unused (as in, having zero users) linked data-block needs to be kept in a blendfile, users are expected to reference them through a Custom Property (e.g. from a Scene, Collection or Object data-block)](https://wiki.blender.org/wiki/Reference/Release_Notes/4.0/Core#:~:text=When%20an%20unused%20(as%20in%2C%20having%20zero%20users)%20linked%20data%2Dblock%20needs%20to%20be%20kept%20in%20a%20blendfile%2C%20users%20are%20expected%20to%20reference%20them%20through%20a%20Custom%20Property%20(e.g.%20from%20a%20Scene%2C%20Collection%20or%20Object%20data%2Dblock).)

When an unused (as in, having zero users) linked data-block needs to be kept in a blendfile, users are expected to reference them through a Custom Property (e.g. from a Scene, Collection or Object data-block)

Yes, I read this. Been using blender since 2004 but I had to ask ChatGPT for a script. Now figure out how to do this manually.
I hope other people can figure it out as well, as it doesn't seem very obvious.

Thanks, Pratik.

> When an unused (as in, having zero users) linked data-block needs to be kept in a blendfile, users are expected to reference them through a Custom Property (e.g. from a Scene, Collection or Object data-block) Yes, I read this. Been using blender since 2004 but I had to ask ChatGPT for a script. Now figure out how to do this manually. I hope other people can figure it out as well, as it doesn't seem very obvious. Thanks, Pratik.

Oh, I need to set the custom property to Python and copy-paste the text datablock path into the custom property's Value.

Oh, I need to set the custom property to Python and copy-paste the text datablock path into the custom property's Value.
Member

I think we can close this report since this is not a bug anymore, rather a change in behavior (i.e .ignore fake user flag for linked IDs).

I think we can close this report since this is not a bug anymore, rather a change in behavior (i.e .ignore `fake user` flag for linked IDs).
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-12-05 10:11:44 +01: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
2 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#115706
No description provided.