Search Unity

[Fixed] UnityEngine.XR.Interaction is not available in script

Discussion in 'AR/VR (XR) Discussion' started by demonixis, Feb 26, 2020.

  1. demonixis

    demonixis

    Joined:
    Aug 20, 2013
    Posts:
    185
    Hello,
    I try to add some components from UnityEngine.XR.Interaction but it's not available from scripts. I can use the component of the XRInteractionToolkit from the editor, but not from the script. Any idea? I can access other packages from the code, only XRInteractionToolkit.

    Edit: I've removed all caches and reimported the project, it's fine now.
     
    Last edited: Feb 26, 2020