在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

Why Unity builds include all banks generated across all platforms ?

0 投票
Hi,

My problem is simple to explain :

Using Unity, I have two scenes (A and B) in my project. Each scene starts one different bank (bank_A and bank_B) and I generate windows and android banks through Wwise.

When I build only scene A for android, the build includes all banks I previously generated, that is to say bank_A windows + bank_A android + bank_B windows + bank_B android ... so it s sized really heavy compared to what it should size...

When I delete all banks in the asset folder except the one I need, The size of the build is what it should be.

 

Any ideas ?

 

Thanks
最新提问 11月 4, 2014 分类:General Discussion | 用户: Florent D. (470 分)

1个回答

+2 投票
 
已采纳
Hello!

This is a common Unity build issue.  Unity doesn't offer a way to select assets per platform so it includes everything in StreamingAssets.  You must have a BuildPlayer script.  Please read the help file provided with the Wwise/Unity integration, in the section "Build for target plaform".  There is an example of such build script provided.
最新回答 11月 4, 2014 用户: Mathieu J. (Audiokinetic) (7,120 分)
采纳于 11月 18, 2014 用户:Florent D.
Ok thx I'll check it out !!
...