Default Grab Transformers and Attach Transform?

Hi, I’ve recently upgraded my project to a later XRI toolkit version which added Dynamic Grab Attach, amongst other things.

Since then it’s created a few issues with all my Grab Interactables.

Previously I could move the transform and rotations of my Interactables Attach Transform while in Play mode and adjust the positions rotations to get them to be where I want them. But with more recent versions of the toolkit, moving or adjusting the Attach Transform doesn’t work while in play mode. The attach transform moves, but the interactables do not follow.

So I have to make manual adjustments in the editor, then press play and hope that my adjustments are helpful, I have to tediously go into play mode, stop, adjust, press play and hope my adjustments closer to where I want them. It’s so much more tedious than previous versions.

What is the reason for this change?

I see their are options for Dynamic Attach, which I’m not using, their is also now the option for Dynamic Grab Transformers. I don’t really understand why these seemingly replace my Attach Transform.

They seem to inherit the same position, rotation etc as my initial Attach Transform, but are added dynamically.

They too cannot be adjusted in play mode, so now I end up with two attach transforms with the same positions/rotations, neither which allow me to adjust them in play mode.

If I disable “Add Default Grab Transformers” the object is no longer interactable, and my attach point is completely ignored (the whole object is).

Essentially we seem to have doubled up on Attach Transforms, and lost the function to adjust the transform dynamically in play mode.

I’m a little confused as to the benefit of these changes. ?

Also looking for a fix -.- this problem is annoying me so badly I almost don’t want to keep working on the game right now. I cant dynamically set the anchor point while playing which makes that tedious as hell and I noticed that when you run a scene two game objects get created under the Hand controllers for Model and Attach point, moving that around I can do anchor point dynamically but when I go to use the value the item isn’t in my hand almost always off a little bit floating.

Hey @Freakish and @unity_1682350186145CCCAA17 . Thank you for discovering this. These changes were not intended to make development more difficult. I will take this back to the team to look into. Sorry for the inconvenience this is causing.

@Freakish @VRDave_Unity

after digging through the changelog of the XR interaction toolkit I finally found a workaround for this, the changelog states that at version [2.3.0-pre.1] that was released on the 7th of December, 2022 a change has been made to the default grab transformers of XRGrabInteractable objects (link)

After performing the following, this was fixed

  • go to the game object who’s attach transform you’d like to manipulate during runtime
  • add an XR Single Grab Free Transformer component to it
  • inside your XR Grab Interactable component, scroll to the bottom until you see Grab Transformers Configuration and expand it
  • add an item to the Single Grab Transformers list and drag the XR Single Grab Free Transformer component you just added to that new empty slot
  • run the game and manipulate the attach point to your liking
  • you can then reverse all of this to get things back to “normal”

was driving me nuts as well, hope this helps, good luck!

1 Like

I also have an issue with my XR prefab that uses the interaction toolkit.
I am new to Unity AR development and decided to use the XR Interaction Toolkit for basic gesture interaction for my model. I am able to spawn my prefab on detected planes but for some reason when I tap the model to use gestures it becomes too big. When I hold on the plane to spawn the prefab and gestures aren’t used on it yet it remains at it set scale but when I tap to use the gestures, the scale just increases exponentially before I am able to use gestures on it. Please help me fix this issue.