niklas2902 / py4godot

Python scripting for Godot. This GDExtension plugin allows you to use Python like GDScript, accessing the Godot engine's features and benefiting from Python's vast ecosystem.
MIT License
64 stars 7 forks source link

Unable to load addon script from path: 'res://addons/py4godot/py4godot.gd'. #78

Open Manik2607 opened 3 weeks ago

Manik2607 commented 3 weeks ago

got this error while enabling the extension.

Manik2607 commented 3 weeks ago

its turned off but its working. is this intended?

niklas2902 commented 3 weeks ago

Hey, thanks for reporting this. This is actually a failed experiment. I will remove this in later versions. Is this a problem? Would it be useful to turn it on and off like that?

Manik2607 commented 3 weeks ago

Hey, thanks for reporting this. This is actually a failed experiment. I will remove this in later versions. Is this a problem? Would it be useful to turn it on and off like that?

Generally you turn on extensions to use them I was also trying to do that. But if it's possible to remove thate check box you should do it. Or mention that turning on extension is not important.

JakeTurnick commented 2 days ago

Just finding this discussion - Does this mean the extension doesn't have to be enabled to work? I had the same issue using the Godot AssetLib to install but couldn't activate.

Side question - does this addon make Godot recognize .py files across the whol project?

niklas2902 commented 2 days ago

Hey, yes, the plugin should work immediatly and recognize .py files accross the whole project. It might be, that after the first time downloading and installing, you have to close and reopen the editor. But afterwards it should work. Do you have trouble with getting it to work?

JakeTurnick commented 2 days ago

Yes the asset lib install works! Maybe a note saying you don't need to enable it in the plugins menu is worth adding to the top of the description - avoids confusion with Godot convention on plugins.

niklas2902 commented 2 days ago

Yes, that's a good point. Thank you for your feedback