Search Unity

ARCore SDK console error: `SpatialTracking' does not exist in the namespace ÚnityEngine'

Discussion in 'ARCore' started by krosola, May 13, 2018.

  1. krosola

    krosola

    Joined:
    Oct 24, 2016
    Posts:
    10
    Just following the instructions from the google developers website to get ARCore running in Unity leads to this console error:
    Assets/GoogleARCore/SDK/InstantPreview/Scripts/InstantPreviewManager.cs(32,23): error CS0234: The type or namespace name `SpatialTracking' does not exist in the namespace `UnityEngine'. Are you missing an assembly reference?

    And furthermore I have: Assets/GoogleARCore/Examples/CloudAnchor/Scripts/ARKitHelper.cs(50,71): error CS0246: The type or namespace name `Pose' could not be found. Are you missing an assembly reference?

    I couldn't find anything online relating to this error, and would appreciate any help.

    Thanks
     
  2. krosola

    krosola

    Joined:
    Oct 24, 2016
    Posts:
    10
    Solved, was running on older Unity version.
     
  3. vkyok0423

    vkyok0423

    Joined:
    Dec 11, 2017
    Posts:
    1
    May I know which Unity version you are using to solve this issue?