Search Unity

  1. Read here for Unity's latest plans on OpenXR.
    Dismiss Notice

`CrossPlatformInput' does not exist in namespace error after importing Oculus Sample Framework

Discussion in 'AR/VR (XR) Discussion' started by avinash_unity542, Nov 6, 2018.

  1. avinash_unity542


    Sep 28, 2018
    I have a simple project with basic terrain created by importing Unity Standard Assets. After that I imported Oculus Integration Asset and Oculus Sample Framework. After importing Oculus Sample Framework and running the scene, I get the errors,

    Assets/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs(3,27): error CS0234: The type or namespace name `CrossPlatformInput' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?

    Assets/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs(24,34): error CS0246: The type or namespace name `CurveControlledBob' could not be found. Are you missing `UnitySampleAssets.Utility' using directive?

    Similarly, the same error appears for many other files in Standard Assets.

    I could also see that CrossPlatformInput exists in Assets/Standard Assets/CrossPlatformInput, Assets/Standard Assets/Editor/CrossPlatformInput etc.

    Need help in solving this.
    Last edited: Nov 6, 2018