Visual Studio Code doesn't show Intellisense with Unity

Web Technologies Web Development 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating
_x000D_ _x000D_ I'm new to software development, just started learning C# from online courses and I really want to get into game dev. So here's my situation: I have a very low spec laptop and I don't want to use Visual Studio, so instead I use Visual Studio Code as my code editor. I have .NET Core installed (although my understanding of what .NET is, is actually very fuzzy) and I just got started with the 2D UFO Game Tutorial on the Unity website. Unity works fine, my scripts do as they're supposed to and I can follow the tutorials with (mostly) no issues. However, a big concern of mine is the fact that I almost NEVER get Intellisense or CodeLens, even when I have the correct using statements. This could be a problem when I need to find different methods, parameters, error messages etc. I never know when I have a method name wrong or if I don't have the correct using statements or if I'm using a reserved key word for Unity or C#. One message I do get every time I open a script in VS Code from Unity is: Some projects have trouble loading. Please review the output for more details. And when I do review the output console window, I get a very long set of messages that I don't understand, you can find it here.

Posted on 16 Aug 2022, this text provides information on Web Development related to Web Technologies. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago
_x000D_ Looking at the document you posted on pastebin, the first thing that grabs my attention is [fail]. The very first time this occurs, on line 28 it states: OmniSharp.MSBuild.ProjectFile.ProjectFileInfo .NET Framework v3.5 Service Pack 1 was not found. In order to target ".NETFramework,Version=v3.5", .NET Framework v3.5 Service Pack 1 or later must be installed. Which suggests that you do not have .net framework 3.5 installed. How to install this might differ somewhat per OS, but unity3d forums, mono .net3.5 not installed would be a good starting point for the specifics on that.

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

Important Web Technologies Links

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community