Additional unwanted objects being created when asset browser asset is used #107180

Open
opened 2023-04-20 16:39:04 +02:00 by Steve Gaskell · 6 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA RTX A4500/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: (newest version of Blender that worked as expected)

Short description of error
Additional duplicate (unwanted) objects being created when using assets from the asset browser.

Exact steps for others to reproduce the error
I haven't managed to consistently reproduce how I get this issue to happen. However, I have attached files which are guaranteed to demonstrate it.

  1. The oxford-straps-demo.blend file contains the source meshes which are placed in a collection and marked as asset called "Source Asset"

  2. The test-asset.blend file contains the "Source Asset" dropped in as Linked then Library Overridden. That itself is then marked again as an asset called "Test Asset". (This is my workflow - I would do this, then add materials at this stage).

  3. Open a new blend file and drop in the "Test Asset" (with Append). You will see the appended asset plus two other unwanted objects which are duplicates of the objects contained within the sealed asset.

I have to delete these every time the asset is used.

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA RTX A4500/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: (newest version of Blender that worked as expected) **Short description of error** Additional duplicate (unwanted) objects being created when using assets from the asset browser. **Exact steps for others to reproduce the error** I haven't managed to consistently reproduce how I get this issue to happen. However, I have attached files which are guaranteed to demonstrate it. 1. The oxford-straps-demo.blend file contains the source meshes which are placed in a collection and marked as asset called "Source Asset" 2. The test-asset.blend file contains the "Source Asset" dropped in as Linked then Library Overridden. That itself is then marked again as an asset called "Test Asset". (This is my workflow - I would do this, then add materials at this stage). 3. Open a new blend file and drop in the "Test Asset" (with Append). You will see the appended asset plus two other unwanted objects which are duplicates of the objects contained within the sealed asset. I have to delete these every time the asset is used.
Steve Gaskell added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-20 16:39:05 +02:00
Member

Hi, thanks for the report. Are you using Append from File menu?
Or did you move these files to asset library and using the Append import type from asset browser?

Hi, thanks for the report. Are you using Append from File menu? Or did you move these files to asset library and using the `Append` import type from asset browser?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-21 07:58:39 +02:00
Author

Hi Pratik,
That’s correct. I put these files in an asset browser location and used only the asset browser to make use of the object (Link in the first instance and then Append in the second).

The purpose of this strange process is to reuse the same object (mesh) but with different textures.

  1. I create my watch strap asset (ie. the mesh)
  2. Then I create new assets from that by re-using the strap asset. I drag in the asset from the browser (with Link), then override, then apply texture. I can do this several times giving me a blue strap, a black strap, a red strap and so on. These are then new assets in the browser.
  3. Finally when I want to use a coloured strap, I drag it from the asset browser (with Append) so that I can move and rotate it.

Hope that makes sense.

Note that this normally works flawlessly. It's only in this particular case that the strange additional objects are being created. I can't figure out what is different in this case. I did manage to reproduce it with a test file and test objects but I can't seem to repeat what I did to identify the exact issue. I have a feeling it is something to do with the objects within the original asset having parent->child->grandchild relationships (but maybe it's not that at all!)

Thanks,
S.

Hi Pratik, That’s correct. I put these files in an asset browser location and used only the asset browser to make use of the object (Link in the first instance and then Append in the second). The purpose of this strange process is to reuse the same object (mesh) but with different textures. 1. I create my watch strap asset (ie. the mesh) 2. Then I create new assets from that by re-using the strap asset. I drag in the asset from the browser (with Link), then override, then apply texture. I can do this several times giving me a blue strap, a black strap, a red strap and so on. These are then new assets in the browser. 3. Finally when I want to use a coloured strap, I drag it from the asset browser (with Append) so that I can move and rotate it. Hope that makes sense. Note that this normally works flawlessly. It's only in this particular case that the strange additional objects are being created. I can't figure out what is different in this case. I did manage to reproduce it with a test file and test objects but I can't seem to repeat what I did to identify the exact issue. I have a feeling it is something to do with the objects within the original asset having parent->child->grandchild relationships (but maybe it's not that at all!) Thanks, S.
Thomas Dinges added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-05-12 15:28:08 +02:00
Iliya Katushenock added the
Interest
Asset Browser
label 2023-06-25 01:58:45 +02:00
Member

Behavior indeed seems strange to me.

It looks like it brings in objects that belong in the hierarchy of a parent of an object specified as an object in a curve modifier.

So if I look at the override hierarchy of test-asset.blend :
image
I see a lot of duplicates (e.g. of ox-short-strap-aligator-asset which is selected in the screenshot).
Why do we see it duplicated so often?
Can only assume this is because it is the parent of an object specified in a curve modifier.
Now everything under that parent gets duplicated multiple times.
While this may still be expected behavior, when appending that whole stuff into a new file seems to somehow get confused and cant determine what has already been appended (and thus would not have be been pulled in again)

This is the original oxford-straps-demo.blend from which the overrides were made:
image

I am not sure if I can come up with a simpler file (I could try though).
@mont29 : does this ring a bell?

Behavior indeed seems strange to me. It looks like it brings in objects that belong in the hierarchy of a parent of an object specified as an object in a curve modifier. So if I look at the override hierarchy of test-asset.blend : ![image](/attachments/f8e146b6-8d3a-4226-b341-f56669563efe) I see a lot of duplicates (e.g. of `ox-short-strap-aligator-asset` which is selected in the screenshot). Why do we see it duplicated so often? Can only assume this is because it is the **parent** of an object specified in a curve modifier. Now everything under that parent gets duplicated multiple times. While this may still be expected behavior, when **appending** that whole stuff into a new file seems to somehow get confused and cant determine what has already been appended (and thus would not have be been pulled in again) This is the original `oxford-straps-demo.blend` from which the overrides were made: ![image](/attachments/315f4746-9154-4aea-83f8-3b372cc7ff90) I am not sure if I can come up with a simpler file (I could try though). @mont29 : does this ring a bell?
Philipp Oeser added
Module
Core
and removed
Module
Pipeline, Assets & IO
labels 2023-09-19 12:46:44 +02:00
@lichtwerk https://projects.blender.org/blender/blender/issues/107111 ?
Member

@lichtwerk #107111 ?

Might be related, replied there

> @lichtwerk https://projects.blender.org/blender/blender/issues/107111 ? Might be related, replied there

@lichtwerk I do not understand your issue with the liboverride Hierarchy view... If an ID is used by several other IDs, it will appear under all of its users' hierarchies, that's the whole point of this view.

As for original report, I believe it's a combination of 'same thing as in #107111' (i.e. dependencies are brought in together with the linked/appended data), AND the old thing that we do not allow local objects that are not instantiated in some viewlayer (as a reminder, liboverrides data-blocks do bring in their linked reference data too).

@lichtwerk I do not understand your issue with the liboverride _Hierarchy_ view... If an ID is used by several other IDs, it will appear under all of its users' hierarchies, that's the whole point of this view. As for original report, I believe it's a combination of 'same thing as in #107111' (i.e. dependencies are brought in together with the linked/appended data), _AND_ the old thing that we do not allow local objects that are not instantiated in some viewlayer (as a reminder, liboverrides data-blocks do bring in their linked reference data too).
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
5 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#107180
No description provided.