Questions tagged [visual-studio-code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
1 answer
10k 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'...
TobiasW's user avatar
  • 987
3 votes
1 answer
11k 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... - ...
some1 here's user avatar
3 votes
0 answers
417 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: ...
Qubyt's user avatar
  • 53
3 votes
0 answers
3k 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 ...
Kelly Thomas's user avatar
  • 3,882
1 vote
1 answer
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; ...
lukasz's user avatar
  • 151
1 vote
1 answer
466 views

Can't select external script editor in Unity3D

in Unity3D 2020.3.32f1 when I try to select my external script editor via Edit->Preferences->External Tools->External Script Editor the file dialog opens and I try to select VSCode. So far ...
drpelz's user avatar
  • 239
1 vote
5 answers
7k 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 ...
Tudvari's user avatar
  • 731
1 vote
1 answer
511 views

Intellisense broken after installing Unity VSCode extension

I didn't use VSCode since two weeks ago. Today, I opened my Unity Project. VSCode updated some extensions and unhappily, Intellisense doesn't work anymore. I didn't change VSCode settings — all ...
Achie1's user avatar
  • 169
1 vote
1 answer
860 views

instantiateInWorldSpace vs. worldPositionStays in Unity

I'm trying to instantiate an object using Object.Instantiate() like this: Instantiate(carrot, transform, true); according to the ...
Max Bailey's user avatar
1 vote
1 answer
2k 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. ...
Denislav Karagiozov's user avatar
1 vote
1 answer
787 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" ....
Qubyt's user avatar
  • 53
1 vote
0 answers
182 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, ...
Javier Bullrich's user avatar
1 vote
1 answer
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 ...
Almo's user avatar
  • 6,678
0 votes
1 answer
577 views

“undefined reference to” error when compiling for MinGW

I tried to move to MinGW to compile my program, since I am trying to use a more recent OpenMP version than the 2.0 one used in Visual Studio. I was planning on using ...
JK Tech's user avatar
0 votes
5 answers
3k 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(), ...
MedAmine's user avatar
0 votes
1 answer
1k 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 ...
Stormblessed's user avatar
0 votes
1 answer
398 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 ...
qqqqqqq's user avatar
  • 278
0 votes
1 answer
285 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,...
Emad's user avatar
  • 1,126
0 votes
1 answer
656 views

Unity with VS Code: .sln generated is missing assemblies. Only .sln generated by Studio works (with Code as well)

After every Unity update I have a lot of problem with missing assemblies in Visual Studio Code. ...
Tudvari's user avatar
  • 731
0 votes
1 answer
770 views

VS code sometimes doesn't recognize Unity APIs

Unity debugger plugin and C# plugin are installed but Visual Studio Code does not recognize Unity APIs. Intelisense does not work. How can I fix?
erenjeager's user avatar
0 votes
0 answers
141 views

UE5; fatal error: CoreMinimal.h: No such file or directory

I am leaning to use UE5 and am following this tutorial : https://www.youtube.com/watch?v=KQgOqyYoHAs However, when I try to compile a simple pawn class on vscode, I am given the error: "...
AssEat1451's user avatar
0 votes
0 answers
69 views

Unreal 5.3 ignores changes in Visual Studio Code

I’m using Unreal 5.3 on Ubuntu 23.04 “Lunar.” I’m not using Windows (I really can’t stand it), and there is no Visual Studio on Linux. (It's not even supported by Wine.) But we have VS Code, the ...
eje211's user avatar
  • 101
0 votes
0 answers
68 views

pygame.error: video system not initialized

I don't know what's going on when I try to run pygame this error occures everytime no matter how much changes I have made. HERE'S THE CODE: ...
opidas's user avatar
  • 1
0 votes
1 answer
206 views

How to debug Unity/mono code on Linux/VsCode

I am new to Unity and I have been fighting with VSCode and debugging. I am trying to attach a debugger to Unity to test some code that run in the editor without running the app ( kind of Unity ...
Francesco's user avatar
  • 127
0 votes
0 answers
570 views

How to make a class diagram in unity engine?

I'm a newbie and learning unity engine. I want to make a class diagram in unity to control my script efficiently. when I create a C# script look up the class diagram but I don't see that. my question ...
Thanh Sang Trần's user avatar
0 votes
0 answers
92 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 ...
KI.'s user avatar
  • 462
0 votes
0 answers
19 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?
Day Chung's user avatar