Issue VS Code with Unity in MAC

I’m starting mobile game course and stoped when he typing Touchscreen and then dot and he has some suggest. Anyone help me please, I’m using MAC and can’t set my VS Code to dotnet command. I can’t using Unity at all. When i begin to write using UnitEngine. (it dosn’t suggest anything), the same in Debug… I’m new in macOS and maybe i didn’t install something? But it works good in my PC

Hi @Veggasorg,

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

On a Mac, you have to install the MONO Framework from the official MONO website.

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.

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

Did this help?


See also:

@Nina thanks. I did all of this early.
The issue were another, and the solution is that https://youtu.be/KJYrRv9cShY

Awesome! Thanks for sharing your solution. :slight_smile:

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

Privacy & Terms