Home > OS >  Unity Intellisense doesn't work(Miscellaneous Files issue)
Unity Intellisense doesn't work(Miscellaneous Files issue)

Time:09-10

I am having the issue with visual studio not recognizing the C# file, I have checked the Preferences and no problem there it is still set on visual studio (I use visual studio 2019) furthermore, scripts that are imported from the Package manager work just fine but when I create a new C# script or use ones I made before (before visual studio didn't recognize them in the same project) I get the Miscellaneous Files.

CodePudding user response:

Solution for IntelliSense not available.

One of the visual studio settings is not checked: Tools - Options - Text Editor - C#. Check "Automatically list members".

Reference link:

Unity Intellisense doesn't work(Solution1, Miscellaneous Files issue)

Visual Studio Intellisense for UnityEngine not working

Intellisense and Autocompletion Unity

Hope it helps you.

CodePudding user response:

Try re-installing Visual Studio 2019, after installing VS 2019 do this:

Step 1:

Close Visual Studio

Step 2:

In Unity, go to Edit < Preferences < External Tools (left part of the Window)

Step 3:

In External Tools go to the part that says External Script Editor (this should be on which ever Visual Studio editor you are using (for me it defaulted to "Open by File Extension"

Step 4:

Make sure Generate all csproj files is checked, and Editor Attaching is checked

Step 5:

Open the C# script you were trying to open earlier


  • Related