Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Editor fails to load banks due to localized audio tables #1

Closed
MadFlyFish opened this issue Mar 11, 2023 · 9 comments
Closed

Editor fails to load banks due to localized audio tables #1

MadFlyFish opened this issue Mar 11, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@MadFlyFish
Copy link

MadFlyFish commented Mar 11, 2023

It seems that the bank path setting is all right but still fails to load the banks

system: window 11 pro
version: godot 4.0 stable

image
image
image

@alessandrofama
Copy link
Owner

I can check this on Monday.
Is there any way you could share your project with me? That would make it easier to debug. Thank you!
I can see the warning Property not found: [...] which means there is something wrong with the project settings.

@haochen-zeng
Copy link

I tried to edit the build path on FMOD studio and build the banks, and the path is changed, and although that changed path exists, the banks can't be loaded. But if you restart the project in Godot after saving the changed project settings, the changes made to the bank path and the folder structure would not lead to the fail shown on loading banks.

你这个问题因该是改了bank path,点了refresh project没成功差不多的原因。我刚刚也遇到了;改完project setting重启一下,再refresh project就可以了。

@MadFlyFish
Copy link
Author

I tried to edit the build path on FMOD studio and build the banks, and the path is changed, and although that changed path exists, the banks can't be loaded. But if you restart the project in Godot after saving the changed project settings, the changes made to the bank path and the folder structure would not lead to the fail shown on loading banks.

你这个问题因该是改了bank path,点了refresh project没成功差不多的原因。我刚刚也遇到了;改完project setting重启一下,再refresh project就可以了。

Thanks. I will keep an eye on that use case and see if I can reproduce.

@surfacedfox
Copy link

surfacedfox commented Mar 14, 2023

Issue continues, but without the aforementioned Property not found warning. Console readout:

WARNING: [FMOD] Failed to get icon: 0
     at: push_warning (core/variant/variant_utility.cpp:914)
ERROR: Condition "!EditorSettings::get_singleton() || !EditorSettings::get_singleton()->has_setting(p_setting)" is true. Returning: Variant()
   at: _EDITOR_GET (editor/editor_settings.cpp:1101)
ERROR: Condition "!EditorSettings::get_singleton() || !EditorSettings::get_singleton()->has_setting(p_setting)" is true. Returning: Variant()
   at: _EDITOR_GET (editor/editor_settings.cpp:1101)
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:70)
[FMOD] Initialized Editor System
[FMOD] Loading Editor Banks
WARNING: [FMOD] Failed to load editor banks. Please verify that the banks path location in the Project Settings is correct. Refresh the project afterwards.
     at: push_warning (core/variant/variant_utility.cpp:914)```

@alessandrofama
Copy link
Owner

alessandrofama commented Mar 14, 2023

How do your banks look like? Can you share a screenshot of your banks?
Do you use localized audio tables/banks by chance? I haven't been able to reproduce this yet, but I haven't tested localized banks.
If yes, can you try to remove the localized versions of your banks and try to load the project again? Might be an issue with that.

@surfacedfox
Copy link

surfacedfox commented Mar 14, 2023

Nope, I don't use localised audio tables or banks. My test project has one single event.
image
image

Additionally, it seems like the plugin is able to recognize the project that the banks belong to:
image

@surfacedfox
Copy link

Alright, for me it was the fact that I was using plugins. Using the built-in spatializer fixed it.

@alessandrofama alessandrofama changed the title Failed to load banks. Editor fails to load banks due to localized audio tables Mar 16, 2023
@alessandrofama alessandrofama added the bug Something isn't working label Mar 16, 2023
@alessandrofama
Copy link
Owner

I haven’t worked on a solution yet, but I can reproduce the problem so it should be fixable. The only workaround right now is avoiding using localized audio tables. The demo project that ships with FMOD Studio unfortunately won‘t work due to this unless you delete the additional localized dialogue banks.

@alessandrofama
Copy link
Owner

This should be fixed by #13.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants