I got stuck on the first scripts

@Csharpalos I had this issue too and think I fixed it. I exited the unity programs and VS code then reopened VS Code. After that I uninstalled the extensions and closed out. Reopen and reinstall the C# extension and close out. Repeat for the unity snippets extension.

edit:didn’t work after all, trying steps below

thank you for taking the time to help me out! unfortunately, i tried that already and it didnt fix it, right now, i installed a second .NET framework (the 4.7.1) as i already had the 4.8 installed and the .NET 5.0 SDK and it seemed to have fixed it, tho i am not sure this was the right thing to do, but i’ll just leave it that way since i cant spend any more time on this. If you need help to find the link to those, let me know and ill put the links here. thanks again!

1 Like

The warning from the C# extension by OmniSharp is apparently caused by mono. Link to discussion

I’ll look into workarounds tomorrow, calling it a night.

1 Like

From what I can tell, this is a unity problem for windows users. The solution was to do what Csharpalos and Nina suggested which is to download the .NET framework 4.7.1 along with .NET 5.0 SDK. The Mono stuff was an issue before Nov 2020 but I don’t think it’s the main cause anymore (I tried downloading Mono for Windows and it did not help).

OmniSharp also notes an issue for Mac and Linux users that have Mono installed

For MacOS and Linux users who have Mono installed, this means you will need to set omnisharp.useGlobalMono to never until a version of Mono ships with MSBuild 16.8.

1 Like

[SOLVED]

I am now half way through the Obstacle Course project and everything is goin fine. I’d recommend this solution to anyone who encounter this problem. Install the .NET 5.0 SDK and the 4.7.1 Framework and the notifications will be gone.

Here is the link to the 5.0 SDK (the one on the left, not the 3.1 or the 4.8):

and here is the link for the 4.7.1 Framework (you have to download the DEVELOPER PACK):

Thanks to everyone who helped us out and have a good programming day!

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Thanks a lot for sharing your solution, @Csharpalos. I’m glad you managed to fix the problem. :slight_smile:

1 Like

Privacy & Terms