Bug 1882 - "Build All" errors because of space in username (Working with Unity3d game engine)
Summary: "Build All" errors because of space in username (Working with Unity3d game en...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.4.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-04 12:35 UTC by MangaSketch
Modified: 2011-11-07 13:36 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DOWNSTREAM

Description MangaSketch 2011-11-04 12:35:05 UTC
So I have a test script, very very basic. It's one variable that simply adds one every second and outputs it to the log.

The game can build just fine apparently but I'm getting an unusual error I've never experienced before. When I hit "Build" -> "Build All" in MonoDevelop, I get 2 errors that say:

    Error Error: System.IO.FileNotFoundException: Could not find file 'C:UsersKaze'. (Error: System.IO.FileNotFoundException) (Assembly-UnityScript-firstpass)

    Error File name: 'C:UsersKaze' (File name) (Assembly-UnityScript-firstpass)

I think part of the problem rests in MonoDevelop not understanding a space. My actual username on my computer is "Kaze Enji" and I think the space is throwing things off. Under the settings for project location in MonoDevelop though, the directory path is correct. You can't change the username's folder in Windows 7 without a reformat and changing my User Account name has no effect.

I purposefully screwed up the script to further test things and MonoDevelop is getting stuck on the aforementioned errors and will not tell me the other errors in the script.

Can anyone help?
Comment 1 Mikayla Hutchinson [MSFT] 2011-11-04 13:04:18 UTC
Do you have a more complete exception? You'd be able to find it in the build output or the message log pad.
Comment 2 MangaSketch 2011-11-04 13:14:59 UTC
I'm not sure what you mean...that's all the info MD is giving me. Is there a kind of "expanded view" you're talking about?
Comment 3 Mikayla Hutchinson [MSFT] 2011-11-04 14:08:44 UTC
Hard to be sure without knowing exactly where/how you're seeing the error, but you should be able to find it in one of the following:
* Go to the Error pad, click on the "build output" button in its toolbar.
* Open the Message log pad, View->Pads->Message Log
Comment 4 MangaSketch 2011-11-04 16:38:50 UTC
(I would like to preface this just by saying I've purged everything unity from my computer. Went into the registry and deleted absolutely everything I could find that had to do with Unity, Unity Web Player, and MonoDevelop because a few hours ago I was attempting to open up a file to give you what you're asking for and MD wouldn't open at all. Kept saying the solution couldn't be loaded. So these are the exact same errors I'm getting after reinstalling Unity but with the premade project that it comes with.)

Here we go...I think I got it:

Building: AngryBots (Debug)



Building Solution AngryBots



Building: Assembly-CSharp (Debug)



Performing main compilation...

C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe /noconfig "/out:C:\Users\Public\Documents\Unity Projects\AngryBots\Temp\bin\Debug\Assembly-CSharp.dll"
 "/r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll"
 "/r:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll"
 "/r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll"
 "/r:C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEngine.dll"
 "/r:C:/Program Files (x86)/Unity/Editor/Data/Managed/UnityEditor.dll"
 /nologo
 /warn:4
 /debug:+
 /debug:full
 /optimize-
 "/define:DEBUG;TRACE;UNITY_3_4_2;UNITY_3_4;UNITY_EDITOR;ENABLE_PROFILER;UNITY_STANDALONE_WIN;ENABLE_GENERICS;ENABLE_DUCK_TYPING;ENABLE_TERRAIN;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CLOTH;ENABLE_WWW"
 
 /t:library
 "C:\Users\Public\Documents\Unity Projects\AngryBots\Assets\Scripts\Fx\GlowPlaneOrient.cs"
 "C:\Users\Public\Documents\Unity Projects\AngryBots\Assets\Scripts\Fx\ReflectionFx.cs"
 "C:\Users\Public\Documents\Unity Projects\AngryBots\Assets\Scripts\Misc\DemoControl.cs"
 "C:\Users\Public\Documents\Unity Projects\AngryBots\Assets\Scripts\Misc\InitLevelManager.cs"
 "/nowarn:0169"
 /fullpaths
 /utf8output
 

Build complete -- 0 errors, 0 warnings



Building: Assembly-UnityScript (Debug)



Performing main compilation...

Build complete -- 2 errors, 0 warnings



---------------------- Done ----------------------


Build: 2 errors, 0 warnings
Comment 5 Mikayla Hutchinson [MSFT] 2011-11-04 20:02:32 UTC
That doesn't seem to have any details of the errors, could you check for errors in the message log?

FWIW, I'm guessing this is in Unity's addins, not MonoDevelop itself, since MD doesn't have problems compiling normal projects with spaces in the path. However, a stack trace would confirm this.
Comment 6 MangaSketch 2011-11-04 20:40:36 UTC
The first post i did was from the Message Log and the second long one was from the build output. Is there anywhere else I could get you more info?

And how would I do a stack trace?
Comment 7 Mikayla Hutchinson [MSFT] 2011-11-05 11:13:34 UTC
AFAIK you got those two errors from the error list, not the (internal) message log.

This screenshot should make it a bit clearer: http://screencast.com/t/qA1dQ4jg
Comment 8 MangaSketch 2011-11-05 11:32:08 UTC
Yup that screenshot was very helpful. Here ya go:

Info - 11:26:14 AM - CodeTemplateService: No user templates, reading default templates.
Warn - 11:25:56 AM - Gtk-Warning: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 17
Stack trace: 
   at Gtk.Application.RunIteration(Boolean blocking)

   at MonoDevelop.Ide.DispatchService.RunPendingEvents() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\DispatchService.cs:line 131

   at MonoDevelop.Ide.Gui.StatusProgressMonitor.OnProgressChanged() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\StatusProgressMonitor.cs:line 67

   at MonoDevelop.Ide.ProgressMonitoring.BaseProgressMonitor.BeginTask(String name, Int32 totalWork) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.ProgressMonitoring\BaseProgressMonitor.cs:line 87

   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

   at MonoDevelop.Ide.Gui.SyncContextDispatchSink.AsyncDispatchMessage(Object data) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\SyncContextAttribute.cs:line 186

   at MonoDevelop.Ide.Gui.GuiSyncContext.AsyncDispatch(StatefulMessageHandler cb, Object ob) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\GuiSyncContext.cs:line 47

   at MonoDevelop.Ide.Gui.SyncContextDispatchSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\SyncContextAttribute.cs:line 172

   at MonoDevelop.Ide.Gui.SyncContextDispatchSink.SyncProcessMessage(IMessage msg) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\SyncContextAttribute.cs:line 116

   at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage(IMessage msg)

   at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)

   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)

   at System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)

   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args)

   at System.Threading.Thread.InternalCrossContextCallback(Context ctx, InternalCrossContextDelegate ftnToCall, Object[] args)

   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(IMessage reqMsg)

   at System.Runtime.Remoting.Proxies.RemotingProxy.CallProcessMessage(IMessageSink ms, IMessage reqMsg, ArrayWithSize proxySinks, Thread currentThread, Context currentContext, Boolean bSkippingContextChain)

   at System.Runtime.Remoting.Proxies.RemotingProxy.InternalInvoke(IMethodCallMessage reqMcmMsg, Boolean useDispatchMessage, Int32 callType)

   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage reqMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

   at MonoDevelop.Core.IProgressMonitor.BeginTask(String name, Int32 totalWork)

   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

   at MonoDevelop.Ide.Gui.SyncContextDispatchSink.AsyncDispatchMessage(Object data) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\SyncContextAttribute.cs:line 186

   at MonoDevelop.Ide.StatefulMessageContainer.Run() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\DispatchService.cs:line 371

   at MonoDevelop.Ide.DispatchService.guiDispatcher() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\DispatchService.cs:line 257

   at GLib.Timeout.TimeoutProxy.Handler()

   at Gtk.Application.gtk_main()

   at Gtk.Application.Run()

   at MonoDevelop.Ide.IdeApp.Run() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\Ide.cs:line 387

   at MonoDevelop.Ide.IdeStartup.Run(String[] args) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line 267

   at MonoDevelop.Startup.MonoDevelopMain.Main(String[] args) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Startup\MonoDevelop.Startup\MonoDevelopMain.cs:line 24


