SkyTemple/skytemple

KeyError when placing a non-vanilla actor in a scene

Closed this issue · 1 comments

Tested on both Linux (Mint) and Windows. HeckaBad has also pointed out that even if a species is changed in the actor list, it will still use the vanilla species, which is likely related.
Error log provided by Sergey:

SkyTemple 1.8.0 Error Report

Traceback (most recent call last):
  File "module\script\widget\ssa.py", line 972, in on_po_actor_kind_changed
KeyError: 386

I am unable to view error log details on Linux currently, but I have gotten something similar:

Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/skytemple/module/script/widget/ssa.py", line 972, in on_po_actor_kind_changed
    self.static_data.script_data.level_entities__by_id[kind_id]

Sentry Issue: SKYTEMPLE-2MA