Comments (8)
As we reworked the plugin with gdextension, I think we can close this.
from fmod-gdextension.
Hello,
Can you provide an example of the script you used to get this error?
from fmod-gdextension.
extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
Fmod.set_software_format(0, Fmod.FMOD_SPEAKERMODE_STEREO, 0)
Fmod.init(1024, Fmod.FMOD_STUDIO_INIT_LIVEUPDATE, Fmod.FMOD_INIT_NORMAL)
Fmod.load_bank("res://Master.bank", Fmod.FMOD_STUDIO_LOAD_BANK_NORMAL)
Fmod.load_bank("res://Master.strings.bank", Fmod.FMOD_STUDIO_LOAD_BANK_NORMAL)
Fmod.load_bank("res://Music.bank", Fmod.FMOD_STUDIO_LOAD_BANK_NORMAL)
var event = Fmod.create_event_instance("event:/1stage")
Fmod.add_listener(0, self)
Fmod.start_event(event)
from fmod-gdextension.
sure, it's in previous comment
from fmod-gdextension.
Does the error start immediately when you play the event or when it is supposed to end?
from fmod-gdextension.
It starts while calling Fmod.start_event(event)
from fmod-gdextension.
Having the same problem, on create_event_instance() even without start_event(). play_one_shot() doesn't throw errors but also doesn't play the sound.
EDIT: I did not realize master.strings.bank had to be loaded before everything else. Doing this fixed the issue for me.
from fmod-gdextension.
Yeah, loading this bank first is a necessity of FMOD. There is nothing we can do about this one but I guess we should made clearer in the doc.
Concerning the original issue, this seems to be also the case. I should try to find a way to warn users that particular case.
from fmod-gdextension.
Related Issues (20)
- Is there a way to set an FMOD event parameter by label HOT 3
- FmodEventEmitter3D only sets local position in Fmod
- 3D directional audio is backwards
- Godot 4.2 - Could not find type "FmodNative" HOT 4
- Missing Info.plist for MacOS frameworks
- Silent crash when using low level api for playing one shots on Linux HOT 1
- Bug Report: Plugin does not work in Android Debug Builds
- push_error: The requested event, parameter, bus or vca could not be found HOT 3
- Cannot change parameters on FMOD events HOT 3
- How to handle warning "No listeners are set!" HOT 9
- Odd "nonexistent function" error only in macOS export HOT 3
- How to reimport bank files HOT 1
- Warning message in Godot console [resource_format_text.cpp] HOT 1
- Plugin fails to load in Godot v4.3.beta2.official due to Parse Error HOT 3
- Event can't be found, followed by crash when calling create_event_instance(...) HOT 8
- Support for discrete and labeled parameters HOT 1
- OLD VERSION: Cannot put scripts onto FmodEventEmitter2D's that call the play() function. HOT 1
- Live Update can connect to the editor instead of the game
- MacOS export Info.plist missing or invalid
- "Could not find base class 'FmodEditorExportPlugin'" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmod-gdextension.