Search Unity

Question Can't Open Script on Mac Ventura 13.2.1

Discussion in 'Editor & General Support' started by bwool, Mar 31, 2023.

  1. bwool

    bwool

    Joined:
    Mar 30, 2023
    Posts:
    22
    SOS I downloaded unity recently and am working through the tutorial. I was really excited to start the scripting part, but I keep getting the below message when I try to open a script.

     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,059
    Do you have visual studio for mac installed?
    If so, set it in Unity -> Preferences -> external tools -> code editor
     
  3. bwool

    bwool

    Joined:
    Mar 30, 2023
    Posts:
    22
    Thank you for your reply. I do have Visual Studio installed, but it's not pulling up when I go into External Tools. When I open the dropdown, code editor doesn't come up either.

     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,736
    It is always best to install Visual Studio at the same time and in the same step as installing Unity.

    This may help you with intellisense and possibly other Visual Studio integration problems:

    Sometimes the fix is as simple as doing Assets -> Open C# Project from Unity. Other times it requires more.

    Other times it requires you also nuke the userprefs and .vsconfig and other crufty low-value high-hassle files that Visual Studio tends to slowly damage over time, then try the above trick.

    Barring all that, move on to other ideas:

    https://forum.unity.com/threads/intellisense-not-working-with-visual-studio-fix.836599/

    Also, try update the VSCode package inside of Unity: Window -> Package Manager -> Search for Visual Studio Code Editor -> Press the Update button

    Also, this: https://forum.unity.com/threads/no-suggestions-in-vscode.955197/#post-6227874