I'm sorry, but an uncaught exception occurred.
While loading the script.
File "game/gui.rpy", line 11, in script
File "game/gui.rpy", line 12, in
UnboundLocalError: cannot access local variable 'lastfn' where it is not associated with a value
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "game/gui.rpy", line 11, in script
File "renpy/ast.py", line 1187, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1273, in py_exec_bytecode
exec(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "game/gui.rpy", line 12, in
File "renpy/common/00gui.rpy", line 58, in init
layout.defaults()
~~~~~~~~~~~~~~~^^
File "renpy/common/00layout.rpy", line 144, in defaults
v()
~^^
File "renpy/common/00layout.rpy", line 338, in classic_joystick_preferences
renpy.load_module('_layout/classic_joystick_preferences')
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/exports/scriptexports.py", line 98, in load_module
initcode = renpy.game.script.load_module(name)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "renpy/script.py", line 482, in load_module
self.load_appropriate_file(".rpymc", [".rpym"], dir, fn, initcode)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/script.py", line 1072, in load_appropriate_file
raise Exception("Could not load file %s." % lastfn) # type: ignore
^^^^^^
UnboundLocalError: cannot access local variable 'lastfn' where it is not associated with a value
Windows-11-10.0.26200-SP0 AMD64
Ren'Py 8.5.3.26012501+nightly
From Aristocrat's Pet to Culinary Queen: Reigning Over Flavors and Forbidden Desires 1.01
Sat Feb 28 17:31:51 2026
이렇게 뜨면서 렌파이 게임이 창만뜨고 실행이 안되는데 해결방안이 있을까요?
