Console error: 'SpatialTracking'

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

Updating unity fixed my issue

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.

For Unity 2019.2.17 do:

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

Enjoy!

thanks! that worked

You are the best!!
Thanks!!