Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

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?