godot-python
godot-python copied to clipboard
I do not see the .py files in the pong example.
When loading the example project I also get this error:
Scene 'res://paddle.tscn' has broken dependencies:
res://paddle.py::Script
The error changes, last time it was ball.py This happens on MAC with godot installed via Steam (3.0.6) and PythonPyPy installed via AssetLib. The pong example I had to download from Github tho, as I could not find it anywhere.
I have the same issue using Godot 3.1.alpha and the CPython backend from the AssetLib.
At: scene/resources/scene_format_text.cpp:174.
ERROR: _load: No loader found for resource: res://pong.py
At: core/io/resource_loader.cpp:190.
WARNING: _parse_ext_resource: Couldn't load external resource: res://pong.py
At: scene/resources/scene_format_text.cpp:174.
Same for the other python scripts.
Hi there,
I've been able to reproduce this error when godot is not started from the project directory (building godot from last master):
$ cd ~/projects/godot-python/examples/pong
$ ~/projects/godot/bin/godot.x11.tools.64
<everything goes as expected>
vs
$ cd ~/projects/godot-python/examples
$ ~/projects/godot/bin/godot.x11.tools.64 -path pong
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
ERROR: _load: No loader found for resource: res://pong
At: core/io/resource_loader.cpp:190.
ERROR: start: Failed loading scene: res://pong
At: main/main.cpp:1678.
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:2081.
So I'm kind of thinking it's more a godot error, what do you think ?
Thank you. This workaround works for me too. (3.1.alpha.custom_build.9af72f0) Yes, it could be a Godot error.