
If I navigate to the project folder in Explorer I see two generated Solutions and two related projects. When I use the Sync MonoDevelop Project menu item under Assets -> Sync MonoDevelop Project I get the same error. This file does not exist in the directory where I am working so this makes sense. I am getting an error when opening Visual Studio staying can't be found. When I create a simple C# script file and attempt to edit the file Unity launches Visual Studio as you would expect.
#Visual studio tools for unity plug in pro
Is this post not visual enough? Perhaps our video guide of this post can help.I am using Visual Studio 2015 with Unity Pro and have created a quick project to teach some students Unity. Your comments will add on to the information that is already here, and help other future readers! 4. Find an IntelliSense fix that is not listed in this article.Re-open the project in Unity, then go to Assets > Open C# Project to open Visual Studio.Īs with the other articles on the blog, we’d love if you leave a comment below, especially if you:.vs and Library folders in your Unity project folder. csproj files in your Unity project folder. Close both Visual Studio and Unity on your device.Note: Back up your Unity project before trying this, as we are deleting some essential project files and letting Unity regenerate them. If the above solutions we’ve proposed did not work for you, you can also try this solution from one of our comment contributions. The Api Compatibility Level setting is nested quite deep in. Then, click on 1) the External Tools tab. Setting Unity’s External Script Editorįrom the Unity Editor, access the Preferences window from Edit > Preferences. If IntelliSense still doesn’t work when you do this, then continue onto the steps below: b. whenever you want to edit your scripts, double-click on them in the Unity Editor so that Visual Studio is opened by Unity. Open your scripts from Unityīefore you try anything else from here, first make sure that your scripts are opened from within Unity, i.e. So if IntelliSense isn’t working for you, what should you do? a. If IntelliSense is properly set up, Visual Studio should have an auto-complete suggestion for you before you finish typing. Try declaring a Unity variable, like a GameObject.If it does, then IntelliSense is not set up. Whether the top-left dropdown says Miscellaneous Files.

To check if IntelliSense is properly set up, open any script from the Unity Editor, and look out for 2 things: If you see these things, then IntelliSense hasn’t been set up on your device. So if things are not working properly, it might not be caused by misconfiguration on your end. We’ve found that, when installing some versions of Unity 20, Visual Studio does not always integrate with Unity’s API by default.
#Visual studio tools for unity plug in install
Due to the bevy of ways which you can install Unity and Visual Studio, misconfigurations can happen, and you might end up with Visual Studio not integrating itself into Unity, and an IntelliSense feature that is not properly linked to Unity’s API.

If you’ve installed Visual Studio via Unity Hub, this can have been automatically set up, but not always.

Is my IntelliSense not working?įor IntelliSense to detect and work with Unity’s API, Visual Studio needs to: NET API compatibility levelĪrticle continues after the advertisement: 1. If you prefer watching a video instead of reading, do check out our video guide for this post too. Hence, we’ve put together a table of contents of sorts below, so if you’ve already tried some of the solutions we have, you can skip right through them. There can be many reasons why IntelliSense is failing to work properly on your device, and we are assuming that you’ve already scoured the Internet a fair bit before stumbling on our article. If IntelliSense doesn’t automatically offer Unity API suggestions like these, then it isn’t working.
