Unity 2018.4 miselanious files (HAVE TRIED EVERYTHING I COULD FIND)
This issue just started happening recently... whenever I create a new script in unity 2018.4 and open it in Visual Studio 2017, I get a miscellaneous file in the top left. This causes intellesence to not work... and overall super annoying. Things i have tried.
- Deleted all the files associated with visual studio in my project ( .sln , all the cspoj file, library folder and the .vs folder) -- made no difference.
- made sure the external tools pointed to visual studio and that Editor Attaching is checked.
- refreshed, re-imported the project... this happens with new projects as well.
- Uninstalled visual studio and did a fresh reinstall.
- made sure visual studio tools for unity was installed... and made sure Unity recognizes it within Help/About menu... everything shows up.
- Opened a different project and still got the same issue
I have been using Unity and building games for many years, and have not had this issue. I have scanned threw several posts I found on google and none of the suggested solutions have worked... I'm honestly out of Ideas and definitely need some help... I need to figure this out as soon as possible because I have deadlines to meet coming up soon.
All my already created scripts work just fine and have the correct associations it's only when creating a new script. I have found if I open the unity project inside of visual studio then browse to my scripts folder and create a new file with visual studio... it works fine... but this would be a total pain in the butt rather then just using unity to create the file and double click... like usual.
Also just as a random side note... why is Unity the ONLY application out there that is soo stingy on just making unity have a Perma dark theme... I'm legally blind and my eyes start hurting and i get a massive headache fairly quick.... not very disabled friendly... my only gripe about Unity.... wish they would add some assessability options...
Answer by Animatick · Aug 05, 2019 at 09:10 PM
Ok, I have managed to actually figure out how to fix this by myself. If you get this issue these are the steps I used.
uninstall visual studio 2017
install visual studio 2019
In your project delete the .vs, Library, and obj folder along with all csproj files and the slh file.
Open Unity, go to preferences, external tools and make sure visual studio is selected along with attach files.
Go to your visual studio install location, go to Common7 / IDE and open envdev.exe.
go back to unity and back to preferences external tools... for me it changed to envdev so I swapped it back to visual studio.
close unity and visual studio.
re-open unity create a new .cs file... and TADA for me this fixed my issues.