6

Since upgrading to Unity 5.2 javascript (unityscript) files are not showing in the Monodevelop Solution explorer (see image below). Does anyone know how to resolve this issue? enter image description here

user3071284
  • 6,955
  • 6
  • 43
  • 57
joe
  • 16,988
  • 36
  • 94
  • 131
  • Might they be in the Assembly-CSharp-Editor-firstpass project? – Ed Marty Oct 12 '15 at 14:13
  • I have looked in all of the folders, not appearing in Scripts where they are in the folder structure – joe Oct 12 '15 at 14:24
  • Also, intellisense does not appear to be working for unityscript either. – joe Oct 12 '15 at 14:24
  • Have you tried to click the js file in Unity3D and make the MonoDevelop the default program to open it? You can get clues from there. – Aizen Oct 20 '15 at 03:42
  • Are the files still visible in Unity3D? What happens if you try to open them from Unity3D? – HoloLady Oct 21 '15 at 11:28

1 Answers1

2

I have fixed these same issues with the following steps.

Create Backup

Make a copy of your project folder in case something is mistakenly deleted.

Delete Scripting Files

In the root of your project folder, delete only the following files:

  • Files beginning with Assembly-
  • Files beginning with your project name, i.e. kickoff3d01

Sync Scripts

In the Unity Editor, go to Assets -> Sync MonoDevelop Project.

Locate in MonoDevelop

In MonoDevelop, they should be listed under Assembly-UnityScript.

user3071284
  • 6,955
  • 6
  • 43
  • 57
  • Thanks for your reply! I didn't have a "Sync MonoDevelop Project" option, but I was able to solve the issue by going to Unity -> Preferences -> External Tools -> External Script Editor – joe Oct 22 '15 at 13:38