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

Invalid operands 'Nil' and 'String' in operator '+'. #1

Open
ghost opened this issue May 15, 2024 · 0 comments
Open

Invalid operands 'Nil' and 'String' in operator '+'. #1

ghost opened this issue May 15, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented May 15, 2024

res://addons/ez_sound/ez_sound.gd:64 - at function: play_sfx

Even though I have setup the sounds folder and assigned its dir,
dir = ProjectSettings.get_setting(USER_SETTING_PATH, null) always returns null.

Every time I also restart godot the dir gets wiped and I have to reassign it.

I managed to get it working by just replacing
dir = ProjectSettings.get_setting(USER_SETTING_PATH, null) with
dir = "res://sounds/" (/sounds being my folder)

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

0 participants