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?
Do you have AVAST? Or Win10? Or both?
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?
Try creating a new game, just one room and place a character in room. try running game. Does it react the same?
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.
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.