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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Problem with Unity 5.5, Visual Studio Code integration, OSX 10.12.1

Discussion in 'Code Editors & IDEs' started by almo, Dec 2, 2016.

  1. almo

    almo

    Joined:
    Jul 14, 2010
    Posts:
    83
    I get this with the listed software. It doesn't recognize object types and I can't use reference-finding. I have the Omnisharp plugin installed and updated. Just wondering if this is supposed to work properly yet. I'm opening it with Assets->Open Project In Code.

    Screen Shot 2016-12-02 at 12.15.48 PM.png
     
    Last edited: Dec 2, 2016
  2. almo

    almo

    Joined:
    Jul 14, 2010
    Posts:
    83
    In the .csproj file, there's this:

    <Reference Include="UnityEngine">
    <HintPath>/Applications/Unity 5.5.0f3/Unity.app/Contents/Managed/UnityEngine.dll</HintPath>
    </Reference>

    Note the space in the file path. Changing Unity's location to

    /Applications/Unity5.5.0f3

    then deleting the generated .sln and .csproj files fixed it.