error 161

  • #1, by smac96Monday, 14. August 2017, 14:55 7 years ago
    After some minor changes, the game crashes very often and on the messages.log file I found this:

    14:52:36: Error: can't open file '\\\\\\\Program Files (x86)\Steam\steamapps\common\game\game.vis' (error 161: percorso specificato non valido.)

    What is the error 161?

    Newbie

    97 Posts


  • #2, by sebastianMonday, 14. August 2017, 16:33 7 years ago
    After some minor changes, the game crashes very often and on the messages.log file I found this:

    14:52:36: Error: can't open file '\\\\\\\Program Files (x86)\Steam\steamapps\common\game\game.vis' (error 161: percorso specificato non valido.)

    What is the error 161?
    its an invalid path. I guess these massive \\\\\ are wrong for windows. There needs to be a drive (C:/ mostly) for windows.
    Anywhere in your game you are pointing to this file but it seems with a wrong or invalid path to it.

    Thread Captain

    2346 Posts

  • #3, by smac96Monday, 14. August 2017, 22:09 7 years ago
    Thanks for the answer!

    But once the build is done and the .vis is created in which case can this error happen?

    Newbie

    97 Posts

  • #4, by sebastianTuesday, 15. August 2017, 12:05 7 years ago
    Does this error only occour with a built game? What about when running directly from the editor?

    Thread Captain

    2346 Posts

  • #5, by smac96Tuesday, 15. August 2017, 14:03 7 years ago
    The error occur only with a built game.

    It also seems to be completely random sometimes.

    Newbie

    97 Posts

  • #6, by SimonSFriday, 18. August 2017, 14:34 7 years ago
    What is in the config.ini ?

    Thread Captain

    1580 Posts

  • #7, by smac96Friday, 18. August 2017, 14:45 7 years ago
    FILE = gamename.vis
    FULLSCREEN = yes
    RESOLUTION = auto
    LANGUAGE = English
    LOGLEVEL = error

    Newbie

    97 Posts

  • #8, by SimonSFriday, 18. August 2017, 14:47 7 years ago
    Is the vis file named gamename.vis ? Set loglevel to info, maybe we get more insight this way.

    Thread Captain

    1580 Posts

  • #9, by smac96Friday, 18. August 2017, 14:48 7 years ago
    Is the vis file named gamename.vis ? Set loglevel to info, maybe we get more insight this way.

    Yes... (of course it has the real name of the game and it is the same of the .vis file)

    Anyway, I did another build and in this new one I have no more errors. The funny thing is that I changed nothing at all.

    Another thing: in the old build sometime when I launch the game there were some graphical glitches (the characters disappear randomly, the texts aren't shown, ...).

    Do you think it can happen that sometime the build is "bad" for some reason?

    Newbie

    97 Posts