Search Unity

Error: are you missing a using directive or an assembly reference?

Discussion in 'External Tools' started by sreeksuser, Aug 20, 2019.

  1. sreeksuser

    sreeksuser

    Joined:
    Aug 20, 2019
    Posts:
    2
    I installed unity3D, Andriod SDK and JDK. when I imported the: arcore-unity-sdk-v1.11 including examples . I am getting Error.

    This is in Windows10. JDK is 1.8
    unity version-unity2019.2.1f1

    Assets\GoogleARCore\Examples\CloudAnchors\Scripts\AnchorController.cs(40,10): error CS0246: The type or namespace name 'SyncVarAttribute' could not be found (are you missing a using directive or an assembly reference?)
    Assets\GoogleARCore\Examples\CloudAnchors\Scripts\AnchorController.cs(40,10): error CS0246: The type or namespace name 'SyncVarAttribute' could not be found (are you missing a using directive or an assembly reference?)
    Assets\GoogleARCore\Examples\CloudAnchors\Scripts\AnchorController.cs(40,10): error CS0246: The type or namespace name 'SyncVar' could not be found (are you missing a using directive or an assembly reference?)
    Assets\GoogleARCore\Examples\CloudAnchors\Scripts\LocalPlayerController.cs(46,30): error CS0115: 'LocalPlayerController.OnStartLocalPlayer()': no suitable method found to override


    I tried multiple unity versions same error? am I missing anything.
    I
     
  2. RZKsenia

    RZKsenia

    Joined:
    Aug 16, 2019
    Posts:
    1
    I have the same problem (
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    3,463