I am using unity xr interaction toolkit, and want to implement the grab + teleport + snap turn together of the right hand, so I added the xr interaction group of the right hand.
But I got a warning: The referenced object does not implement IXRGroupMember, please see the image below. I was very confused, because the Right Direct Interactor and the Right Teleport Interactor are prefabs from xr interaction toolkit 2.6.3 start assets.
Hey @connygy,
Are you able to send screenshots of your Right Direct Interactor and Right Teleport Interactor so we can verify those are setup correctly?
Thanks so much for the help, I just made the screenshot for both Interactor. They are too lang, hope the result is clear enough, otherwise I can try to use the video capture.
Hi Dave, I just restart the project and try to drag the two prefabs again to the Starting Group Members, then the warning suddenly disappeared. I don’t know why this happened, I can not remember I changed anything important, but just clear the two prefabs and drag and drop them again in the place, then the warning disappeared and all the setting works perfect on my project.
Is it possible a bug? Or am I the first one to encounter this problem?
Hey Im using Unity 6 with XRI v3.2 and got the same problem but the warning didnt go away after restarting unity. I have two direct interactors in the group. Did you or anyone find a solution to the problem?
EDIT:
So I found the issue… We are referencing GameObjects in the Starting Group Members list instead of referencing the Interactors directly. This is what it should look like:
Hey @Dee-Dee,
How were you able to assign a GameObject reference only without it finding and automatically attaching the IXRGroupMember reference instead? Was this done through scripting against the API?
Im not sure how. I just drag-dropped the direct interactors from the heirarchy to the Starting Group Members list and it didn’t/counldn’t detect the IXRGroupMember interfaces on them. Im using Unity Ultimate Editor Enchancer unity package so maybe it breaks something?
So I guess theres two ways to reference the IXRGroupMember components.
Have two inspectors open at the same time. Lock one of the on the XRInteractionGroup component and select the direct interactor gameobject and drag drop the IXRGroupMember component from that inspector to the other opened and locked XRInteractionGroup inspector.
If you have Ultimate Editor Enchancer package installed, you can press ctrl and itll show you the gameobejcts components directly in the heirarchy and you can drag it to the XRInteractionGroup component directly. (Thats what i did)