edbeeching / godot_rl_agents_examples

Example Environments for the Godot RL Agents library
MIT License
37 stars 13 forks source link

FPS project crashing when launched #5

Closed alexpalms closed 1 year ago

alexpalms commented 1 year ago

Description: The FPS game is not able to run, it crashes at this line: https://github.com/edbeeching/godot_rl_agents_examples/blob/5e064c9b7ca619fdee3e69daa16b8c5b31760bb2/examples/FPS/main.gd#L21

image

with the following output messages: image

Expected behavior: Launch the selected game

Steps to reproduce:

Environment info:

Additional info:

"This can be a great benefit on more complex environments, like the multi-player FPS we will learn about in the next chapter."

but was not able to find the mentioned chapter.

alexpalms commented 1 year ago

In addition, I also tried what is described here: https://github.com/edbeeching/godot_rl_agents#quickstart-guide

and more precisely:

But it crashes too, with a different error, as shown by the next image:

image

edbeeching commented 1 year ago

Hi thanks for reporting this issue. It appears that some of the IK nodes were changed between Godot 4 beta 14 and Godot 4 stable. I just updated the example, there is still something funky going on with the animations, but it should run now. Let me know of any further issues.

alexpalms commented 1 year ago

Pulling solved the issue, thanks.