コミュニティQ&A

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

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

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

+2 支持
For the Unity integration it seems like Wwise should have an option to generate wwise_IDs.cs directly, either in place of or in addition to the c++ .h file. The current process that requires manually generating the .cs file with python script called from "Convert Wwise Soundbank IDs" seems error prone to setup and use.  Or am I missing something?
Chris C. (130 ポイント) Feature Requests
I have been wondering about this for quite some time too!
Also, I find that it generates and saves the file under StreamingAssets which means it isn't included in the code project. Surely the point of this is being able to include the file in the solution and access the IDs within? Or am I also missing something?
Agreed on this. This thread was a while ago but a simple change of being able to specify where the c# file is generated would be big.

It actually wasn't very hard to add some editor code to do this for us.

This is the last part that I added to the wwise convert script.

```
if (success)
        {
            int lastSlash = bankIdHeaderPath.LastIndexOf("/");

            string csharpFilePath = $"{bankIdHeaderPath.Substring(0, lastSlash)}/Wwise_IDs.cs";
            string unityFilePath = csharpFilePath.Substring(csharpFilePath.IndexOf("Assets"));
            string newLocation = "Assets/Scripts/Shared/WwiseIds.cs";

            AssetDatabase.MoveAsset(unityFilePath, newLocation);
        }
```

The success variable is a boolean that is set depending on whether the conversion was successful or not.

Please sign-in or register to answer this question.

...