Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Console error: 'SpatialTracking'

Discussion in 'Editor & General Support' started by krosola, May 14, 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?

    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
    Updating unity fixed my issue
     
  3. ram_kindle

    ram_kindle

    Joined:
    May 15, 2019
    Posts:
    1
    I just updated my Unity to 2019.3.0a3 but the error is still showing.Please suggest me something because I am stuck on it.
     
  4. unity_R86wHEydMce2YA

    unity_R86wHEydMce2YA

    Joined:
    Jan 6, 2020
    Posts:
    1
    For Unity 2019.2.17 do:

    1) Go to Window > Package Manager
    2) Install Multiplayer HLAPI
    3) Install XR Legacy Input Helpers

    Enjoy!
     
  5. Reinvision

    Reinvision

    Joined:
    Feb 20, 2020
    Posts:
    1
    thanks! that worked
     
  6. sobarzorober

    sobarzorober

    Joined:
    Mar 17, 2020
    Posts:
    1
    You are the best!!
    Thanks!!