Skip to content

KeyError: 4132 #211

Description

@XXS122

File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\bot_ai_internal.py", line 277, in _abilities_count_and_build_progress
for order in unit.orders:
File "D:\anaconda\envs\textcraft\lib\functools.py", line 981, in get
val = self.func(instance)
File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\unit.py", line 1029, in orders
return [UnitOrder.from_proto(order, self._bot_object) for order in self._proto.orders]
File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\unit.py", line 1029, in
return [UnitOrder.from_proto(order, self._bot_object) for order in self._proto.orders]
File "D:\anaconda\envs\textcraft\lib\site-packages\sc2\unit.py", line 96, in from_proto
ability=bot_object.game_data.abilities[proto.ability_id],
KeyError: 4132

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions