Questions tagged [visual-studio-code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
608 views

How can I change the root namespace for scripts in Unity?

How can I change the root namespace for scripts in Unity? I went to Edit - Project Settings... - ...
0
votes
0answers
38 views

Need help understanding this script

I found this script on a tutorial that I want to implement into my game, but I first want to understand what it does and how it does it. The script is attached to a Joystick UI, which has the inner ...
0
votes
0answers
66 views

Every X months Visual Studio Code says: 'UI' does not exist in the namespace 'UnityEngine'

I've tried countless fixes in the last 1,5 year, and I still don't know what is the absolute fix for this. Or after fixing it, why it got fixed. Usually this happens after a Unity update, or after ...
0
votes
0answers
21 views

VS code doesn't recognise new Unity Files

Vs code was working fine for some time, and suddenly it stopped supporting new unity c# classes Also, there is no regenerate project files option in unity I tried restarting unity and vscode, but no ...
0
votes
0answers
45 views

How to fix problems with connecting VsCode to Omnisharp server?

I'm using sourcetree for version controlling for Unity. I'm using VsCode version 1.45.1 and when sourctree is running on pc and I open a script on my Unity project, VsCode can't connect to Omnisharp ...
0
votes
0answers
19 views

VSCode doesn't open the specified Unity script

I have downloaded Visual Studio Code to edit Unity scripts. When I double click on a script in Unity, VSCode opens but it doesn't open the script, only an empty file called Unity appears. Anyone knows ...
0
votes
4answers
1k views

Visual Studio Code Unity AutoComplete still not working

I am having an issue with Visual Studio Code AutoComplete for Unity. Some of the autocomplete is working, such as: void Start(), ...
0
votes
1answer
530 views

Some autocompletion doesn't work in Visual Studio Code with Unity

I am using Unity 2018 with Visual Studio Code version 1.43.2 on a Mac. Things seemed to work fine between Unity and Visual Studio Code, but now I realize that something is wrong with Code. I have ...
1
vote
1answer
524 views

Why are Visual Studio and VSCode not giving me a dropdown list of methods and options etc?

I am using VSCode but I have also tried Visual Studio 2019 to write code for Unity, but when I'm writing the lines I don't get dropdown menus with for example the methods this class holds. Or objects. ...
1
vote
5answers
5k views

Visual Studio Code can't see Unity API?

I followed the official step-by-step "Visual Studio Code and Unity" guide, but it seems I messed up something, because Intellisense doesn't see any Unity related stuff. Like the MonoBehaviour class ...
0
votes
1answer
99 views

Prevent VS Code opening the Unity scripts twice

Is it possible to prevent VS Code opening the Unity scripts twice? E.g. I opened Unity project, double clicked a script and got my project (Assets folder) opened in VS Code, now I go to Unity make a ...
0
votes
0answers
18 views

Cross platforms decoding

To advance those coding language and enhance the combination of gameplay device. Here are a file extension with ".d" Any compilers would I find for checking if it's able to run?
0
votes
1answer
211 views

Intellisence doesn't show the ECS API Summaries

I am not sure if this is more of an ECS topic problem or packages in general. but it would be really helpful for ECS programming with all the summaries the Unity has provided. For unity engine methods,...
4
votes
0answers
292 views

SFML.NET DLLNotFoundException with dll.config files in project

I am trying to run SFML.NET on arch linux and I have two dll.config files in my project called sfmlnet-graphics-2.dll.config and sfmlnet-window-2.dll.config. sfmlnet-graphics-2.dll.config: ...
3
votes
0answers
2k views

How do I attach the Visual Studio Code debugger to Godot

At 3.0 Godot now supports C# and encourages the use of Visual Studio Code to edit this code. It is not clear how to attach VS Code so that we an apply breakpoints and debug a project at runtime. I ...
1
vote
1answer
715 views

How do I set up an SFML .NET dll reference in Visual Studio Code

How do I set up SFML .NET library dll files as references in Visual studio code using dotnet core SDK? I want to ditch visual studio as it's large and clunky and am wondering how to add "third party" ....
1
vote
0answers
178 views

Keep the same code format no matter the IDE [closed]

In webdevelopment, there is a file called .editorconfig which have all the standards and format for the IDEs to follow, so no matter with what IDE you are working, ...
1
vote
1answer
3k views

Unity assembly files missing from “Temp/bin/Debug”

I'm trying to use VS Code on a Mac with Unity and C#. When I try to open a Unity project in VS Code, it can't load Assembly.dll* files from few locations which are defined by default in .csproj files; ...
2
votes
1answer
2k views

No intellisense with with Unity 5.5, Visual Studio Code integration, OSX 10.12.1

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 ...
6
votes
1answer
6k views

How to enable Unity related syntax highlighting with VSCode?

I'm using VSCode, not VisualStudio for Unity scripting. VSCode has syntax highlighting for C#, which works fine, but all the Unity related stuff like Vector3 doesn'...