社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

0 投票
Hi Audiokinetic!

I've been using Wwise on my latest game for a month now and I realised that when I build the game and try to play it, there is no audio at all.

When I play the game within unity all the audio is working and it sounds awesome.

But as soon as I build and play, there is no audio.

Any ideas?

Thanks!

 

Arnaud
分类:General Discussion | 用户: Arnaud B. (310 分)

2 个回答

+1 投票
Hi,

I've got the same issue, I think it's linked to the settings of the build, in the menu File/Build Settings, try to set Architecture to x86 instead of x86_64.

SeB
用户: SeB (380 分)
Hi SeB

Thanks for the answer. My settings were already on x86, so I tried all of the different settings and still no sound.
What I did do now was get a debug log in game (not sure what I didn't think of this before). The error I get on game start is  "DllNotFoundExeption" and it's pointing the finger at "AkSoundEngine".

Any ideas? I've found online that the error sometimes means that the file relies on other dlls, so maybe AkSoundEngine relies on another dll that I haven't imported?

Thanks for the help.

AB
Have you installed the plugins from Unity ?
I mean going to Wwise/Install Plugins/Windows/Win32/Profile, it will install the proper dll in your unity assets folder.
And after this try to rebuild the game ?
is it working ?
Yes I have. Still nothing... I'm running Mac btw.
I'm running out of ideas.
Thanks for the help so far!
Okay, problem is solved. I reinstalled the integration and all the plugins.
It didn't work at first, but then I had to drag the soundbank into my asset folder for it to work. I thought wwise was doing that automatically.
Anyway, thanks!
I have the same problem but your solution did not work for me. Uninstalling the integration causes a whole mess of errors and re-importing the package has errors of duplication and inaccessibility.
+1 投票
 
已采纳

Regarding the copying of soundbanks when building, if you support only one platform for your game, you could generate your banks straight in the StreamingAssets folder by changing the SoundBank path in the Project Properties in you Wwise project.

If you support multiple platforms, you need to write a pipeline build script (or use the sample we provide).  Please read more about the subject in the help file, section "Build for target platform".

用户: Mathieu J. (Audiokinetic) (7.1k 分)
采纳于 用户:Mathieu J. (Audiokinetic)
Thanks Mathieu.
Makes a lot more sense now that it's all clear.

Arnaud
...