Page MenuHome

Group input sockets of type Object/Collection/Image have an implicit uncontrollable default value in GN
Closed, ResolvedPublic

Description

Group input sockets of type Object don't have an option to set their default value. Yet, if the group input socket was created by connecting a socket with an assigned object, it will be considered its default value whenever the node group is used, and it follows that the default is not controllable or removable, which is the issue in this report..

Original Report

System Information
Operating system: Windows 11
Graphics card: GeForce RTX 2070

Blender Version
Broken: 3.2.0
Worked: missing

Short description of error
Missing "Default" field for "Object type" in Geometry nodes input.

It's more missing features than the bug, but I have some problems. But if you copy geonodes system to another object, 'defaults' a saved in properties. In my case, I expect that I will have empty fields.


There is a workaround, I can create empty object input and after connect where I need to. But a good user frendly interface doesn't work that way.

Exact steps for others to reproduce the error

  1. Create new Geo Node/
  2. Add "object info" and pick some object into it.

  1. Connect the yellow socket to the "group input" empty gray socket, to create a new input value.

  1. Go to 'Group Input'--Side N panel-->Group-->inputs--> select 'object' from the list. Change default value.

Based on the default startup or an attached .blend file (as simple as possible).

Related Objects

Event Timeline

Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from Developers.Jun 20 2022, 3:43 PM

I guess this is not a bug, but having an implicit uncontrollable default value might not be the expected behavior either. So tagging the module for more information.

Omar Emara (OmarSquircleArt) renamed this task from Defaults for "object type" input in GN to Group input sockets of type Object have an implicit uncontrollable default value in GN.Jun 20 2022, 3:47 PM
Omar Emara (OmarSquircleArt) updated the task description. (Show Details)

There are 2 types values:
Which you set for a group of nodes
And the value for the socket in its settings.
A group of nodes can own information about installed objects
A socket setup can't
I think, but still need a comment from a real developer

I think the issue in the report is that using the node group in a GN modifier sets this default value, yet there is no way to change it.

@Omar Emara (OmarSquircleArt) Yes, you are right. We can't change the default value for objects type. But "group input" saves by default value that you connect into the socket.

Here simple file scene with the example

Hans Goudey (HooglyBoogly) renamed this task from Group input sockets of type Object have an implicit uncontrollable default value in GN to Group input sockets of type Object/Collection/Image have an implicit uncontrollable default value in GN.Jun 29 2022, 11:11 PM