Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load addon script from path #174

Open
stevenpi opened this issue Nov 8, 2023 · 1 comment
Open

Unable to load addon script from path #174

stevenpi opened this issue Nov 8, 2023 · 1 comment

Comments

@stevenpi
Copy link

stevenpi commented Nov 8, 2023

Hey there, I tried to setup the project following the steps provided in the docs.
Unfortunately, I'm running into some problems/confusion.
I run Godot 4.1.1 on windows, therefore I downloaded the newest release and extracted the addons folder to my projects addons folder.
After that, the documentation states that I have to copy the fmodlibraries to res://addons/fmod/libs/windows/, since the repository can not provide the libraries.
So I installed the fmod engine api, and wanted to copy the fmod libraries, but I saw that fmod.dll & fmodstudio.dll files are already present.
Do I still have to replace the libraries, or am I trying to copy the fmod libraries to the wrong location?
Also when I try to enable the plugin, godot returns the following error:

Unable to load addon script from path: 'res://addons/fmod/FmodPlugin.gd'. This might be due to a code error in that script. Disabling the addon at 'res://addons/fmod/plugin.cfg' to prevent further errors.

What do I need to do?

@CedNaru
Copy link
Member

CedNaru commented Nov 9, 2023

Hello,
It's a mistake of our part, you don't need to download and install the dynamic libraries yourself anymore. We forgot to remove that part from the documentation.

Regarding your error, the plugin has been built for Godot 4.1.2, so it's the minimum version you need to run if you want to use it.
If I try to use the plugin with Godot 4.1.1, I get the following error:
godot-cpp\src\godot.cpp:263 - Cannot load a GDExtension built for Godot 4.1.2 using an older version of Godot (4.1.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants