This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "renpy/common/00voice.rpy", line 360, in voice_interact
NameError: global name '_menu' is not defined
I have no idea what to do! I have a backup file but I will lose six hours of work so I’d prefer to fix this exception if I can! Very grateful for any advice people can give me.
- Lemma-Class Veteran
- Posts: 3408
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
This particular error is usually caused by duplicate label names or using a variable that shares its name with a label.
I'd suggest double-checking your label names are all unique.
- Eileen-Class Veteran
- Posts: 1592
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
Perhaps, just in case, look through your code and just check you do not have duplicate label / menu names.
Other than that, what were you actually changing in your code before getting the error?
I could not find anything that I considered an exact duplication in the new label that caused the crash, but I reworked it until it behaved itself.
I appreciate your advice!