alessandrofama / wwise-godot-integration

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

Error integrating Wwise - AK_InvalidID #93

Closed StereoMono32 closed 6 months ago

StereoMono32 commented 7 months ago

Wwise integration version

Wwise 2023.1 for Godot 4.2 v2.0.4

System information

windows10

Issue description

Please let me provide some screenshots of the issue first. image

· The Wwise version is 2023.1.0.8367. · The Godot version is 4.2.1. I have followed the steps in the wiki to the ‘post event’ stage, but when running the Godot project, I encountered the following error: E 0:00:00:0946 push_error: [AK_InvalidID]: godot::Wwise::post_event_id in src\wwise_gdextension.cpp:542. Failed to post Event with ID: 2678880713 on Game Object: 27430749415. While reviewing someone else’s topic, I discovered that this might be a soundbank generation issue. However, I have ensured that the soundbank has been generated in the correct location.

The number of the fire event in the BaseSoundbank.txt file is also correct.

Here are some other screenshots to help you check things out. image image Finally, I’d like to mention that I am not a native English speaker, and my English proficiency is not as high. So, if there’s anything unclear in my expression or if I unintentionally offended you, please kindly point it out later.

Steps to reproduce

Because I currently don’t know how this error occurred, I can only list some of the solutions I’ve tried:

  1. Change the Wwise version from 2023.1.8417 to 2023.1.0.8367.
  2. Start a new project(tried both Wwise and Godot) But the issue has not been resolved yet.

Minimal reproduction project

N/A

StereoMono32 commented 7 months ago

I apologize for making a foolish mistake. It seems I need to load init bank first to proceed with the subsequent steps, but I forgot about this.