Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: tbook on Sun 12/11/2023 18:13:33

Title: An unexpected error occured
Post by: tbook on Sun 12/11/2023 18:13:33
Can't run the program :(

https://imgur.com/a/szpmZml (https://imgur.com/a/szpmZml)

I tried downloading the latest version from the site - it gives the same error.

I've seen some people solve it by installing Visual C++ but it didn't help in my case.



Title: Re: An unexpected error occured
Post by: Crimson Wizard on Sun 12/11/2023 19:40:27
Please tell, which version have you run? This problem was supposed to be fixed in the past, I'd like to know if still present in the newer ones.

The workaround for this was to go to the location printed in the error message and delete "user.config" file by hand.

EDIT: apparently this was not fully fixed in 3.5.1, it's still possible to cause this error in 3.6.0 and 3.6.1.
Title: Re: An unexpected error occured
Post by: Khris on Sun 12/11/2023 19:42:51
The third line contains the location of the user.config file. Delete this file, then try again.
(It is not vital at all, it just contains a few basic settings and a list of previously opened AGS games).

If that does not fix it, you can also try deleting the entire C:\Users\user\AppData\Local\AGS folder.

(https://i.imgur.com/8wtYE6f.png)