alessandrofama / wwise-godot-integration

Wwise Integration for the Godot Engine
Other
288 stars 14 forks source link

set_game_object_output_bus_volume not callable without listener object #96

Closed ChrAfonso closed 5 months ago

ChrAfonso commented 5 months ago

Wwise integration version

wwise-2023.1-for-godot-4.2-stable-2.0.4

System information

Linux

Issue description

AK::SoundEngine::SetGameObjectOutputBusVolume allows setting listener id to AK_INVALID_GAME_OBJECT to target all connected listeners.

set_game_object_output_bus_volume (wwise_gdextension.cpp:834) does not yet implement this - should this be added as a default parameter like e.g. in set_rtpc_value?

Steps to reproduce

Call set_game_object_output_bus_volume with listener = null. The game crashes with exit code 139.

Minimal reproduction project

N/A

alessandrofama commented 5 months ago

Good catch! As you said, this should be probably handled like set_rtpc_value. Thank you for opening this issue!