Search Unity

Question Vuforia and AR Foundation with XR Origin

Discussion in 'AR' started by afurioso, Sep 23, 2022.

  1. afurioso

    afurioso

    Joined:
    Jan 12, 2022
    Posts:
    88
    Hi everyone,

    I'm trying to test AR Foundation 5.0.13 and when I install it this error appear:

    Code (CSharp):
    1. Library/PackageCache/com.ptc.vuforia.engine@7c95fcfcb02e/Vuforia/Scripts/Internal/ARFoundationIntegration/ARFoundationFacade.cs(97,53): error CS1061: 'ARSessionOrigin' does not contain a definition for 'gameObject' and no accessible extension method 'gameObject' accepting a first argument of type 'ARSessionOrigin' could be found (are you missing a using directive or an assembly reference?)
    How can I solve it? I've installed also vuforia 9.7.2
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,051