[Not a bug] Group structure/array variable bug

There seems to be a bug in the structure or array group variables after changing a child value in any of the objects in the group. Here’s how to replicate.

  1. create a group and add multiple objects

  2. add a group structure or array variable with a child or more

  3. edit any child value on one of the objects

  4. the group structure/array will then show Mixed values on the parent variable. So you can’t expand or add or edit the children after this, or else the structure/array will reset for all the objects in the group.

This makes the group structure/array variable useless after changing a value. Instead, the Mixed values should only appear on the children that have different values.

1 Like

While I see your point. I think the key to the process is to only modify the structure (meaning adding or removing children) using the object group setup panel. You would have a similar issue if you added any variable through the object instead of the group.

1 Like

Thanks for the reply! If you change the default value of any of the children or as you said add a new child through the object, you can no longer add/remove/edit the children variables from the group variables panel, and instead you’d need to do this manually for every object. Which is the whole purpose of group variables and in this case makes the group structure or array pretty much useless imo.

I thought this used to work differently before and is a bug now, but it’s a missing feature that I think makes sense to be implemented. I guess I’ll create a feature request for it.

1 Like

Yeah, changing the value shouldn’t mess things up. GD instance/object variables has always been weird. Editing an object variable sometimes creates an instance variable which doesn’t even seem to be supported by the new variable system.

1 Like