AR Input Manager
Understand the AR Input Manager component.
The AR Input Manager component manages the lifetime of the XRInputSubsystem. When you add an AR Input Manager to a GameObject in your scene, you can access device pose information.
Note
AR Foundation requires the AR Input Manager component for AR to function correctly. Without the AR Input Manager component, XROrigin can't acquire a world-space pose for the device.
Access the default AR Input Manager
When you add an AR Session GameObject to your scene using the Create menu, your AR Session GameObject automatically contains an AR Input Manager component. To view the default AR Input Manager, select the AR Session in the Hierarchy window to open it in the Inspector. You can access the AR Input Manager in the Inspector, as shown in the following image:
AR Input Manager component.
If your AR Session
component doesn't already contain an AR Input Manager, you can add one by clicking the Add Component button in the Inspector window, and selecting AR Input Manager.
Manage the scene hierarchy
Optionally, you can move the AR Input Manager component anywhere in your scene hierarchy.
Important
Adding multiple instances of the same type of manager component to a scene can cause conflicts. Don't enable more than one of the same manager in your scene at a time.
Additional resources
- XR input options (Unity manual)