⚠ Cookies ⚠

By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.

Projects

AGS EditorGame CompilationAn Editor crashes if you remove script file on disk and compile
Crimson Wizard[quote]
Error: Source file does not exist: GUIUtil.ash
Version: AGS 3.4.0.6

System.ArgumentException: Source file does not exist: GUIUtil.ash
  в AGS.Editor.Utilities.DoesFileNeedRecompile(String sourceFile, String destinationFile)
  в AGS.Editor.Components.RoomsComponent.HaveScriptHeadersBeenUpdatedSinceRoomWasCompiled(String roomFileName)
  в AGS.Editor.Components.RoomsComponent.RecompileAnyRoomsWhereTheScriptHasChanged(CompileMessages errors, Boolean rebuildAll)
  в AGS.Editor.Components.RoomsComponent.AGSEditor_PreCompileGame(PreCompileGameEventArgs evArgs)
  в AGS.Editor.AGSEditor.PreCompileGameHandler.Invoke(PreCompileGameEventArgs evArgs)
  в AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
  в AGS.Editor.Components.BuildCommandsComponent.CompileGame(Boolean forceRebuild)
  в AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
  в AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
  в AGS.Editor.MainMenuManager.MenuEventHandler(Object sender, EventArgs e)
  в System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  в System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  в System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  в System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  в System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
  в System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
  в System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  в System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  в System.Windows.Forms.Control.WndProc(Message& m)
  в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  в System.Windows.Forms.ToolStrip.WndProc(Message& m)
  в System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[/quote]

[b]Expected:[/b]
* At least, the Editor should not crash like this.
* Supposedly, Editor should warn user that the script item in project tree does not have corresponding file on disk anymore, and remove one from the tree.
© Adventure Game Studio 2024. Page design by loominous and Darth Mandarb; coding by AGA.
Page generated on 06 May 2024 at 21:29:30