コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

I'm having trouble getting events to post and for Event IDs to be found in the Unity Gyms.

Here are the steps I took:

  1. Clone the Gyms repository
  2. Make sure the 24.1 branch is checked out
  3. Integrate Wwise into the Unity project
  4. Run the .command file (I needed to make it executable first with chmod +x [file path])
  5. Add Mac platform to Wwise
  6. Confirm that Wwise SoundBanks folder location was pointing to the appropriate folder in the Unity project (..\Unity\Assets\StreamingAssets\Audio\GeneratedSoundBanks)
  7. Build SoundBanks

I have already watched the WUOA video going over Unity gyms, Getting Started with Wwise Gyms, and followed the instructions on the Gyms repository.

At first, since the Gyms github page says "The latest three Unity™ LTS versions" are supported, I tried using Unity 6000.0.45f1 (since this was the latest Unity version tested with 24.1.5 – this links to 24.1.6, but it said the same thing when there were 24.1.5 docs), but there were several missing components and way too many errors, so I installed the version the Unity project appeared to be made with, 2021.3.29f1.

When I have Enable Auto-Defined Soundbanks unchecked in Wwise, I get this error when turning on the button in the EssentialAmbient scene:

Wwise: Event ID not found Name: 2932565050 GO: Cylinder (Instance ID: 25930)

UnityEngine.Debug:LogError (object)

AkCallbackManager:PostCallbacks () (at Assets/Wwise/API/Runtime/Handwritten/Common/AkCallbackManager.cs:447)

AkSoundEngineController:LateUpdate () (at Assets/Wwise/MonoBehaviour/Runtime/AkSoundEngineController.cs:84)

UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:356)

And when turning it off:

Wwise: Event ID not found Name: 2932565050 GO: 25930

UnityEngine.Debug:LogError (object)

AkCallbackManager:PostCallbacks () (at Assets/Wwise/API/Runtime/Handwritten/Common/AkCallbackManager.cs:447)

AkSoundEngineController:LateUpdate () (at Assets/Wwise/MonoBehaviour/Runtime/AkSoundEngineController.cs:84)

AkInitializer:LateUpdate () (at Assets/Wwise/MonoBehaviour/Runtime/AkInitializer.cs:241)

When I have Enable Auto-Defined Soundbanks checked, it complains that I should uncheck "Is in User-Defined SoundBanks" in the AkAmbient component, but that option is grayed-out, so I can't. Briefly looking through the Wwise project soundbanks, the Ambient_Event doesn't appear to be in User-Defined SoundBanks. Here are those errors:

Post Event failed. If working with Autobanks, make sure that the "Is In User Defined SoundBank" setting is properly unchecked. If working with User Defined Soundbanks, make sure to add an AkBank Component.

UnityEngine.Debug:LogError (object)

AK.Wwise.Event:Post (UnityEngine.GameObject) (at Assets/Wwise/API/Runtime/WwiseTypes/WwiseTypes/AkWwiseEvent.cs:81)

EssentialAmbient_Interact:OnAction () (at Assets/Gyms/1-Essential/EssentialAmbient/EssentialAmbient_Interact.cs:34)

OnOffManager:Interact () (at Assets/Gyms/OnOffManager.cs:45)

UnityEngine.Events.UnityEvent:Invoke ()

ButtonOnOff:Interact () (at Assets/Common/Scripts/Interaction/ButtonOnOff.cs:51)

UnityEngine.Events.UnityEvent:Invoke ()

ButtonProximityInteraction:Update () (at Assets/Common/Scripts/Interaction/ButtonProximityInteraction.cs:61)

WwiseUnity: Could not post event (name: Ambient_Event, ID: 2932565050). Please make sure to load or rebuild the appropriate SoundBank by adding the AkBank Component if working with UserDefinedSoundbank or unchecking the IsInUserDefinedSoundbank checkbox from the Ak.Wwise.Event if working with AutoBanks.

UnityEngine.Debug:LogError (object)

AK.Wwise.Event:VerifyPlayingID (uint) (at Assets/Wwise/API/Runtime/WwiseTypes/WwiseTypes/AkWwiseEvent.cs:50)

AK.Wwise.Event:Post (UnityEngine.GameObject) (at Assets/Wwise/API/Runtime/WwiseTypes/WwiseTypes/AkWwiseEvent.cs:83)

EssentialAmbient_Interact:OnAction () (at Assets/Gyms/1-Essential/EssentialAmbient/EssentialAmbient_Interact.cs:34)

OnOffManager:Interact () (at Assets/Gyms/OnOffManager.cs:45)

UnityEngine.Events.UnityEvent:Invoke ()

ButtonOnOff:Interact () (at Assets/Common/Scripts/Interaction/ButtonOnOff.cs:51)

UnityEngine.Events.UnityEvent:Invoke ()

ButtonProximityInteraction:Update () (at Assets/Common/Scripts/Interaction/ButtonProximityInteraction.cs:61)

I get tons of warnings, but I figure the thing would at least run without errors. Let me know if you need more info!

Wwise: 2024.1.5.8803

Unity: 2021.3.29f1

OS: macOS Ventura 13.7.5

Edit: Sorry about the formatting – the post looks completely different from how I was editing it

Alex C. (130 ポイント) General Discussion

Please sign-in or register to answer this question.

...