Info - 11:25:52 AM - Add-in loaded: MonoDevelop.HexEditor
Info - 11:25:51 AM - Add-in loaded: MonoDevelop.AssemblyBrowser
Info - 11:25:47 AM - Add-in loaded: MonoDevelop.VBBinding
Info - 11:25:47 AM - Add-in loaded: MonoDevelop.Prj2Make
Error - 11:25:47 AM - Monodoc documentation tree could not be loaded.

System.IO.FileNotFoundException: Could not find file 'C:\Users\Kaze Enji\Documents\UnityGames\PartyGame\monodoc.xml'.

File name: 'C:\Users\Kaze Enji\Documents\UnityGames\PartyGame\monodoc.xml'

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)

   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)

   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)

   at System.Threading.CompressedStack.runTryCode(Object userData)

   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)

   at System.Xml.XmlTextReaderImpl.OpenUrl()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)

   at System.Xml.XmlDocument.Load(XmlReader reader)

   at System.Xml.XmlDocument.Load(String filename)

   at Monodoc.RootTree.LoadTree(String basedir)

   at Monodoc.RootTree.LoadTree()

   at MonoDevelop.Projects.HelpService.InitializeHelpTree() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Core\MonoDevelop.Projects\HelpService.cs:line 71
Info - 11:25:47 AM - Add-in loaded: MonoDevelop.ILAsmBinding
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.AspNet.Mvc
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.TextTemplating
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.CSharpBinding
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.CBinding
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.Deployment.Linux
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.WelcomePage
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.GtkCore
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.ChangeLogAddIn
Error - 11:25:45 AM - GdkPixbuf-Critical: gdk_pixbuf_composite: assertion `dest_x >= 0 && dest_x + dest_width <= dest->width' failed
Stack trace: 
   at Gdk.Pixbuf.Composite(Pixbuf dest, Int32 dest_x, Int32 dest_y, Int32 dest_width, Int32 dest_height, Double offset_x, Double offset_y, Double scale_x, Double scale_y, InterpType interp_type, Int32 overall_alpha)

   at MonoDevelop.Ide.ImageService.MergeIcons(Pixbuf icon1, Pixbuf icon2) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 408

   at MonoDevelop.Ide.ImageService.GetComposedIcon(String[] ids, IconSize size) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 393

   at MonoDevelop.Ide.ImageService.InternalGetStockId(RuntimeAddin addin, String filename, IconSize size) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 426

   at MonoDevelop.Ide.ImageService.LoadStockIcon(StockIconCodon iconCodon) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 92

   at MonoDevelop.Ide.ImageService.<EnsureStockIconIsLoaded>b__4(StockIconCodon i) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 184

   at System.Collections.Generic.List`1.ForEach(Action`1 action)

   at MonoDevelop.Ide.ImageService.EnsureStockIconIsLoaded(String stockId, IconSize size) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 184

   at MonoDevelop.Ide.ImageService.<.cctor>b__0(String stockId) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\ImageService.cs:line 50

   at MonoDevelop.Core.IconId.get_Name() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Core\MonoDevelop.Core\IconId.cs:line 54

   at MonoDevelop.Core.IconId.op_Implicit(IconId icon) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Core\MonoDevelop.Core\IconId.cs:line 66

   at MonoDevelop.Components.Commands.CommandToolButton.Update(CommandInfo cmdInfo) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolButton.cs:line 94

   at MonoDevelop.Components.Commands.CommandToolButton.MonoDevelop.Components.Commands.ICommandUserItem.Update(CommandTargetRoute targetRoute) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolButton.cs:line 61

   at MonoDevelop.Components.Commands.CommandToolButton.OnParentSet(Widget parent) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandToolButton.cs:line 53

   at Gtk.Widget.parentset_cb(IntPtr widget, IntPtr previous_parent)

   at Gtk.Container.gtksharp_container_base_add(IntPtr container, IntPtr widget)

   at Gtk.Container.OnAdded(Widget widget)

   at MonoDevelop.Components.DockToolbars.DockToolbar.OnAdded(Widget w) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.DockToolbars\DockToolbar.cs:line 369

   at Gtk.Container.added_cb(IntPtr container, IntPtr widget)

   at Gtk.Container.gtk_container_add(IntPtr raw, IntPtr widget)

   at Gtk.Container.Add(Widget widget)

   at MonoDevelop.Components.Commands.CommandManager.CreateToolbar(String id, CommandEntrySet entrySet, Object initialTarget) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 488

   at MonoDevelop.Components.Commands.CommandManager.CreateToolbar(String id, CommandEntrySet entrySet) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 475

   at MonoDevelop.Components.Commands.CommandManager.CreateToolbarSet(String addinPath) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Components.Commands\CommandManager.cs:line 126

   at MonoDevelop.Ide.Gui.DefaultWorkbench.InitializeWorkspace() in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\DefaultWorkbench.cs:line 270

   at MonoDevelop.Ide.Gui.Workbench.Initialize(IProgressMonitor monitor) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide.Gui\Workbench.cs:line 77

   at MonoDevelop.Ide.IdeApp.Initialize(IProgressMonitor monitor) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\Ide.cs:line 171

   at MonoDevelop.Ide.IdeStartup.Run(String[] args) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Ide\MonoDevelop.Ide\IdeStartup.cs:line 225

   at MonoDevelop.Startup.MonoDevelopMain.Main(String[] args) in c:\BuildAgent\work\f35c19242f914808\monodevelop\main\src\core\MonoDevelop.Startup\MonoDevelop.Startup\MonoDevelopMain.cs:line 24


Warn - 11:25:45 AM - Error creating composed icon gtk-execute___asm0__debug-overlay-22.png__SmallToolbar at size SmallToolbar. Icon __asm0__debug-overlay-22.png__SmallToolbar is 22x22, expected 16x16.
Info - 11:25:45 AM - Creating DefaultWorkbench
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.VersionControl.Subversion
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.RegexToolkit
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.Gettext
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.WebReferences
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.VersionControl
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.Debugger.Soft
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.Debugger.Soft.Unity
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.MonoDeveloperExtensions
Info - 11:25:45 AM - Add-in loaded: MonoDevelop.CodeMetrics
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.AspNet
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.Deployment
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.XmlEditor
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.DesignerSupport
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.SourceEditor2
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.Debugger
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.Moonlight
Info - 11:25:44 AM - Initializing Runtime MS.NET
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.Boo
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.Refactoring
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.Autotools
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.UnityScript
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.NUnit
Info - 11:25:44 AM - Add-in loaded: MonoDevelop.WindowsPlatform
Info - 11:25:43 AM - Add-in loaded: MonoDevelop.Ide
Info - 11:25:43 AM - Add-in loaded: MonoDevelop.Core
Comment 9 Mikayla Hutchinson [MSFT] 2011-11-05 14:08:51 UTC
Ok, the lack of internal error logs and the unusual format of the errors suggests that the problem is in the UnityScript addin.

Looking at their UnityScript addin's source (https://github.com/Unity-Technologies/boo-md-addins/blob/master/src/UnityScript.MonoDevelop/ProjectModel/UnityScriptCompiler.boo#L60) I noticed the following problems:
1) It isn't quoting the "-out" argument to the UnityScript compiler, so will break on projects with spaces in the path.
2) it's not checking the compiler process exit code
3) It isn't writing the commandline arguments and output to the build output log, which makes problems like this much harder to diagnose.
4) It's combining the stdout/sterr messages without interleaving, so the order might not make sense.
5) It's using StandardOutput.ReadToEnd(), which will deadlock with large compiler outputs.
6) it's printing internal errors to stdout instead of logging them to the MD log.

In addition the UnityScript compiler doesn't seem to be handling/reporting errors very well:
1) there seem to be two errors where there should be one
2) the message is cryptic and doesn't make it clear what caused the error 

I suggest you forward this to Unity so they can fix the problems in their addin and compiler.
Comment 10 MangaSketch 2011-11-07 13:36:21 UTC
Hey,

Thanks a bunch for your help. I've already submitted it to Unity and am awaiting response.