Hello. I've run into an odd error. When I try and finish the game it comes up with this:
CODE: SELECT ALL
I'm sorry, but an uncaught exception occurred.
While running game code:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 120, in script
return
Exception: Could not find return label (u'game/script.rpy', 1595482289, 16).
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00start.rpy", line 120, in script
return
File "C:\Users\João\Desktop\Ren'py\renpy-7.1.3-sdk\renpy\ast.py", line 1470, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "C:\Users\João\Desktop\Ren'py\renpy-7.1.3-sdk\renpy\execution.py", line 664, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'game/script.rpy', 1595482289, 16).
Windows-8-6.2.9200
Ren'Py 7.1.3.1092
KZ A Holocaust Tale DEMO 1.0
Thu Jul 23 02:40:25 2020
I have no idea how to solve this by my own, i will need your help.
Could not find return label
Forum rules
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.
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.
-
hemspekilegur
- Newbie
- Posts: 8
- Joined: Mon May 28, 2018 7:56 pm
- Soundcloud: hemspekilegur
- itch: hemspekilegur
- Location: Georgia, USA
- Contact:
Re: Could not find return label
I'm also a beginner with ren'py so this could be totally off but do you have a label at the end of your script. Is it alligned with and all other endings to your script. This could be totally unrelated but is worth checking since the error message says "could not find return label", it's definitely where I would start.
Code: Select all
return Code: Select all
label start: - AlexNumbers
- Newbie
- Posts: 13
- Joined: Sat May 11, 2019 11:11 am
- Projects: Treis Zoes, Eyepieces' glares
- Organization: FlyingFantasy Team
- Location: Russian Federation, Kogalym
- Contact:
Re: Could not find return label
You may find something here
Or try to delete all the save files in the game directory. The old saves may cause the problem if you changed your code
Or try to delete all the save files in the game directory. The old saves may cause the problem if you changed your code
«The sun has escaped from my realm.
No. I sent it away.
My world is too perfect for it.
Green lightnings will light up my world».
(Ifest)
No. I sent it away.
My world is too perfect for it.
Green lightnings will light up my world».
(Ifest)
Who is online
Users browsing this forum: Google [Bot]
