I’m quite new to 3d development and looking at Unity for the future engine for some of my projects.
I am now wondering in which language I want to write the scripts and Boo seems intriguing.
The only problem is that I didn’t manage to setup the ide to develop on mac osx.
Is there any step by step guide on how to install the tarball Boo language support for the mono develop ide?
I managed to install the Boo language with the Tools->AddInManager->Boo Language Binding.
The only problem I have now is, if I set mono for the default Script editor and open a Boo script I get the following exception:
System.IO.FileNotFoundException: Could not load file or assembly ‘UnityScript, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies.
File name: ‘UnityScript, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’
at UnityScript.Ide.UnityScriptProjectIndexFactory.CreateUnityScriptProjectIndex () [0x00000] in :0
at Boo.MonoDevelop.Util.ProjectIndexFactory.CreateIndexFor (MonoDevelop.Projects.DotNetProject project) [0x00000] in :0
at Boo.MonoDevelop.Util.ProjectIndexFactory.ForProject (MonoDevelop.Projects.DotNetProject project) [0x00000] in :0
at Boo.MonoDevelop.Util.Completion.BooCompletionTextEditorExtension.ProjectIndexFor (MonoDevelop.Projects.DotNetProject project) [0x00000] in :0
at Boo.MonoDevelop.Util.Completion.BooCompletionTextEditorExtension.Initialize () [0x00000] in :0
at MonoDevelop.Ide.Gui.Content.TextEditorExtension.Initialize (MonoDevelop.Ide.Gui.Document document) [0x00000] in :0
at MonoDevelop.Ide.Gui.Document.OnDocumentAttached () [0x00000] in :0
at MonoDevelop.Ide.Gui.Document.SetProject (MonoDevelop.Projects.Project project) [0x00000] in :0
at MonoDevelop.Ide.RootWorkspace.ReattachDocumentProjects (IEnumerable`1 closedDocs) [0x00000] in :0
at MonoDevelop.Ide.RootWorkspace+c__AnonStoreyA5.<>m__141 (System.Object , System.EventArgs ) [0x00000] in :0
at Gtk.Application+InvokeCB.Invoke () [0x00000] in :0
at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in :0
I already tried the unity->Assets->Sync MonoDevelop Project but that didn’t help.
Not to be a downer but boo isn’t well supported by the community. So if you do want to use it your going to have to tough it out yourself a bit more. I assume that there are enough people that do use boo to get help - but you may need to find them.
First question is this Boo only or does it happen with all scripts?
I actually found a way around it, I just chose the Mono app which is located inside the Unity folder directly, instead of the Mono app I downloaded from the internet.
I now have another problem with Boo:
The build option (compiler) always sais it compiled successful, no matter what i write. It seems as if it didn’t compile at all, whereas for c sharp it works well and compiles all the time.
Where could the problem lie? What configuration is wrong which prevents me from compiling the scripts inside the mono develop?
(If I click on the play button inside unity it gives me the compiler erros just not if I click the build button inside the mono develop)
If anyone could shed some light onto this, I would be grateful.
Boo just seems like a really nice and beautiful language, really a shame that not many are using it.