Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello, I encountered this bug while im fighting the doppleganger in the trial, can you tell me what is the bug?


```

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 1 more time]

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 2 more times]

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 1 more time]

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 1 more time]

  File "game/scripts/adventuring/battle.rpy", line 2484, in script

    $ renpy_pause(0.5)

  File "game/scripts/adventuring/battle.rpy", line 2484, in <module>

    $ renpy_pause(0.5)

  File "game/scripts/adventuring/adventuring.rpy", line 16, in renpy_pause

    renpy.pause(delay * fast_mode_mod(), hard=hard, modal=modal)

Exception: ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?

Stack was <Layer: 'transient'>

<Many: <renpy.display.layout.Fixed object at 0x00000000166d4e80>>

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

Full traceback:

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 1 more time]

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 2 more times]

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 1 more time]

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2507, in script call

    $ adventure.battle.next_unit_turn_start()

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  File "game/scripts/adventuring/battle.rpy", line 2510, in script call

    call screen adventure_screen(adventure)

  [Previous line repeated 1 more time]

  File "game/scripts/adventuring/battle.rpy", line 2484, in script

    $ renpy_pause(0.5)

  File "E:\Adventurer trainer\adventurer_trainer.0.2.3b-0.2.3b-pc\renpy\ast.py", line 1138, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "E:\Adventurer trainer\adventurer_trainer.0.2.3b-0.2.3b-pc\renpy\python.py", line 1130, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "game/scripts/adventuring/battle.rpy", line 2484, in <module>

    $ renpy_pause(0.5)

  File "game/scripts/adventuring/adventuring.rpy", line 16, in renpy_pause

    renpy.pause(delay * fast_mode_mod(), hard=hard, modal=modal)

  File "E:\Adventurer trainer\adventurer_trainer.0.2.3b-0.2.3b-pc\renpy\exports.py", line 1641, in pause

    rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay, pause_modal=modal)

  File "E:\Adventurer trainer\adventurer_trainer.0.2.3b-0.2.3b-pc\renpy\ui.py", line 293, in interact

    raise Exception("ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?\nStack was " + ('\n'.join([str(item) for item in stack])))

Exception: ui.interact called with non-empty widget/layer stack. Did you forget a ui.close() somewhere?

Stack was <Layer: 'transient'>

<Many: <renpy.display.layout.Fixed object at 0x00000000166d4e80>>

Windows-10-10.0.26200 AMD64

Ren'Py 8.1.2-Pastry0.7

Adventurer Trainer 0.2.3b 0.2.3b

Fri Jun 26 19:59:06 2026

```

Not sure what the root cause for this is. Seems related to doppelgangers specifically, I will have to investigate. Thanks for the report!

I think i was playing with the challenge that let them avoid a death blow, but like i got an all put attack, which force their hp down to 0? Idk

Also i got another bug that wont result in an error screen, but it like when my teamate attack doppelganger Darkness, she was having reflect dmg on, so they died.  But then the doppleganger use intimidation on my already dead teamate, so the game just cannot progress with a error mark on the top left of the screen. I didnt take a screenshot tho sorry.

Got it, will take a look. Thank you for all the details!