I am intermittently receiving an Unhandled Error message.
I am using:
AGS 3.0.1.35
Game built using default game template
Windows 2000 SP4
Here’s the sequence of actions:
1) Press F5 to run the game in a window
2) Test character movement, object interactions, and sounds in the room
3) Click on the x in upper-right corner of the running game window to close it.
4) Make script changes
5) Repeat 1-4
Usually there is no problem, but occasionally the following occurs:
1) Clicking on the x to close the window causes the running game window to hang
2) Windows task bar shows “Unhandled Errorâ€
3) Clicking on “Unhandled Error†displays window containing the error text shown below
4) After closing the “unhandled Error†window, the AGS editor terminates automatically
5) The running game window is still displayed, and can only be terminated using Windows Task Manager
Note: Just in case it matters . . . as I move the cursor to the upper-right corner, this of course causes the Icon Bar to roll into place just before the click on the x is completed.
I’ve also installed AGS 3.0.2 Beta, and the problem exists there too.
-----------
Here’s the error text that is displayed:
Error: Access to the path 'C:\Adventure\Games\Master\dbgrecv.tmp' is denied.
Version: AGS 3.0.1.35
System.UnauthorizedAccessException: Access to the path 'C:\Adventure\Games\Master\dbgrecv.tmp' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at AGS.Editor.EngineCommunication._watcher_Changed(Object sender, FileSystemEventArgs e)
at System.IO.FileSystemWatcher.OnChanged(FileSystemEventArgs e)
at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Thanks for the report, I think I've identified the cause and will get it fixed.
Thank you sir.