Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

IndexError exception

A topic by Nerdy Vanilla created 68 days ago Views: 107 Replies: 2
Viewing posts 1 to 3
(+1)

After I meet a bad end, I get an exception.  Have been clicking on "Ignore" and starting a new game

```

I'm sorry, but an uncaught exception occurred.

While running game code:

IndexError: list index out of range

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

Full traceback:

  File "game/Main/base.rpyc", line 50, in script call

  File "game/Enemies/Paris.rpyc", line 7, in script call

  File "game/Main/base.rpyc", line 50, in script call


IndexError: list index out of range

macOS-14.8.4-arm64-arm-64bit arm64

Ren'Py 8.3.4.24120703

  2.00

Tue Mar 31 12:52:36 2026

```

Developer

Hmm… sorry Nerdy, I’m having a bit of trouble figuring out what’s causing it based on this report. Is that the full crash log?

Could you share a few more details? Does the crash happen at the base, when starting a new game, or during a bad ending? At what exact moment does it occur? And when did you first start noticing it?

Below is the full crash log. It happens after the bad ending at the Game Over screen. It seems to happen since I download the game and started playing. Same thing is happening when I download v2.05c

```

I'm sorry, but an uncaught exception occurred.

While running game code:

IndexError: list index out of range

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

Full traceback:

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Becky.rpyc", line 172, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Joanna.rpyc", line 133, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Tinky.rpyc", line 175, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Becky.rpyc", line 172, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Nerida.rpyc", line 142, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Joanna.rpyc", line 133, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Becky.rpyc", line 172, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/Enemies/Natasha.rpyc", line 102, in script call

  File "game/Main/base.rpyc", line 51, in script call

  File "game/script.rpyc", line 3030, in script

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/ast.py", line 2579, in execute

    Say.execute(self)

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/ast.py", line 621, in execute

    renpy.exports.say(who, what, *args, **kwargs)

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/exports/sayexports.py", line 132, in say

    who(what, *args, **kwargs)

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/character.py", line 1440, in __call__

    what = self.prefix_suffix("what", self.what_prefix, what, self.what_suffix)

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/character.py", line 1354, in prefix_suffix

    return (sub(prefix) + sub(body) + sub(suffix))

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/character.py", line 1334, in sub

    return renpy.substitutions.substitute(s, scope=scope, force=force, translate=translate)[0]

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/substitutions.py", line 373, in substitute

    s = interpolate(s, variables) # type: ignore

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/substitutions.py", line 86, in interpolate

    raise e

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/substitutions.py", line 78, in interpolate

    value = renpy.python.py_eval(code, {}, scope)

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/python.py", line 1209, in py_eval

    return py_eval_bytecode(code, globals, locals)

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/python.py", line 1202, in py_eval_bytecode

    return eval(bytecode, globals, locals)

  File "<none>", line 1, in <module>

  File "/private/var/folders/74/kykqp8w12z7dw13rxbnd2kzm0000gt/T/AppTranslocation/F41E1B42-F33F-4C5E-917E-2C5B76CDFF8B/d/HeroCorruption2.app/Contents/Resources/autorun/renpy/revertable.py", line 214, in __getitem__

    rv = list.__getitem__(self, index)

IndexError: list index out of range

macOS-14.8.4-arm64-arm-64bit arm64

Ren'Py 8.3.4.24120703

  2.05

Thu Apr  2 13:10:05 2026

```