You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When saving an environment's state and loading it afterwards again in the following way
state=env.get_state()
env=env.load_state(state)
triggered actions (i.e., actions with the Trigger definition) will not be recreated, i.e., they will not be triggered anymore.
To Reproduce I extended the proximity example with manual control (WASD for moving the spider, R for reloading the state) for testing. Also, the spider dies after some time if on fire (the environment is reset, if the spider dies).
To reproduce the bug, just run the main.py and hit the R key and move to the lava afterwards. The spider should not catch fire then.
Expected behavior
Triggered actions should be recreated after loading some environment's state. For the implemented example this would mean, that the spider should catch fire after reloading the state with the R key.
Desktop:
OS: linux
Version 1.7.0 (built from current source)
The text was updated successfully, but these errors were encountered:
When saving an environment's state and loading it afterwards again in the following way
triggered actions (i.e., actions with the
Trigger
definition) will not be recreated, i.e., they will not be triggered anymore.To Reproduce
I extended the proximity example with manual control (WASD for moving the spider, R for reloading the state) for testing. Also, the spider dies after some time if on fire (the environment is reset, if the spider dies).
To reproduce the bug, just run the
main.py
and hit the R key and move to the lava afterwards. The spider should not catch fire then.Expected behavior
Triggered actions should be recreated after loading some environment's state. For the implemented example this would mean, that the spider should catch fire after reloading the state with the R key.
Desktop:
The text was updated successfully, but these errors were encountered: