Hello I have couple of issues


first in this image some of the codes aren’t really highlighted in some colors

now as you can see the player gets out of the walls , even though I have rigid body on and the position and rotation were fixed as in Mr.Rick’s course video

I’m using unity 2020.1.1f1

Hi.

Welcome to our community! :slight_smile:

Please follow the instruction on this website and make sure all required extensions are installed: https://code.visualstudio.com/docs/other/unity

If the issue persists, please check the console of VS Code (not Unity!). If the .NET Framework 4.7.1 (Developer Pack) is mentioned there, download and install it from the official Microsoft. Here is the link: https://dotnet.microsoft.com/download/dotnet-framework/net471

Depending on your version of Unity, it might be that you will have to install the “Visual Studio Code Editor” package in Window > Package Manager in Unity.

  1. Press Ctrl + Shift + P in VS Code.
  2. Type “OmniSharp: Select Project” and press Return.
  3. Select the solution workspace entry.

Maybe you’ll have to reboot your computer. Then launch Unity again and open one of your scripts.

Regarding the problem with your player, please try to slow the player down and test your game again. Does the issue persist?

Privacy & Terms