Sign me up for Team:

  • Alice

    Votes: 1,343 41.9%
  • Tim

    Votes: 450 14.1%
  • Tom

    Votes: 289 9.0%
  • Any or all of the above

    Votes: 1,120 35.0%

  • Total voters
    3,202

jhonatanw

Engaged Member
Jun 21, 2022
2,764
2,444
I'm having trouble loading the save

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/scripts/RP/script.rpy", line 12, in script call
File "game/scripts/FS/_misc.rpy", line 84, in script call
File "game/scripts/FS/afterLoad.rpy", line 3, in script
File "game/scripts/FS/afterLoad.rpy", line 3, in <module>
NameError: name 'tags' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/scripts/RP/script.rpy", line 12, in script call
File "game/scripts/FS/_misc.rpy", line 84, in script call
File "game/scripts/FS/afterLoad.rpy", line 3, in script
File "renpy/ast.py", line 823, in execute
File "renpy/python.py", line 1178, in py_exec_bytecode
File "game/scripts/FS/afterLoad.rpy", line 3, in <module>
NameError: name 'tags' is not defined
 

clowns234

Engaged Member
Game Developer
May 2, 2021
3,081
4,810
I'm having trouble loading the save

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/scripts/RP/script.rpy", line 12, in script call
File "game/scripts/FS/_misc.rpy", line 84, in script call
File "game/scripts/FS/afterLoad.rpy", line 3, in script
File "game/scripts/FS/afterLoad.rpy", line 3, in <module>
NameError: name 'tags' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/scripts/RP/script.rpy", line 12, in script call
File "game/scripts/FS/_misc.rpy", line 84, in script call
File "game/scripts/FS/afterLoad.rpy", line 3, in script
File "renpy/ast.py", line 823, in execute
File "renpy/python.py", line 1178, in py_exec_bytecode
File "game/scripts/FS/afterLoad.rpy", line 3, in <module>
NameError: name 'tags' is not defined
My guess would be that you are trying to load a save that is no longer valid.
'tags' is one of the first variables created in the game, and has been since version 0.05 or 0.06 (?)
 

jhonatanw

Engaged Member
Jun 21, 2022
2,764
2,444
My guess would be that you are trying to load a save that is no longer valid.
'tags' is one of the first variables created in the game, and has been since version 0.05 or 0.06 (?)
But I started from the beginning and I'm not even using the old save, all I had to do was save it and I can't always load the error.
 

clowns234

Engaged Member
Game Developer
May 2, 2021
3,081
4,810
But I started from the beginning and I'm not even using the old save, all I had to do was save it and I can't always load the error.
At what point in the game are you saving?

The variable 'tags' keeps track of all the stats, such as player choices (including name choice). It is one of the first variables set up in the game. When the game is reloaded from a save, the current version of the game is updated in tags[0], which is where your game is faulting. Stepping through the code, I see where saving before making a name choice could give you that error. If that is not the case, let me know and I will do what I can to figure it out.

Before saving, doing a <shift>O and then typing in tags <enter> will show you what's in the tags variable. If it exists when you save it, it should exist when you load it.
 
Last edited:
2.60 star(s) 25 Votes