Solution files not being generated (Mac)

I’ve started a new Unity project and the solution files don’t seem to be generating. I’ve tried messing around with Mono to force it to build the solution files and I’ve tried looking through Unity settings to see if that’s the problem but Mono refuses to recognise it as a solution project and there are no sln files being made, just the .cs files.

Any ideas? (I’m on OSx Mavericks).

Edit: Fixed this with a clean re-install of unity and mono.

Typically, when you create a new Script file, then double-click that file in Unity’s editor to open it in MonoDevelop, the solution files will generate on their own. Have you tried that exact path?

This is how I’ve created and opened them all the time. I’ve been doing that for the past few hours and still no solution files have been generated, I’ve also tried to open them manually from the finder.

That sounds rather odd… almost like the associations have been broken between the programs. Check and see if MonoDevelop is set as the proper External Script Editor under Unity Preferences / External Tools. If it is, you may need to completely uninstall and reinstall both Unity and MonoDevelop.

“External Script Editor: MonoDevelop (built-in)”

I thought this may be the case, but I thought I’d rather check than re-install it in the middle of a Game Jam! Do you think I should go ahead and re-install both Unity and Mono then? It shouldn’t take too long really, just a pain and I’ll lose my settings.

Yea, just to be safe reinstall both. Pro-Tip: You can install in a different folder on your computer, and your computer will treat it like a separate install of Unity, if you want to be safe. (I personally do this to cross-load multiple Unity versions on the same machine).

Yeah I’m not all that bothered, if worst comes to worst we’ll work on other machines. I’ll try the re-install and post if it works. Thanks man :slight_smile:

NP - Good luck with the game jam! :smile:

All sorted now! 8 minute download and a 10 second install, all sorted and I’ve got the solutions fixed, thanks a lot DCalabrese. I’ll remember this one and edit it into the main post encase anyone has the same problem again.

Glad to hear you got it resolved!

Incase if anyone wants to know another solution for this, there are options in Unity preference (mac) under External Tools to select the default editor and Generate the csproj and solution for the C# script file added using unity.