No default code editor

Hey guys, I’m brand new to Unity so thanks for your patience if this Q has been asked 100 times before.

I’ve downloaded Ruby’s Adventure and I’m going through the tutorial. Just got to the part 7. and when I double click on the new script file it doesn’t open the default code editor as it says should happen during the tutorial, instead windows prompts me to choose a program to edit code with. I’ve tried looking around on google and youtube but can’t seem to find out what I’ve done wrong! Why doesn’t the default code editor open as it should?

Running Unity hub 2.4.3 and the project is in Unity 2020.3.6f1

You may have to select you script editor of choice in the unity preferences.

Edit → Preferences → External Tools → External Script editor.

In case there is noting to select you may want to install visual studio community edition.

2 Likes

I ended up installing visual studio and that seems to work just fine with the tutorial. Thanks for the help!