Skip to main content

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

I try loading a few save and they keep telling me this....

[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/scripts/utility/after_load.rpy", line 166, in <module>

AttributeError: 'Player' object has no attribute 'obtain'

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

Full traceback:

  File "town1_events4.rpyc", line 8707, in script call

  File "scripts/utility/after_load.rpyc", line 56, in script call

  File "scripts/utility/after_load.rpyc", line 70, in script

  File "renpy/ast.py", line 923, in execute

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

  File "renpy/python.py", line 2235, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "game/scripts/utility/after_load.rpy", line 166, in <module>

AttributeError: 'Player' object has no attribute 'obtain'

Windows-10-10.0.19041

Ren'Py 7.4.8.1895

Killigan's Treasure 0.21b

Tue Nov  2 10:51:03 2021

[/code]

(1 edit)

This seems to be either one of two things: you are rolling back after loading an old save on the new build (this can cause issues like the error you posted) OR some unforeseen error occurred during the new update installation process (if so, delete the latest build and try installing it again (your saves will be preserved)).

Update: Turns out it's an issue with old variables, will be addressed in a hotfix soon.

(2 edits)

It seems happen since Aris day5 save.

More precisely, it happen in the saves after choosing which underwear is stolen. After a quick skim, It seems the story has no more stealing underwear event.

I can confirm to you this is a bug in the code. I just made a mistake in the update function. There should be a hotfix out soon though that resolves the issue. Thank you for reporting this.