Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
使用版本

Unity版本 2020.1.16f1

wwise 2012.1.0.7575.2069

使用AkSoundEngine.SetBasePath( bankPath )加载SoundBank,

路径为 StreamingAssets/Audio/GeneratedSoundBanks/Android/

SetBasePath返回错误代码

AK_PathNotFound

在Unity编译器中正常加载SoundBank,但是编辑到安卓手机中一直出现

AK_PathNotFound错误

SoundBank已经确定存在于 StreamingAssets/Audio/GeneratedSoundBanks/Android/

路径中,且安卓加载路径为

"jar:file://" + Application.dataPath + "!/assets/" + "SoundbanksInfo.xml";

但是依然在安卓实机中出现路径为找到的错误

请问此问题如何解决呢
in Feature Requests by yangzhi w. (100 points)

1 Answer

0 votes
I think you can already use Application.streamingAssetsPath, and also I've noticed recently that SetBasePath and AddBasePath behave differently, maybe try both.
by R.A. (150 points)
...