If not working, check if you are having this error: Let's say that the name of your Project is called Target_Shoot, these are what the files to delete should look like:ĭouble click on the script again from Unity which should generate new Visual Studio file then open Visual Studio. These are the files extensions to delete:
![visual studio tools for unity 2018 download visual studio tools for unity 2018 download](https://docs.microsoft.com/en-us/visualstudio/gamedev/unity/media/vsm/using-vsmac-tools-unity-image5.png)
Go your project directory and delete all the generated Visual Studio files. Select the script that doesn't do auto-complete then right-click and select Include In Project.Ĭredit goes to chrisvarnz for this particular solution which seems to have worked for multiple people. This will reload the project and fix possible solution file problems. Now, open the project in Visual Studio by going to Assets → Open C# Project. Now, when you create a new C# file in Unity, it should open without saying Miscellaneous.įrom Unity, re-import project by going to Assets → Reimport All. The red 'x' icon should now turn into a brown checkmark icon. Click it then choose the Unity instance to connect to. When you re-start, connection icon should now be available in Visual Studio. Under Show connectivity icon, set it to true then restart Visual Studio. If newly created C# files are coming up as Miscellaneous then follow the instruction below:įrom Visual Studio, go to Tools → Options. On the External Script Editor drop down menu, change that to Visual Studio 2015. Do this while Unity and Visual Studio are both closed.įrom Unity Editor, go to Edit → Preferences.
Visual studio tools for unity 2018 download install#
I can't tell which one is causing the problem but I will cover the most likely solution to fix this.ĭownload and Install Visual Studio Tools for unity from this link. Most of the times, restarting Unity and Visual Studio should fix this. When you create a script from Unity then quickly open it before Unity finish processing it or before the round icon animation stuff finish animating. This can happen when Visual Studio Tools for unity is not installed. When Visual Studio is opened you get " Miscellaneous Files" and no auto-completion.
![visual studio tools for unity 2018 download visual studio tools for unity 2018 download](https://i.ytimg.com/vi/Hsg_rwz5S2Q/maxresdefault.jpg)
It can happen because Unity was closed then re-opened but is no longer connected to Visual Studio.
![visual studio tools for unity 2018 download visual studio tools for unity 2018 download](https://i.stack.imgur.com/0eY7b.gif)
This can also happen because Unity crashed while Visual Studio is still open therefore corrupting some files. It can happen when you open your Unity C# file from another folder instead of opening it from Unity Editor. The " Miscellaneous Files" message can happen for many reasons: Take a look at the image below that came from the video in your question: There is no auto-completion because the script says " Miscellaneous Files" instead of the of the name of the Project.