Search Unity

Using visual studio code : fail to load symbols

Discussion in 'Linux' started by matrem, Dec 16, 2016.

  1. matrem

    matrem

    Joined:
    Jan 25, 2013
    Posts:
    12
    I tried to use Visual Studio Code on my linux, as an alternative to monodevelop.
    But symbols are not loaded, resulting in not being able to navigate threw symbols (even go to definition).

    It's working with basic .net core projects.
    And I have this error when I load the unity folder in visual studio code :

    Is there some ways to get it working?
     
  2. Poplop-Sord

    Poplop-Sord

    Joined:
    Jul 6, 2014
    Posts:
    3
    Have you tried installing mono-complete?:
    sudo apt-get install mono-complete
     
  3. matrem

    matrem

    Joined:
    Jan 25, 2013
    Posts:
    12
    After this install it seems that this error disappeared. But another comes out, and symbol navigation still does not work :
     
  4. pimpke

    pimpke

    Joined:
    Apr 26, 2017
    Posts:
    1
    I've just upgraded the version of mono and it works as expected now:

     
  5. rootPL

    rootPL

    Joined:
    Sep 5, 2015
    Posts:
    14
    I have the same problem as matrem and installed version 4.2.1 how to update it ot 4.8.1 ?

    I did

    sudo apt-get purge --auto-remove mono-complete

    then went there: http://www.mono-project.com/download/beta/
    following steps to intstall mono-devel

    Now I have version 5.0.0.94 (beta)

    Error is gone, If it will not work I'll let you know
     
    Last edited: May 6, 2017
  6. rootPL

    rootPL

    Joined:
    Sep 5, 2015
    Posts:
    14
    Huh I was trying to set visual studio code working but it seems fruitless as unity does not see changes (no compilation)

    Now I cannot connect scripts into prefabs ;(

    Do I have to reinstall everything again ?
     
    Last edited: May 6, 2017
  7. mysticfall

    mysticfall

    Joined:
    Aug 9, 2016
    Posts:
    649
    It's a bit off topic, but have you considered Rider? I've switched from MonoDevelop to Rider with great result, and currently it's freely available too.