Search Issue Tracker
Fixed
Won't Fix in 1.0.X
Fixed in 2.1.0-pre.1
Votes
0
Found in [Package]
1.0.0-pre.6
Issue ID
XRIT-6
Regression
No
[XRI] XRGrabInteractable moves to controller when Collider size or position differs from the Transform and Force Grab is off
Reproduction steps:
1. Open the attached project ("bug_xrit.xrgrabinteractable.positioning.zip")
2. Open the SampleScene scene
3. Enter the Play mode
4. Using the controller grab and release the left cube
Expected result: Left cube does not move towards the hand
Actual result: Left cube moves towards the hand
Reproducible with: XR Interaction 1.0.0-pre.6 (2019.4.31f1, 2020.3.21f1, 2021.1.26f1, 2021.2.0b16, 2022.1.0a12)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note:
With version 2.1.0-pre.1, there is a new Use Dynamic Attach property on XR Grab Interactable that can be enabled to get the desired behavior. In the attached project, select the "Cube Force grabs to collider edge" GameObject and then enable Use Dynamic Attach.
This new property will make the effective attach transform of the grabbed object based on where the ray of the XR Ray Interactor hit the object so there is no initial movement due to the offset between that hit point and the object's Transform position.
Resolution Note (fix version 2.1.0-pre.1):
With version 2.1.0-pre.1, there is a new Use Dynamic Attach property on XR Grab Interactable that can be enabled to get the desired behavior. In the attached project, select the "Cube Force grabs to collider edge" GameObject and then enable Use Dynamic Attach.
This new property will make the effective attach transform of the grabbed object based on where the ray of the XR Ray Interactor hit the object so there is no initial movement due to the offset between that hit point and the object's Transform position.
Resolution Note (1.0.X):
This fix will not be backported to 1.0.X of the XR Interaction Toolkit package.