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
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
in General Discussion by Florent D. (470 points)

1 Answer

+2 votes
 
Best answer
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.
by Mathieu J. (Audiokinetic) (7.1k points)
selected by Florent D.
Ok thx I'll check it out !!
...