コミュニティQ&A

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

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

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

0 支持
Hi all, I'm having an issue where occasionally I'll run a Waapi script and the UI won't refresh and I won't see my changes even if it correctly does what I scripted it to do. For example, if I generate play events from a selected object, it will not show the events generated until I close Wwise and reopen. After that it will work fine until it breaks again, usually in around 5-10 uses of the script. Also, I have noticed that when this happens, the asterisk next to the project name indicating that there are unsaved changes also won't go away after I save. If it matters, I've been using python as my language for the scripts.

Is there any way to force Wwise to refresh the UI when using a script? Would be nice to have start and stop UI refresh functions similar to how the undo blocks works if we don't have those already. This is functionality that I've seen used in reaper scripts that would be a nice addition to the API.
Alex B. (200 ポイント) General Discussion
To gather the full context, it'd be useful to fill in a Bug Report https://www.audiokinetic.com/library/edge/?source=InstallGuide&id=reporting_bugs

回答 1

+1 支持
Please note would normally automatically refresh when doing operations in WAAPI.

If it does not refresh, I see two possible reasons:
- non matching calls to ak.wwise.core.undo.beginGroup and ak.wwise.core.undo.endGroup, which could make Wwise think you are not finished with the operations, post-postponing the updates for later.
- a bug in Wwise (which case, we would like to see the script, and specifically which function you call)
Bernard R. (Audiokinetic) (35.8k ポイント)
As far as I'm aware the begin/end group calls are working properly as they are functionally working to actually undo/redo properly. I might be mistaken and not properly using them however as I'm pretty green to Waapi.

What is the best way to send my script over?
You can post a pastebin link if it's just a single script.
If you have a github account, you can also use the "gist" feature: https://gist.github.com/
https://pastebin.com/uvTNyqct

Here's the script. It's quite inconsistent with it not updating but it does happen pretty frequently.

I also was on 2021.1.5 and just upgraded to .6 so I've yet to test and see if the new update has made things easier
...