Questions tagged [visual-studio-code]
The visual-studio-code tag has no usage guidance.
25
questions
0
votes
0
answers
13
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:
...
1
vote
1
answer
159
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 ...
0
votes
1
answer
155
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 ...
0
votes
0
answers
420
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 ...
1
vote
1
answer
366
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 ...
1
vote
1
answer
605
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 ...
0
votes
1
answer
573
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.
...
0
votes
1
answer
651
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?
0
votes
1
answer
489
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 ...
2
votes
1
answer
9k
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
0
answers
87
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
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(), ...
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 ...
1
vote
1
answer
1k
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
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 ...
0
votes
1
answer
352
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
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?
0
votes
1
answer
260
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,...
3
votes
0
answers
407
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
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 ...
1
vote
1
answer
771
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
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, ...
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; ...
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 ...
6
votes
1
answer
9k
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'...