You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set default_listener_count to 2 and added two FmodListener2D nodes to the tree. One of them has listener_index = 0, the other has listener_index = 1. Both of them have a weight of 0.5 and are not locked.
After some debugging, I noticed that FmodServer.get_listener_transform2d(0) always returns a zero transform. FmodServer.get_object_attached_to_listener(0) returns some weird [Wrapped:0] object, and FmodServer.get_object_attached_to_listener(1) returns <Object#null>, so something seems to cause listeners[i].gameObj to become invalid.
Replacing these nodes with custom nodes and adding them manually using FmodServer.add_listener(0, self) in GDScript works.
Godot Version 4.4-dev
Addon Version: 5.0.0-4.3.0
The text was updated successfully, but these errors were encountered:
I have set
default_listener_count
to 2 and added two FmodListener2D nodes to the tree. One of them haslistener_index = 0
, the other haslistener_index = 1
. Both of them have a weight of 0.5 and are not locked.After some debugging, I noticed that
FmodServer.get_listener_transform2d(0)
always returns a zero transform.FmodServer.get_object_attached_to_listener(0)
returns some weird[Wrapped:0]
object, andFmodServer.get_object_attached_to_listener(1)
returns<Object#null>
, so something seems to causelisteners[i].gameObj
to become invalid.Replacing these nodes with custom nodes and adding them manually using
FmodServer.add_listener(0, self)
in GDScript works.Godot Version 4.4-dev
Addon Version: 5.0.0-4.3.0
The text was updated successfully, but these errors were encountered: