Regression: Group Input/Output cannot connect to some custom sockets #94827
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#94827
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Operating system:
Graphics card:
Blender Version
Broken: 2.97.7 hash
fb762eedbe
or earlier (haven't bisected it), Blender 3.0Worked: (optional) 2.93.6 Release hash :
c842a90e2f
Caused by
a5c59fb90e
Short description of error
Group Input/ Output nodes cannot connect to some sockets. This doesn't seem to affect built-in types. It doesn't seem to affect every kind of custom socket, either, although I can't find any pattern in what works and doesn't.
The addon Sorcar is affected by this bug. So is my (not yet released) addon.
To make it clear: This worked in past Blenders. It broke sometime between 2.97.6 and 2.97.7. It is broken in 3.0.
May be related somehow to #75959
Exact steps for others to reproduce the error
From this .blend file:
nodes_bug_minimal_example.blend
Try to make a group with Ctrl-G
In versions affected by the bug, the group creation operator will fail when trying to connect a socket to the Group Node, which should get a new input/output for each socket connected to its Group-Input and Group-Output nodes, respectively. However, some sockets can't connect, and this fails without raising an error, so there are no sockets in the Group Node to connect to, which actually does raise an error -- these are both calls to the same Python function. One fails silently, due to this bug.
Anyhow, after the error occurs in making the node group, try and manually connect the nodes to the custom socket, then to the ordinary sockets.
To be clear: The Python script in the .blend file is a demonstration of the bug as it occurs out in the wild... I'm not asking for help fixing the Python script!
I think this may be a regression bug.
Added subscriber: @Josephbburg
Added subscriber: @Imaginer
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm (sorry this ended up in LTS), will check how that broke...
Added subscriber: @Jeroen-Bakker
Caused by
a5c59fb90e
CC @Jeroen-Bakker
Group Input/Output cannot connect to some sockets in Blender 3.0to Regression: Group Input/Output cannot connect to some custom socketsAdded subscribers: @HooglyBoogly, @JacquesLucke
Seems like the Group Input sockets happen to be of type
SOCK_CUSTOM
as well [ and sincea5c59fb90e
custom py defined sockets are too :) ]There is a check introduced in
513066e8ad
that prevents connections forSOCK_CUSTOM
...Removing the check fixes the issue, but of course brings #39849 back.
Maybe we need a new socket type for group inputs/outputs?
CC @JacquesLucke
CC @HooglyBoogly
Actually, I think we can just additionally check the node type, will do
This issue was referenced by
688713db24
This issue was referenced by
85df7036f7
Changed status from 'Confirmed' to: 'Resolved'