I have a number of addressable assets (.wav files, etc) getting loaded on the fly for a couple of things, but some of the assets I also want to use in FMOD audio tables for use in programmer instruments.
Having them in both - does that mean (in terms of build size) they are being bundled up twice and taking up twice the space? Once for the addressable bundle and another time for the audio table bundle?
I wasn’t sure because, as a test, if I mark the assessable bundle as not ‘included in build’ - the asset will not be played on the build version when calling from an audio table reference - so I wasn’t sure if it was also no longer getting bundled for the audio table build bundle as well…
I likely can work around any way it works, but just wanted some clarification.
Unfortunately, I was not able to reproduce the issue you described by following the steps you provided. It is possible I am doing something differently. Could you please elaborate more on this if the issue persists?
Yes, using the same audio files as Unity addressables and in Audio Tables results in two copies of these files in the project. However, the impact on storage space may not exactly double since the Audio Table will be encoded in a compressed format.
Hope this helps, let me know if you have any questions.
This was VERY useful information, both regarding the memory information and (in particular) confirming that you did not see the same results with the addressable not getting loaded.
After getting your response, I immediately did more tests looking at other potential causes.
The issue is on my end (user error of course, sorry) - the addressable key I am referencing in my database (a 3rd party software system) is invalid if the assets are not included in the bundle. I had not turned these off for the build beforehand - I thought I was only changing memory loads and to test if builds would still work. With this change it was no longer getting a valid key to use as a reference for the audio table.
I apologize for the mistake on my end - but I really appreciate the help - I wasn’t sure where to start and now I know how to continue.