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

Linux VS Code and Unity Setup

Discussion in 'ML-Agents' started by richeverts, Mar 8, 2020.

  1. richeverts

    richeverts

    Joined:
    Jul 22, 2017
    Posts:
    6
    I'm having some real challenges getting autocompletion and other IDE standard things working with the C# libraries using VS Code with Unity.

    I have Microsoft's C# extension: `@id:ms-dotnettools.csharp` and Unity Code Snippets installed: `@id:kleber-swf.unity-code-snippets`

    When I'm loading any script file, it gives me these errors:
    https://i.imgur.com/sb0Nvbd.png

    The C# extension it recommends is this one: @id:ms-vscode.csharp, which got screwed up in the latest VS-Code release as seen here. I've tried this version as well.

    I reinstalled following those directions, and still nothing. When I hover over Agent in `public class PenguinAgent : Agent`, nothing appears.

    Any ideas why?
     
  2. celion_unity

    celion_unity

    Unity Technologies

    Joined:
    Jun 12, 2019
    Posts:
    289