[SOLVED] Cannot create a file when that file already exists.

Started by Gepard, Tue 07/02/2017 19:55:24

Previous topic - Next topic

Gepard

So this thing seems simple. When I try to test my game, either with the button or F5 shortcut, it runs fine, the first time, than I get this:

Unexpected error: Cannot create a file when that file already exists.


Than it might run fine the third time or give me this:

Unexpected error: Access to the path 'C:\Users\MyName\Desktop\Game\_Debug\Game.exe' is denied.


And than it runs fine again. Any idea what is causing this?
Drink up me 'arties! Yo ho!

Cassiebsg

There are those who believe that life here began out there...

Gepard

No, but I did install Comodo antivirus right before it occured. I've uninstalled it already, but the error doesn't seem to go away. What is causing this?
Drink up me 'arties! Yo ho!

Slasher

Try creating a new game, just one room and place a character in room. try running game. Does it react the same?

Lewis

This might sound blindingly obvious, but have you tried closing AGS and re-opening? I've had this error a couple of times, and it's always been resolved by simply rebooting the editor.
Returning to AGS after a hiatus. Co-director of Richard & Alice and The Charnel House Trilogy.

Gepard

Hm... I did a system restore and now it works fine. Don't know why exactly this was, but I'm pretty sure it was because of the Comodo antivirus.
Drink up me 'arties! Yo ho!

SMF spam blocked by CleanTalk