La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

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";

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

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

1 Réponse

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.
par R.A. (150 points)
...