I am getting a AGS 3.5.0 Patch 4 issue. It is during compiling the game for full REBUILD ALL FILES - it will COMPILE the game fine, but selecting REBUILD ALL fails and it then make the IDE unstable.
Note 1: Running AGS under Win-10 as ADMINISTRATOR on the exe to ensure permissions are ok does not work either.
Note 2: I just updated to this patch version (From AGS 3.5.0 Patch 1, Dec 2019)
Note 3: Reverting back to AGS 3.5.0 Patch 1, produces the same error.
The following is the error log
___________________________________________________________
Error: Access to the path 'AudioCache\au000034.mp3' is denied.
Version: AGS 3.5.0.26
System.UnauthorizedAccessException: Access to the path 'AudioCache\au000034.mp3' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at AGS.Editor.Components.AudioComponent._agsEditor_PreCompileGame(PreCompileGameEventArgs evArgs)
at AGS.Editor.AGSEditor.PreCompileGameHandler.Invoke(PreCompileGameEventArgs evArgs)
at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
at AGS.Editor.Components.BuildCommandsComponent.CompileGame(Boolean forceRebuild)
at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
at AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
at AGS.Editor.MainMenuManager.MenuEventHandler(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Note 1: Running AGS under Win-10 as ADMINISTRATOR on the exe to ensure permissions are ok does not work either.
Note 2: I just updated to this patch version (From AGS 3.5.0 Patch 1, Dec 2019)
Note 3: Reverting back to AGS 3.5.0 Patch 1, produces the same error.
The following is the error log
___________________________________________________________
Error: Access to the path 'AudioCache\au000034.mp3' is denied.
Version: AGS 3.5.0.26
System.UnauthorizedAccessException: Access to the path 'AudioCache\au000034.mp3' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
at AGS.Editor.Components.AudioComponent._agsEditor_PreCompileGame(PreCompileGameEventArgs evArgs)
at AGS.Editor.AGSEditor.PreCompileGameHandler.Invoke(PreCompileGameEventArgs evArgs)
at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
at AGS.Editor.Components.BuildCommandsComponent.CompileGame(Boolean forceRebuild)
at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
at AGS.Editor.GUIController._mainForm_OnMenuClick(String menuItemID)
at AGS.Editor.MainMenuManager.MenuEventHandler(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)