We have just published a new preview of the XR Interaction Toolkit (XRI) that brings a number of bug fixes and improvements. This version is available now for Unity 2019.4 and later, and will be included in 2021.1 in an upcoming patch release. For those who want to experiment with XRI, the best way to start is with our samples available at GitHub - Unity-Technologies/XR-Interaction-Toolkit-Examples: This repository contains various examples to use with the XR Interaction Toolkit. As always, you can refer to our documentation for more information.
Pre-release
This 1.0.0-pre.3 version of the XR Interaction Toolkit is considered pre-release. Pre-release packages are supported packages in the process of becoming stable and will be available as production-ready by the end of this upcoming 2021 LTS release. Starting in 2021.1, Unity is changing the way we publish and show packages in the Package Manager, and is designed to provide clear guidance around a packageās readiness and expected support level. For pre-release packages to appear in Package Manager, they must be enabled in Edit > Project Settings > Package Manager. There will be additional iterations of XRI before we get to the final 1.0.0 release.
Whatās new
For a full list of changes, refer to the Changelog in our documentation.
Many of the changes and fixes in this version were a direct result of feedback we received from the forum and from reported bugs. Thank you to everyone who took the time to make these issues known to the team and for your feedback!
Notable changes
- Derived behaviors which added serialized fields will no longer need custom Editor classes to see them in the Inspector. This is an improvement to the changes made with the previous 1.0.0-pre.2 version where the custom Inspector appearance applied to derived classes, but required writing Editor classes to insert additional values in the Inspector.
- Added support for Input System touches to AR behaviors. Projects no longer have to enable the old Input manager, and can now set Active Input Handling to Input System Package (New).
- Fixed multiple bugs with Ray Interactor, including the end of the Projectile Curve lagging behind and appearing bent while moving the controller fast (1291060), being able to still interact with Interactables that were behind UI (1312217), and frame latency during locomotion and while aiming at UI.
- Additional properties have been added to Ray Interactor, Grab Interactable, and AR components to allow for more tweaking of behavior. Additionally, several methods in Ray Interactor have been added or changed to virtual or public to allow developers to have more control and to get information about UI hits.
Known issues
Use the Unity Issue Tracker for Package: XR Interaction to see the active issues.
- The attach point for Grab Interactables can be inconsistent between Movement Type values (1294410)
- Custom reticles get displayed on objects without a custom reticle (1252565)
- Socket Interactor can apply the wrong rotation to an interactable and cause the interactable to skew in scale when the interactable has a parent with a non-uniform scale (1228990)
- Grab Interactables can cause undesired behavior when using Continuous Move locomotion where the Character Controller can be blocked from moving while holding it, or cause the rig to rapidly move away when the object overlaps with the Character Controller
- The Default Input Actions sample asset uses the wrong pose bindings for Windows Mixed Reality controllers, causing the controllers to point at the wrong angle
- Interaction Manager throws an exception when an Interactor or Interactable is registered or unregistered during event handling and processing
- Interactables with multiple Colliders are removed from valid targets list of Direct and Socket Interactors when any Collider exits bounds
Deprecated members
As we approach the final 1.0.0 release, properties, methods, and events that are currently marked as Obsolete or Deprecated will start to be elevated from warnings to errors before ultimately being removed from the package for the final release. This process will begin to happen starting with the next 1.0.0-pre.4 release. As more users begin to use the package, we want to eliminate potential confusion from the different members available and improve the experience while developing in an IDE with code completion and member lists.
Roadmap
Use the public roadmap to see our latest plans, upvote existing feature requests, and/or submit new feature requests. We are currently working towards a public 1.0 release this year for Unity 2021.2 (LTS). Most of our focus and development efforts now are on bug fixes, UX improvements, and polished documentation & samples. The feature set for public release will primarily reflect what exists today.
Sharing feedback
This forum is the best place to open discussions and ask questions. As mentioned above, please use the public roadmap to submit feature requests. If you encounter a bug, please use the Unity Bug Reporter in the Unity Editor, accessible via Help > Report a Bug. Include āXR Interaction Toolkitā in the title to help our team triage things appropriately!