Old node groups aren't working in asset browser when dragging and dropping them into GN #116571
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#116571
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Ubuntu 20.04
Blender Version
4.02
Short description of error
Old node groups aren't working in asset browser when dragging and dropping
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
I use to just drag and drop the node group into geometry nodes (from the asset browser) now the icon is there but when I drag and drop an old node group nothing happens.
Attached blend file.
axis arrow grp_asset.blend
System info.txt file
system-info.txt
axis arrow grp_asset.blend
does not seem to contain the group you are trying to drag and drop [Gin_AttrViewer
]Please share that one as well (seems to be in your
Main Library
Asset Library?) -- at last this is where you seem to drag it from?@lichtwerk Ok here's the Blend file where the node group is located in. It's almost like a "pointer" to some of the old node groups aren't "transferring over / being used / was renamed" (but that's just a guess)
AttributeViewer_V3.blend
@lichtwerk Do you need more examples? I have several.
I can confirm. Some commit between 3.6-4.0 affected this.
This is due to failing poll function which was updated in
30e3caaf82
metadata->properties
is nullptr here.cc @lichtwerk @JulianEisel
Thx checking @PratikPB2123
Will look into a fix
Hm, not sure if this really has a proper "fix".
That asset file was saved with (3, 2, 14).
But looking at commit
bdb5754147
(specifically the following from the commit message):makes me think that indeed, the proper solution to this issue is just re-saving the files that contain the assets with a version after
bdb5754147
(so for example current 3.6 LTS). Tested this, this works as expected, the nodegroups can then be dropped as expected.@HooglyBoogly : what do you think?
I'm not totally sure yet. I started by trying to add the file to my asset library folder so I could test dragging it into a file. But it didn't show up in the asset library. Then I tried opening the file and I hit an assert in the asset system. But according to Pratik's point, I'd agree, yes, the solution is just re-saving the asset file, and I don't think this is a bug.
So my vote would also be to accept this as current behavior.
What we should have done though is mention this in the release notes (otherwise not sure if there is a good way on the blender code side to take care of this).
https://wiki.blender.org/wiki/Reference/Release_Notes/3.4
https://developer.blender.org/docs/release_notes/3.4/
(under "Compatibility"?)
Suggested wording: "Since metadata like the node tree type and its inputs
and outputs has to be saved in the file (see
bdb5754147
), re-saving thefiles that contain the assets is required"
Thanks, good idea. I used slightly different wording, but it's mentioned in the new wiki now.