Stefano Fallaha
Stefano Fallaha

Reputation: 15

Why can't I edit C# script although I have monodevelop installed in Unity3D 4.3.4?

I am making a game,

I put the background and player; all fine, but when it comes to editing and double-clicking on the "script C#" named "player" it show me:

Unable to open Assets/Scripts/Player.cs: Check external application preferences.

I read about this over the internet, but i guess the answers were for older versions as they said to install Monodevelop.

I have the Unity3D 4.3.4 and Monodevelop comes built-in with it. I installed "Winmerge" as as revision control.

I tried restarting Unity3D, my game, Winmerge... but I am still getting the same error.

Upvotes: 2

Views: 5717

Answers (2)

wheelsx
wheelsx

Reputation: 186

You might need to right click a script and click "Sync MonoDevelop Project" before you can open the script for editing by double clicking it. You only have to do this once. I use VCS 2010 Express, and I do that, and then open the solution file generated by unity (in the root folder of the unity project) with VCS. Should work the same way for MonoDevelop, only you can also double click the script in Unity to open it with MonoDevelop.

Upvotes: 2

Nathan Malloy
Nathan Malloy

Reputation: 146

Check your script editor preferences and see if it needs to be set. It should say "MonoDevelop (built-in)"

Edit > Preferences... (around the middle of the menu) > External Tools > External Script Editor

Upvotes: 4

Related Questions